An instance has the hostname of the host on which it is running.
The hostname is deleted when shelving. However, the hostname is not
recreated when unshelving.
This patch sets the hostname when unshelving.
Change-Id: I2e431718198321c46b9335e6fb7ab7be3943fab6
Closes-Bug: #1237868
(cherry picked from commit 9532e4ed969e47826801b14aff40dd9e356f2677)
Reviewed: https:/ /review. openstack. org/72521 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=298f052f1f3 2c7920ed6cb146a 7abc35ed371ae2
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 298f052f1f32c79 20ed6cb146a7abc 35ed371ae2
Author: fujioka yuuichi <email address hidden>
Date: Thu Oct 10 18:13:42 2013 +0900
fix missing host when unshelving
An instance has the hostname of the host on which it is running.
The hostname is deleted when shelving. However, the hostname is not
recreated when unshelving.
This patch sets the hostname when unshelving.
Change-Id: I2e431718198321 c46b9335e6fb7ab 7be3943fab6 26801b14aff40dd 9e356f2677)
Closes-Bug: #1237868
(cherry picked from commit 9532e4ed969e478