GitHub user ProjectMoon reopened a pull request:
https://github.com/apache/cloudstack/pull/1559
CLOUDSTACK-9280: System VM volumes can be expunged if no SSVM exists.
This commit adds a special SSVM endpoint which simply returns true for
all operations sent to it, without actually doing anything. This
allows for destroyed volumes of system VMs to be expunged when there
are no hosts (and thus no system VMs) remaining to handle the volume
destruction.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greenqloud/cloudstack
pr-volume-expunge-fix-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1559.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1559
----
commit e1bc3a61933f4fd5a61b802b62ea19db5234dcbd
Author: jeff <[email protected]>
Date: 2016-02-08T16:30:03Z
CLOUDSTACK-9280: System VM volumes can be expunged if no SSVM exists.
This commit adds a special SSVM endpoint which simply returns true for
all operations sent to it, without actually doing anything. This
allows for destroyed volumes of system VMs to be expunged when there
are no hosts (and thus no system VMs) remaining to handle the volume
destruction.
commit efe687548bdf5d8ab8dac37a36e34c4fe655dc88
Author: jeff <[email protected]>
Date: 2016-10-07T15:39:12Z
More fixes to allow volume expunging when primary storage is missing.
The volume expunger is able to handle volumes which have no primary
storage specified, but when loading these volumes, it is possible that
a volume is missing the primary storage already which can cause an
exception to be thrown. This commit changes this behavior so that when
loading a volume to be expunged, not being able to find a primary data
store is considered a warning rather than an exception.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---