Description of problem: When launching an instance with a pre-created port with binding:vnic_type='direct' and suspending the instance fails with error 'NoneType' object has no attribute 'encode' Version-Release number of selected component (if applicable): openstack-nova-common-2014.2.1-3.el7ost.noarch openstack-nova-compute-2014.2.1-3.el7ost.noarch python-novaclient-2.20.0-1.el7ost.noarch python-nova-2014.2.1-3.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. neutron port-create tenant1-net1 --binding:vnic-type direct 2. nova boot --flavor m1.small --image rhel7 --nic port-id=<port-id> vm1 3. nova suspend <vm-id> 4. nova show <vm-id> Actual results: Expected results: Additional info:
Should backport to stable/juno and get into rhos6/A3
I backported the change from master to Juno: https://review.openstack.org/#/c/164713/
My backport to Juno has been merged: https://review.openstack.org/#/c/164713/ I expected it to be included in OSP 6 thanks to regular rebases, but I missed the fact that there are no more Juno releases :-/ 2014.2.3 (April 2015) is the last release, whereas my change was merged in May 2015. I ported the change downstream to OSP 6: https://code.engineering.redhat.com/gerrit/#/c/59767/ Note: OSP 7 has already the fix.
openstack-nova-2014.2.3-37.el7ost includes the backport of the bugfix.
Liberty Seems to be fine. When trying to test in Juno - got BZ#1293266.
Managed to install Juno through the workaround mentioned in BZ#1293266. Code has been properly backported to package: Name : openstack-nova Version : 2014.2.3 Release : 42.el7ost Repo : rhelosp-6.0-puddle/x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-0013.html