Fixes evacuate doesn't honor enable password conf for v3
The evacuate api should honor enable_instance_password conf
setting just like server creation, rebuild and rescue api does,
enables this flag will returning the instance password from
server API call evacuate, If the hypervisor does not support
password injection then the password returned will not be
correct, this patch just fixes v3 evacuate api, since change
return value of v2 could potentially break apps which depend
on this being returned.
This patch also changes the evacuate response code to 202 to
keep consistency with api.
Reviewed: https:/ /review. openstack. org/53775 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=73ee7346675 ffb38276583ac7b 941970f7037181
Committed: https:/
Submitter: Jenkins
Branch: master
commit 73ee7346675ffb3 8276583ac7b9419 70f7037181
Author: guohliu <email address hidden>
Date: Thu Oct 24 21:00:17 2013 +0800
Fixes evacuate doesn't honor enable password conf for v3
The evacuate api should honor enable_ instance_ password conf
setting just like server creation, rebuild and rescue api does,
enables this flag will returning the instance password from
server API call evacuate, If the hypervisor does not support
password injection then the password returned will not be
correct, this patch just fixes v3 evacuate api, since change
return value of v2 could potentially break apps which depend
on this being returned.
This patch also changes the evacuate response code to 202 to
keep consistency with api.
DocImpact 84e2040e175a042 5de3c0fafba
Change-Id: I2b9e5a067323ca
Closes-Bug: #1244203