Hi Ahmad,

Thanks for the reply. I have no VMs in this setup. I guessed that storage
removal option should be allowed after moving it into the maintenance mode,
but this operations fails and it is stuck in "Up" state :-)

-Vladimir


-----Original Message-----
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: Wednesday, March 20, 2013 11:02 PM
To: cloudstack-...@incubator.apache.org
Subject: Re: How to remove Primary Storage / NPE in Maintenance mode

On Mar 20, 2013, at 4:59 PM, Vladimir Popovski <vladi...@zadarastorage.com>
wrote:

> Hi All,
>
>
>
> Is there a way to remove the Primary Storage?
>
>
>
> I’m running a clean devcloud on a VM with almost the latest code from
> the Master branch (commit ba69ce0c8911eb7186774d2ddbae97483e65d48c from
> 3/19).
>
>
>
> The only UI options I see for 2 Primary Storage instances I’ve added are:
>
> -          Enable Maintenance mode
>
> -          Edit (only allows storage tag edits)
>
>
>
> States of both Storage elements are Up (one is NetworkFilesystem,
> another - PreSetup). When I select a Maintenance mode it fails with
> the NullPointerException. It looks very similar to CLOUDSTACK-1635.
>
>
>
> Thanks,
>
> -Vladimir


If your primary storage were able to successfully transition into
maintenance mode, you'd be able to remove it. You'll need a second PS
attached to the cluster, so vm's can migrate offe storage that's going into
maintenance OR disable the zone and nuke the system vm's power down the
guest vm's wait for storage cleanup to run, then try the process of putting
the storage into maintenance and removing it.

Reply via email to