You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Bryan Tiang <br...@hotmail.com> on 2024/01/16 04:52:19 UTC

Unable To Delete Secondary Storage

Hi Community,

We're trying to remove secondary storage but we need to delete the existing templates first
However, we're receiving this error Failed to delete template

Error message from management server
Jan 16 11:23:49 N2NCLOUDMY1MG01 java[87629]: ERROR [o.a.c.s.i.BaseImageStoreDriverImpl] (API-Job-Executor-1:ctx-259f8594 job-9377 ctx-9f923096) (logid:c104e949) No remote endpoint to send command, check if host or ssvm is down?

Ultimately we're trying to remove the zone, therefore we've also removed hosts associated to this zone


Regards,
Bryan

Re: Unable To Delete Secondary Storage

Posted by Daan Hoogland <da...@gmail.com>.
when all volumes templates and snapshots are removed you should be able to
remove a sector, but it can be very troublesome indeed. when removing a
zone, also removing physical network can block it because of IP addresses
in use and such. Hope you got your job done ;)

On Thu, Jan 18, 2024 at 4:47 AM Bryan Tiang <br...@hotmail.com>
wrote:

> Morning All,
>
> Just to update, we managed to resolve the issue, but it had to be done
> manually from the db.
>
> Manually alter DB to remove templates from old zone
>
> Successfully removed old templates > Old Secondary Storage > Old Zone
>
> Changed "state" to "inactive" and added date & time to "removed"
>
>
> Regards,
> Bryan
> On 16 Jan 2024 at 12:53 PM +0800, Bryan Tiang <br...@hotmail.com>,
> wrote:
>
> Hi Community,
>
> We're trying to remove secondary storage but we need to delete the
> existing templates first
> However, we're receiving this error Failed to delete template
>
> Error message from management server
> Jan 16 11:23:49 N2NCLOUDMY1MG01 java[87629]: ERROR
> [o.a.c.s.i.BaseImageStoreDriverImpl] (API-Job-Executor-1:ctx-259f8594
> job-9377 ctx-9f923096) (logid:c104e949) No remote endpoint to send command,
> check if host or ssvm is down?
>
> Ultimately we're trying to remove the zone, therefore we've also removed
> hosts associated to this zone
>
> <WhatsApp Image 2024-01-16 at 10.31.14 AM.jpeg>
>
> Regards,
> Bryan
>
>

-- 
Daan

Re: Unable To Delete Secondary Storage

Posted by Bryan Tiang <br...@hotmail.com>.
Morning All,

Just to update, we managed to resolve the issue, but it had to be done manually from the db.

Manually alter DB to remove templates from old zone

Successfully removed old templates > Old Secondary Storage > Old Zone

Changed "state" to "inactive" and added date & time to "removed"


Regards,
Bryan
On 16 Jan 2024 at 12:53 PM +0800, Bryan Tiang <br...@hotmail.com>, wrote:
> Hi Community,
>
> We're trying to remove secondary storage but we need to delete the existing templates first
> However, we're receiving this error Failed to delete template
>
> Error message from management server
> Jan 16 11:23:49 N2NCLOUDMY1MG01 java[87629]: ERROR [o.a.c.s.i.BaseImageStoreDriverImpl] (API-Job-Executor-1:ctx-259f8594 job-9377 ctx-9f923096) (logid:c104e949) No remote endpoint to send command, check if host or ssvm is down?
>
> Ultimately we're trying to remove the zone, therefore we've also removed hosts associated to this zone
>
> <WhatsApp Image 2024-01-16 at 10.31.14 AM.jpeg>
>
> Regards,
> Bryan