[
https://issues.apache.org/jira/browse/CLOUDSTACK-9682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15760469#comment-15760469
]
ASF GitHub Bot commented on CLOUDSTACK-9682:
--------------------------------------------
GitHub user anshul1886 opened a pull request:
https://github.com/apache/cloudstack/pull/1838
CLOUDSTACK-9682: Block VM migration to a storage which is in maintain…
…enece mode. If
the destination pool is in maintenance mode do not allow a volume to be
migrated to
the storage pool. Fixed it for volume migration and vm migration with
volume.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-9682
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1838.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 #1838
----
commit 947ae2568142c6c3c8dd362c05b442a7b06bfb96
Author: Anshul Gangwar <[email protected]>
Date: 2015-04-20T07:43:48Z
CLOUDSTACK-9682: Block VM migration to a storage which is in maintainenece
mode. If
the destination pool is in maintenance mode do not allow a volume to be
migrated to
the storage pool. Fixed it for volume migration and vm migration with
volume.
----
> Block VM migration to a storage which is in maintainence mode
> -------------------------------------------------------------
>
> Key: CLOUDSTACK-9682
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9682
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Anshul Gangwar
> Assignee: Anshul Gangwar
>
> Description
> Put vmfs storage pool (cluster wide/zone wide) in maintenance mode and try to
> migrate a VM through api call to that storage pool
> Steps
> 1. Put one of the storage pool in a cluster in maintenance mode
> 2. From api call, migrate VM from one cluster to another to the above storage
> pool
> 3. Even though the storage pool is in maintenance mode, the migration task is
> initiated and completed without any error
> Expectation
> CloudStack should block these kind of migration
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)