← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1561337] [NEW] Unable to launch instance

 

Public bug reported:

I installed Openstack Liberty using the official guide for ubuntu 14.01.
I am not unable to launch instance.

Here's the log from nova-api.log

========================
2016-03-24 10:12:53.412 14413 INFO nova.osapi_compute.wsgi.server [req-ec45686b-ad24-4949-83bb-42b3ed336b94 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/os-quota-sets/b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 568 time: 0.0969541

2016-03-24 10:12:57.869 14412 INFO nova.osapi_compute.wsgi.server [req-dcc90aa0-618f-4328-ace0-0e50d3a7bb53 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/servers/detail?all_tenants=True&tenant_id=b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 211 time: 3.3184321
2016-03-24 10:12:59.651 14412 INFO nova.osapi_compute.wsgi.server [req-95cb7922-c703-4036-ba13-005dff79741e 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0333679
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] Unexpected exception in API method
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     **create_kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-3fac70af-c83e-457d-9acb-d8e969f0a05c)
2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions 
2016-03-24 10:13:14.639 14413 INFO nova.api.openstack.wsgi [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.BadRequest'>
2016-03-24 10:13:14.690 14413 INFO nova.osapi_compute.wsgi.server [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "POST /v2/b3338b63521d4fb7a87011108e9b1107/servers HTTP/1.1" status: 500 len: 441 time: 14.6563060
2016-03-24 10:13:17.813 14413 INFO nova.osapi_compute.wsgi.server [req-c0bf32ee-c0f7-4125-8596-aaad87d1bf99 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/servers/detail?limit=21&project_id=b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 211 time: 0.4864211
2016-03-24 10:13:18.092 14413 INFO nova.osapi_compute.wsgi.server [req-5f44ff33-cebd-48d2-8625-7ebf9df47c4c 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0551639
2016-03-24 10:13:18.214 14413 INFO nova.osapi_compute.wsgi.server [req-80589822-23b0-4fc0-b1d3-7e0c16af2b54 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0580599
2016-03-24 10:13:18.267 14413 INFO nova.osapi_compute.wsgi.server [req-a72ae3eb-1659-4b87-b1b9-8ebad8ae2bff 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0492439
====================================

dpkg -l | grep novaroot@controller:~# dpkg -l | grep nova
ii  nova-api                                 2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - API frontend
ii  nova-cert                                2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - certificate management
ii  nova-common                              2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - common files
ii  nova-conductor                           2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - conductor service
ii  nova-consoleauth                         2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                          2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - NoVNC proxy
ii  nova-scheduler                           2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - virtual machine scheduler
ii  python-nova                              2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute Python libraries
ii  python-novaclient                        2:2.30.1-1~cloud0                     all          client library for OpenStack Compute API
root@controller:~#


Any clue what's going on?

Thanks.

** 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/1561337

Title:
  Unable to launch instance

Status in OpenStack Compute (nova):
  New

Bug description:
  I installed Openstack Liberty using the official guide for ubuntu
  14.01. I am not unable to launch instance.

  Here's the log from nova-api.log

  ========================
  2016-03-24 10:12:53.412 14413 INFO nova.osapi_compute.wsgi.server [req-ec45686b-ad24-4949-83bb-42b3ed336b94 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/os-quota-sets/b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 568 time: 0.0969541

  2016-03-24 10:12:57.869 14412 INFO nova.osapi_compute.wsgi.server [req-dcc90aa0-618f-4328-ace0-0e50d3a7bb53 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/servers/detail?all_tenants=True&tenant_id=b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 211 time: 3.3184321
  2016-03-24 10:12:59.651 14412 INFO nova.osapi_compute.wsgi.server [req-95cb7922-c703-4036-ba13-005dff79741e 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0333679
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] Unexpected exception in API method
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-3fac70af-c83e-457d-9acb-d8e969f0a05c)
  2016-03-24 10:13:14.307 14413 ERROR nova.api.openstack.extensions 
  2016-03-24 10:13:14.639 14413 INFO nova.api.openstack.wsgi [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneclient.exceptions.BadRequest'>
  2016-03-24 10:13:14.690 14413 INFO nova.osapi_compute.wsgi.server [req-2efac7ae-b1ae-475c-bb03-ab7f28b8ac3d 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "POST /v2/b3338b63521d4fb7a87011108e9b1107/servers HTTP/1.1" status: 500 len: 441 time: 14.6563060
  2016-03-24 10:13:17.813 14413 INFO nova.osapi_compute.wsgi.server [req-c0bf32ee-c0f7-4125-8596-aaad87d1bf99 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/servers/detail?limit=21&project_id=b3338b63521d4fb7a87011108e9b1107 HTTP/1.1" status: 200 len: 211 time: 0.4864211
  2016-03-24 10:13:18.092 14413 INFO nova.osapi_compute.wsgi.server [req-5f44ff33-cebd-48d2-8625-7ebf9df47c4c 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0551639
  2016-03-24 10:13:18.214 14413 INFO nova.osapi_compute.wsgi.server [req-80589822-23b0-4fc0-b1d3-7e0c16af2b54 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0580599
  2016-03-24 10:13:18.267 14413 INFO nova.osapi_compute.wsgi.server [req-a72ae3eb-1659-4b87-b1b9-8ebad8ae2bff 55db47d40b91474399879d1003883561 b3338b63521d4fb7a87011108e9b1107 - - -] 192.168.1.213 "GET /v2/b3338b63521d4fb7a87011108e9b1107/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0492439
  ====================================

  dpkg -l | grep novaroot@controller:~# dpkg -l | grep nova
  ii  nova-api                                 2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - API frontend
  ii  nova-cert                                2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - certificate management
  ii  nova-common                              2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - common files
  ii  nova-conductor                           2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - conductor service
  ii  nova-consoleauth                         2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                          2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                           2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                              2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute Python libraries
  ii  python-novaclient                        2:2.30.1-1~cloud0                     all          client library for OpenStack Compute API
  root@controller:~#


  Any clue what's going on?

  Thanks.

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


Follow ups