commit b269aa4d7f40f259642474227e9258e982155f0d
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 25 13:17:56 2016 -0400
Fix host-evacuate-live for 2.25 microversion
Change I01b22593724616bc0a7793c509ecabf095d6927d made the
live_migrate() method in the ServerManager conditional on the
API version requested. This broke the host-evacuate-live
command which is calling ServerManager.live_migrate() directly
with one too many arguments for the v2.25 version of the method.
This updates the host-evacuate-live shell to behave like the
live-migration method and be aware of the API version when
calling the live_migrate() method.
Related to blueprint making-live-migration-api-friendly
NOTE(mriedem): The conflict is due to
93913c84b67d3aefe79bef106fbe9a83f0bcdb71 not being in stable/mitaka.
Also note that this is not for a blueprint, it's just related
to a blueprint that landed in mitaka but introduced a regression
here when support was added for that blueprint with the 2.25
microversion.
Change-Id: I4dbeb6ebe03f03799b706be2d787d21484b5c664
Closes-Bug: #1561938
(cherry picked from commit 90fbbb29562a905e8f70badf2c31cfb4ec6841ed)
Reviewed: https:/ /review. openstack. org/298988 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=b269aa4d7f4 0f259642474227e 9258e982155f0d
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit b269aa4d7f40f25 9642474227e9258 e982155f0d
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 25 13:17:56 2016 -0400
Fix host-evacuate-live for 2.25 microversion
Change I01b22593724616 bc0a7793c509eca bf095d6927d made the live_migrate( ) directly
live_migrate() method in the ServerManager conditional on the
API version requested. This broke the host-evacuate-live
command which is calling ServerManager.
with one too many arguments for the v2.25 version of the method.
This updates the host-evacuate-live shell to behave like the
live-migration method and be aware of the API version when
calling the live_migrate() method.
Related to blueprint making- live-migration- api-friendly
Conflicts:
novaclient /v2/contrib/ host_evacuate_ live.py
NOTE(mriedem): The conflict is due to d3aefe79bef106f be9a83f0bcdb71 not being in stable/mitaka.
93913c84b67
Also note that this is not for a blueprint, it's just related
to a blueprint that landed in mitaka but introduced a regression
here when support was added for that blueprint with the 2.25
microversion.
Change-Id: I4dbeb6ebe03f03 799b706be2d787d 21484b5c664 e8f70badf2c31cf b4ec6841ed)
Closes-Bug: #1561938
(cherry picked from commit 90fbbb29562a905