← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406486] Re: Suspending an instance fails when using vnic_type=direct

 

Looks like this is fixed in latest python-glanceclient:

https://github.com/openstack/python-
glanceclient/commit/db743e363544d2064107cbaedcf2f5fda4683b8a

via bug 1415935.

** Also affects: python-glanceclient
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1406486

Title:
  Suspending an instance fails when using vnic_type=direct

Status in OpenStack Compute (Nova):
  In Progress
Status in Python client library for Glance:
  New

Bug description:
  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'

  Nova compute log:
  http://paste.openstack.org/show/155141/

  Version
  ======
  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 to Reproduce
  ===============
  # neutron port-create tenant1-net1 --binding:vnic-type direct
  # nova boot --flavor m1.small --image rhel7 --nic port-id=<port-id> vm1
  # nova suspend <vm-id>
  # nova show <vm-id>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1406486/+subscriptions


References