← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1761487] [NEW] Nova, Unexpected API Error while creating VM

 

Public bug reported:

While trying to launch new instance on newly installed test OpenStack I
get this error:

Unexpected API Error. Please report this at
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.Unauthorized'> (HTTP 500)
(Request-ID: req-70a6cb07-72d9-41f3-80aa-ae6c230c62da)

The same error from command line:

openstack server create --flavor Basic --image cirros \
>   --nic net-id=f5f0b96c-ab0d-4025-aca3-d2de8f0e6139 --security-group default \
>   --key-name demo selfservice-instance
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.Unauthorized'> (HTTP 500) (Request-ID: req-3050043e-0baa-471b-8c64-3015b38cef56)

Openstack: Queens

root@controller:~# dpkg -l | grep nova
ii  nova-api                            2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - API frontend
ii  nova-common                         2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - common files
ii  nova-conductor                      2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - conductor service
ii  nova-consoleauth                    2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                     2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - NoVNC proxy
ii  nova-placement-api                  2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - placement API frontend
ii  nova-scheduler                      2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - virtual machine scheduler
ii  python-nova                         2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute Python libraries
ii  python-novaclient                   2:9.1.1-0ubuntu1~cloud0                    all          client library for OpenStack Compute API - Python 2.7

Libvirt + KVM

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: api nova

** Attachment added: "nova-api.log"
   https://bugs.launchpad.net/bugs/1761487/+attachment/5102697/+files/nova-api.log

-- 
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/1761487

Title:
  Nova, Unexpected API Error while creating VM

Status in OpenStack Compute (nova):
  New

Bug description:
  While trying to launch new instance on newly installed test OpenStack
  I get this error:

  Unexpected API Error. Please report this at
  http://bugs.launchpad.net/nova/ and attach the Nova API log if
  possible. <class 'neutronclient.common.exceptions.Unauthorized'> (HTTP
  500) (Request-ID: req-70a6cb07-72d9-41f3-80aa-ae6c230c62da)

  The same error from command line:

  openstack server create --flavor Basic --image cirros \
  >   --nic net-id=f5f0b96c-ab0d-4025-aca3-d2de8f0e6139 --security-group default \
  >   --key-name demo selfservice-instance
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'neutronclient.common.exceptions.Unauthorized'> (HTTP 500) (Request-ID: req-3050043e-0baa-471b-8c64-3015b38cef56)

  Openstack: Queens

  root@controller:~# dpkg -l | grep nova
  ii  nova-api                            2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - API frontend
  ii  nova-common                         2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - common files
  ii  nova-conductor                      2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - conductor service
  ii  nova-consoleauth                    2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                     2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - NoVNC proxy
  ii  nova-placement-api                  2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - placement API frontend
  ii  nova-scheduler                      2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                         2:17.0.1-0ubuntu1~cloud0                   all          OpenStack Compute Python libraries
  ii  python-novaclient                   2:9.1.1-0ubuntu1~cloud0                    all          client library for OpenStack Compute API - Python 2.7

  Libvirt + KVM

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


Follow ups