If ip address is provided when running nova boot, nova compute
will invoke neutron client to create a port. However, the ip
address parameter is an IPAddress object so neutron client will
fail to send the request to neutron server. Transform IPAddress
object to string to address this issue.
Reviewed: https:/ /review. openstack. org/158435 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=86efb1dac22 4c94ff9888cd7c1 5e3c3d96519df8
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 86efb1dac224c94 ff9888cd7c15e3c 3d96519df8
Author: zhiyuan_cai <email address hidden>
Date: Fri Jan 23 18:21:17 2015 +0800
Transform IPAddress to string when creating port
If ip address is provided when running nova boot, nova compute
will invoke neutron client to create a port. However, the ip
address parameter is an IPAddress object so neutron client will
fail to send the request to neutron server. Transform IPAddress
object to string to address this issue.
Conflicts: tests/unit/ network/ test_neutronv2. py
nova/
Change-Id: I858cca47574879 5aa2532f32bfe0f 1443b30966f bf55004517b5d9a b28968190a)
Closes-Bug: #1408529
(cherry picked from commit aae858a246e20b1