vmutils: set all *DataRoot paths to the same value
In order to maintain consistency with create_vm, update_vm
should also set the *DataRoot paths to the same given value.
Furthermore, this will be required for planned VMs, in order to
prevent having instances running on different compute nodes and
different storages to have some of the *DataRoot paths pointing to
the old compute node.
Partial-Bug: #1663238
Change-Id: Ic9248f44de6ff097b8080a80fd3212eeef6712f6
(cherry picked from commit 133271f250aeff69792e9fba078a99034a1daf4b)
Reviewed: https:/ /review. openstack. org/438366 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=0795dc8818c 21903697137e617 96c3eae5c2fcb4
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 0795dc8818c2190 3697137e61796c3 eae5c2fcb4
Author: Claudiu Belu <email address hidden>
Date: Thu Feb 9 01:07:08 2017 +0200
vmutils: set all *DataRoot paths to the same value
In order to maintain consistency with create_vm, update_vm
should also set the *DataRoot paths to the same given value.
Furthermore, this will be required for planned VMs, in order to
prevent having instances running on different compute nodes and
different storages to have some of the *DataRoot paths pointing to
the old compute node.
Partial-Bug: #1663238
Change-Id: Ic9248f44de6ff0 97b8080a80fd321 2eeef6712f6 9792e9fba078a99 034a1daf4b)
(cherry picked from commit 133271f250aeff6