Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error: Unable to launch instance named

Hi,

I am getting below error when launching the instance in the liberty, so please advice the solution to these problems. ==> nova-api.log <== 2016-04-10 21:01:42.503 16544 INFO nova.osapi_compute.wsgi.server [req-d5ea4b83-4534-4b32-8455-7a040d8d2483 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0542819 2016-04-10 21:01:42.548 16544 INFO nova.osapi_compute.wsgi.server [req-df85e181-cbef-4297-93c2-3a687260a2e4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0369990 2016-04-10 21:01:42.740 16544 INFO nova.osapi_compute.wsgi.server [req-c89428f2-279a-4361-9bbf-5725d750dd9a 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0101149 2016-04-10 21:01:43.045 16544 INFO nova.osapi_compute.wsgi.server [req-45a2252a-c4c5-4489-9f26-d730338bee28 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0722170 2016-04-10 21:01:43.171 16544 INFO nova.osapi_compute.wsgi.server [req-4b664bd9-dd18-4b19-bc07-6dc7667d7b2b 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits HTTP/1.1" status: 200 len: 708 time: 0.0335610 2016-04-10 21:01:52.196 16544 INFO nova.osapi_compute.wsgi.server [req-5b8a85ba-bf21-4ff1-b006-62556af7105d 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0444050 2016-04-10 21:01:52.235 16544 INFO nova.osapi_compute.wsgi.server [req-c1256297-905c-4bcc-a244-094088925ca2 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0329561 2016-04-10 21:01:52.457 16544 INFO nova.osapi_compute.wsgi.server [req-b1781d54-036b-4d26-a5f8-fb811d87b5d4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-quota-sets/358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 568 time: 0.0196421 2016-04-10 21:01:52.567 16544 INFO nova.osapi_compute.wsgi.server [req-a396bb73-5d45-4e4f-a3fc-27953815b7af 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?all_tenants=True&tenant_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.1010180 2016-04-10 21:01:52.588 16544 INFO nova.osapi_compute.wsgi.server [req-792a2d5d-f50c-4383-8474-c14c5a5a3c24 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0115221 2016-04-10 21:01:52.892 16544 INFO nova.osapi_compute.wsgi.server [req-0b6eebc3-dc23-4c97-b6a5-d105fbd914ab 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0718129 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] Unexpected exception in API method 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return f(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions *create_kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions rv = f(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions pci_request_info, requested_networks) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions authenticated=False, log=False) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return self.request(url, 'POST', *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions raise exceptions.from_response(resp, method, url) 2016-04-10 21:01:53.085 16544 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-b2eb289b-9b55-4aba-a710-813de039d2c0) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions 2016-04-10 21:01:53.087 16544 INFO nova.api.openstack.wsgi [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 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-04-10 21:01:53.088 16544 INFO nova.osapi_compute.wsgi.server [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "POST /v2/358453d87f6248ddb1d7333ad6f589ce/servers HTTP/1.1" status: 500 len: 441 time: 0.1857409 2016-04-10 21:01:53.201 16544 INFO nova.osapi_compute.wsgi.server [req-0fe12b93-f475-44fc-9257-fed8e36717b8 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?limit=21&project_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.0853679 2016-04-10 21:01:53.308 16544 INFO nova.osapi_compute.wsgi.server [req-3c896757-9dc6-48ef-bdeb-339b226b148e 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0699680 2016-04-10 21:01:53.375 16544 INFO nova.osapi_compute.wsgi.server [req-358b52e7-affb-48ab-b33e-d248ee7764e6 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0258491 2016-04-10 21:01:53.445 16544 INFO nova.osapi_compute.wsgi.server [req-4e9a0361-1e65-466d-a3d3-2cb76ea08887 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0584290

Error: Unable to launch instance named

Hi,

I am getting below error when launching the instance in the liberty, so please advice the solution to these problems. ==> nova-api.log <==

2016-04-10 21:01:42.503 16544 INFO nova.osapi_compute.wsgi.server [req-d5ea4b83-4534-4b32-8455-7a040d8d2483 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0542819
2016-04-10 21:01:42.548 16544 INFO nova.osapi_compute.wsgi.server [req-df85e181-cbef-4297-93c2-3a687260a2e4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0369990
2016-04-10 21:01:42.740 16544 INFO nova.osapi_compute.wsgi.server [req-c89428f2-279a-4361-9bbf-5725d750dd9a 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0101149
2016-04-10 21:01:43.045 16544 INFO nova.osapi_compute.wsgi.server [req-45a2252a-c4c5-4489-9f26-d730338bee28 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0722170
2016-04-10 21:01:43.171 16544 INFO nova.osapi_compute.wsgi.server [req-4b664bd9-dd18-4b19-bc07-6dc7667d7b2b 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits HTTP/1.1" status: 200 len: 708 time: 0.0335610
2016-04-10 21:01:52.196 16544 INFO nova.osapi_compute.wsgi.server [req-5b8a85ba-bf21-4ff1-b006-62556af7105d 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0444050
2016-04-10 21:01:52.235 16544 INFO nova.osapi_compute.wsgi.server [req-c1256297-905c-4bcc-a244-094088925ca2 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0329561
2016-04-10 21:01:52.457 16544 INFO nova.osapi_compute.wsgi.server [req-b1781d54-036b-4d26-a5f8-fb811d87b5d4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-quota-sets/358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 568 time: 0.0196421
2016-04-10 21:01:52.567 16544 INFO nova.osapi_compute.wsgi.server [req-a396bb73-5d45-4e4f-a3fc-27953815b7af 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?all_tenants=True&tenant_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.1010180
2016-04-10 21:01:52.588 16544 INFO nova.osapi_compute.wsgi.server [req-792a2d5d-f50c-4383-8474-c14c5a5a3c24 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0115221
2016-04-10 21:01:52.892 16544 INFO nova.osapi_compute.wsgi.server [req-0b6eebc3-dc23-4c97-b6a5-d105fbd914ab 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0718129
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] Unexpected exception in API method
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return f(args, *kwargs)
f(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(args, *kwargs)
func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(args, *kwargs)
func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     *create_kwargs)
**create_kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     rv = f(args, *kwargs)
f(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', *kwargs)
**kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(args, *kwargs)
func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2016-04-10 21:01:53.085 16544 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-b2eb289b-9b55-4aba-a710-813de039d2c0)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions
2016-04-10 21:01:53.087 16544 INFO nova.api.openstack.wsgi [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 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'="">
'keystoneclient.exceptions.BadRequest'>
2016-04-10 21:01:53.088 16544 INFO nova.osapi_compute.wsgi.server [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "POST /v2/358453d87f6248ddb1d7333ad6f589ce/servers HTTP/1.1" status: 500 len: 441 time: 0.1857409
2016-04-10 21:01:53.201 16544 INFO nova.osapi_compute.wsgi.server [req-0fe12b93-f475-44fc-9257-fed8e36717b8 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?limit=21&project_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.0853679
2016-04-10 21:01:53.308 16544 INFO nova.osapi_compute.wsgi.server [req-3c896757-9dc6-48ef-bdeb-339b226b148e 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0699680
2016-04-10 21:01:53.375 16544 INFO nova.osapi_compute.wsgi.server [req-358b52e7-affb-48ab-b33e-d248ee7764e6 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0258491
2016-04-10 21:01:53.445 16544 INFO nova.osapi_compute.wsgi.server [req-4e9a0361-1e65-466d-a3d3-2cb76ea08887 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0584290

0.0584290

Error: Unable to launch instance named

Hi,

I am getting below error when launching the instance in the liberty, so please advice the solution to these problems. nova-api.log

2016-04-10 21:01:42.503 16544 INFO nova.osapi_compute.wsgi.server [req-d5ea4b83-4534-4b32-8455-7a040d8d2483 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0542819
2016-04-10 21:01:42.548 16544 INFO nova.osapi_compute.wsgi.server [req-df85e181-cbef-4297-93c2-3a687260a2e4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0369990
2016-04-10 21:01:42.740 16544 INFO nova.osapi_compute.wsgi.server [req-c89428f2-279a-4361-9bbf-5725d750dd9a 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0101149
2016-04-10 21:01:43.045 16544 INFO nova.osapi_compute.wsgi.server [req-45a2252a-c4c5-4489-9f26-d730338bee28 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0722170
2016-04-10 21:01:43.171 16544 INFO nova.osapi_compute.wsgi.server [req-4b664bd9-dd18-4b19-bc07-6dc7667d7b2b 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits HTTP/1.1" status: 200 len: 708 time: 0.0335610
2016-04-10 21:01:52.196 16544 INFO nova.osapi_compute.wsgi.server [req-5b8a85ba-bf21-4ff1-b006-62556af7105d 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0444050
2016-04-10 21:01:52.235 16544 INFO nova.osapi_compute.wsgi.server [req-c1256297-905c-4bcc-a244-094088925ca2 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0329561
2016-04-10 21:01:52.457 16544 INFO nova.osapi_compute.wsgi.server [req-b1781d54-036b-4d26-a5f8-fb811d87b5d4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-quota-sets/358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 568 time: 0.0196421
2016-04-10 21:01:52.567 16544 INFO nova.osapi_compute.wsgi.server [req-a396bb73-5d45-4e4f-a3fc-27953815b7af 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?all_tenants=True&tenant_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.1010180
2016-04-10 21:01:52.588 16544 INFO nova.osapi_compute.wsgi.server [req-792a2d5d-f50c-4383-8474-c14c5a5a3c24 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0115221
2016-04-10 21:01:52.892 16544 INFO nova.osapi_compute.wsgi.server [req-0b6eebc3-dc23-4c97-b6a5-d105fbd914ab 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0718129
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] Unexpected exception in API method
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     **create_kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2016-04-10 21:01:53.085 16544 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-b2eb289b-9b55-4aba-a710-813de039d2c0)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions
2016-04-10 21:01:53.087 16544 INFO nova.api.openstack.wsgi [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 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-04-10 21:01:53.088 16544 INFO nova.osapi_compute.wsgi.server [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "POST /v2/358453d87f6248ddb1d7333ad6f589ce/servers HTTP/1.1" status: 500 len: 441 time: 0.1857409
2016-04-10 21:01:53.201 16544 INFO nova.osapi_compute.wsgi.server [req-0fe12b93-f475-44fc-9257-fed8e36717b8 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?limit=21&project_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.0853679
2016-04-10 21:01:53.308 16544 INFO nova.osapi_compute.wsgi.server [req-3c896757-9dc6-48ef-bdeb-339b226b148e 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0699680
2016-04-10 21:01:53.375 16544 INFO nova.osapi_compute.wsgi.server [req-358b52e7-affb-48ab-b33e-d248ee7764e6 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0258491
2016-04-10 21:01:53.445 16544 INFO nova.osapi_compute.wsgi.server [req-4e9a0361-1e65-466d-a3d3-2cb76ea08887 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0584290

[root@controller ~]# nova-manage service list No handlers could be found for logger "oslo_config.cfg" Binary Host Zone Status State Updated_At nova-consoleauth controller internal enabled :-) 2016-04-11 04:40:49 nova-conductor controller internal enabled :-) 2016-04-11 04:40:54 nova-scheduler controller internal enabled :-) 2016-04-11 04:40:49 nova-cert controller internal enabled :-) 2016-04-11 04:40:48 nova-compute compute nova enabled :-) 2016-04-11 04:40:55 [root@controller ~]#