← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1668855] [NEW] Creating instance in Ocata causes Unexpected API Error: TypeError: 'NoneType' object is not iterable

 

Public bug reported:

Description
===========
Failure to launch an instance after following the Ubuntu Ocata install guide (probably I've made some mistake...). 

Steps to reproduce
==================
* Follow Ubuntu Ocata install guide.
* Using linuxbridge selfservice networks and VXLAN (vanilla guide config)
* I tried to deploy an instance, no joy:

    $ openstack server create --flavor m1.nano --image cirros --nic net-id=5d4a8c33-9b13-454e-9978-fb57d08fb29f --security-group default --key-name mykey selfservice-instance
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-20d98ad0-8af1-4cef-8de0-c784c8401e7f)


Environment
===========
1. Exact version of OpenStack you are running: Ocata
$ dpkg -l | grep nova
ii  nova-api                           2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - API frontend
ii  nova-common                        2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - common files
ii  nova-conductor                     2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - conductor service
ii  nova-consoleauth                   2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                    2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - NoVNC proxy
ii  nova-scheduler                     2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - virtual machine scheduler
ii  python-nova                        2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute Python libraries
ii  python-novaclient                  2:7.1.0-0ubuntu1~cloud0               all          client library for OpenStack Compute API - Python 2.7

2. Which hypervisor: Libvirt + KVM
$ dpkg -l | grep kvm
ii  nova-compute-kvm                   2:15.0.0-0ubuntu1~cloud0            all          OpenStack Compute - compute node (KVM)
ii  qemu-kvm                           1:2.8+dfsg-2ubuntu1~cloud2          amd64        QEMU Full virtualization
$ dpkg -l | grep libvirt
ii  libvirt-bin                        2.5.0-3ubuntu2~cloud0               amd64        programs for the libvirt library
ii  libvirt-clients                    2.5.0-3ubuntu2~cloud0               amd64        Programs for the libvirt library
ii  libvirt-daemon                     2.5.0-3ubuntu2~cloud0               amd64        Virtualization daemon
ii  libvirt-daemon-system              2.5.0-3ubuntu2~cloud0               amd64        Libvirt daemon configuration files
ii  libvirt0:amd64                     2.5.0-3ubuntu2~cloud0               amd64        library for interfacing with different virtualization systems
ii  nova-compute-libvirt               2:15.0.0-0ubuntu1~cloud0            all          OpenStack Compute - compute node libvirt support
ii  python-libvirt                     3.0.0-2~cloud0                      amd64        libvirt Python bindings

2. Which storage type did you use? 
None

3. Which networking type did you use?
Neutron with linuxbridge, VXLAN


Logs & Configs
==============

nova-api log:
http://paste.openstack.org/show/600880/

openstack --debug command output:
http://paste.openstack.org/show/600881/

** Affects: nova
     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/1668855

Title:
  Creating instance in Ocata causes Unexpected API Error: TypeError:
  'NoneType' object is not iterable

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Failure to launch an instance after following the Ubuntu Ocata install guide (probably I've made some mistake...). 

  Steps to reproduce
  ==================
  * Follow Ubuntu Ocata install guide.
  * Using linuxbridge selfservice networks and VXLAN (vanilla guide config)
  * I tried to deploy an instance, no joy:

      $ openstack server create --flavor m1.nano --image cirros --nic net-id=5d4a8c33-9b13-454e-9978-fb57d08fb29f --security-group default --key-name mykey selfservice-instance
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-20d98ad0-8af1-4cef-8de0-c784c8401e7f)

  
  Environment
  ===========
  1. Exact version of OpenStack you are running: Ocata
  $ dpkg -l | grep nova
  ii  nova-api                           2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - API frontend
  ii  nova-common                        2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - common files
  ii  nova-conductor                     2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - conductor service
  ii  nova-consoleauth                   2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                    2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                     2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                        2:15.0.0-0ubuntu1~cloud0              all          OpenStack Compute Python libraries
  ii  python-novaclient                  2:7.1.0-0ubuntu1~cloud0               all          client library for OpenStack Compute API - Python 2.7

  2. Which hypervisor: Libvirt + KVM
  $ dpkg -l | grep kvm
  ii  nova-compute-kvm                   2:15.0.0-0ubuntu1~cloud0            all          OpenStack Compute - compute node (KVM)
  ii  qemu-kvm                           1:2.8+dfsg-2ubuntu1~cloud2          amd64        QEMU Full virtualization
  $ dpkg -l | grep libvirt
  ii  libvirt-bin                        2.5.0-3ubuntu2~cloud0               amd64        programs for the libvirt library
  ii  libvirt-clients                    2.5.0-3ubuntu2~cloud0               amd64        Programs for the libvirt library
  ii  libvirt-daemon                     2.5.0-3ubuntu2~cloud0               amd64        Virtualization daemon
  ii  libvirt-daemon-system              2.5.0-3ubuntu2~cloud0               amd64        Libvirt daemon configuration files
  ii  libvirt0:amd64                     2.5.0-3ubuntu2~cloud0               amd64        library for interfacing with different virtualization systems
  ii  nova-compute-libvirt               2:15.0.0-0ubuntu1~cloud0            all          OpenStack Compute - compute node libvirt support
  ii  python-libvirt                     3.0.0-2~cloud0                      amd64        libvirt Python bindings

  2. Which storage type did you use? 
  None

  3. Which networking type did you use?
  Neutron with linuxbridge, VXLAN

  
  Logs & Configs
  ==============

  nova-api log:
  http://paste.openstack.org/show/600880/

  openstack --debug command output:
  http://paste.openstack.org/show/600881/

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


Follow ups