Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

liberty Ubuntu - launch instance failure - expecting passwordCredentials

i can't get to launch my cirros instance, each time i do i get the following error :

Error: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'keystoneclient.exceptions.badrequest'=""> (HTTP 500) (Request-ID: req-06177df4-9ea1-41a9-bb04-3ff7aab05998)

i really need yur help very much, i'll provide my nova api log and my nova configuration, hoping it'll help.

nova-api.log

2015-12-07 22:46:11.161 3537 INFO nova.osapi_compute.wsgi.server [req-e48d015c-0c09-47b4-b531-232d90afd4e7 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 1.2570002 2015-12-07 22:46:11.617 3537 INFO nova.osapi_compute.wsgi.server [req-e0da5443-b513-4422-8d27-61549796651d 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-simple-tenant-usage/89acca66976e4f839ff816058d156d76?start=2015-12-01T00:00:00&end=2015-12-07T23:59:59 HTTP/1.1" status: 200 len: 216 time: 0.3299019 2015-12-07 22:46:11.663 3537 INFO nova.osapi_compute.wsgi.server [req-cc12ad9e-c910-4d05-8a22-04d2c0bc0f4e 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits HTTP/1.1" status: 200 len: 708 time: 0.0406561 2015-12-07 22:46:26.147 3537 INFO nova.osapi_compute.wsgi.server [req-65d9ca61-072e-45e8-8163-1885d3332f28 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?limit=21&project_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.2541831 2015-12-07 22:46:26.862 3538 INFO nova.osapi_compute.wsgi.server [req-3d3191e5-cbdd-4949-a0b1-aeb792620648 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.5056009 2015-12-07 22:46:26.996 3537 INFO nova.osapi_compute.wsgi.server [req-175f862a-819e-4099-84b3-b581d4dae161 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0345080 2015-12-07 22:46:27.266 3538 INFO nova.osapi_compute.wsgi.server [req-e1cdd39e-f12b-4cd2-a11b-1f17f6bc999e 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.2559779 2015-12-07 22:46:34.747 3535 INFO nova.osapi_compute.wsgi.server [req-b2b15699-f2ac-41fc-8b57-3a7c8b0d52f7 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 2.1312399 2015-12-07 22:46:40.729 3536 INFO nova.osapi_compute.wsgi.server [req-862396e5-c5af-44b9-9aed-8eba09abaff0 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 5.8349349 2015-12-07 22:46:56.703 3538 INFO nova.osapi_compute.wsgi.server [req-0c0522b7-c333-405c-806a-fc263cfcf584 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0794151 2015-12-07 22:46:56.772 3536 INFO nova.osapi_compute.wsgi.server [req-39285bb4-6d47-420e-92ae-58cc3ee716cb 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-keypairs HTTP/1.1" status: 200 len: 730 time: 0.0196440 2015-12-07 22:47:06.936 3537 INFO nova.osapi_compute.wsgi.server [req-089ac51f-df7e-4aaa-805d-8b865d54be3b 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits HTTP/1.1" status: 200 len: 708 time: 0.0588720 2015-12-07 22:47:20.170 3537 INFO nova.osapi_compute.wsgi.server [req-fe5dd428-043d-40c1-bea3-3a5efc953f99 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0610189 2015-12-07 22:47:20.219 3537 INFO nova.osapi_compute.wsgi.server [req-784f5755-6d53-4029-975e-49e9842a879f 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0430698 2015-12-07 22:47:27.864 3536 INFO nova.osapi_compute.wsgi.server [req-984de0e9-a48f-40fa-8694-9a8464c6943b 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0746069 2015-12-07 22:47:27.907 3536 INFO nova.osapi_compute.wsgi.server [req-f0e08a7a-9899-4a90-bcc4-b484401eca4d 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-quota-sets/89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 568 time: 0.0209920 2015-12-07 22:47:29.483 3536 INFO nova.osapi_compute.wsgi.server [req-f8c96818-b733-4761-98d3-4513ce718b37 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?project_id=89acca66976e4f839ff816058d156d76&tenant_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.3426220 2015-12-07 22:47:30.068 3535 INFO nova.osapi_compute.wsgi.server [req-3adc8749-703f-4a29-a6ca-38885d2be042 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-keypairs HTTP/1.1" status: 200 len: 730 time: 0.0396121 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] Unexpected exception in API method 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return f(args, *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions *create_kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions rv = f(args, *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions pci_request_info, requested_networks) 2015-12-07 22:47:43.112 3537 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 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 186, in get_auth_ref 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return self._plugin.get_auth_ref(session, *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions authenticated=False, log=False) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return self.request(url, 'POST', *kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions return func(args, **kwargs) 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions raise exceptions.from_response(resp, method, url)

2015-12-07 22:47:43.112 3537 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-d98b4fcb-4e63-4937-badc-1f6500ed56f8)

2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions 2015-12-07 22:47:45.432 3537 INFO nova.api.openstack.wsgi [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 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'=""> 2015-12-07 22:47:45.434 3537 INFO nova.osapi_compute.wsgi.server [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "POST /v2/89acca66976e4f839ff816058d156d76/servers HTTP/1.1" status: 500 len: 441 time: 15.0991249 2015-12-07 22:47:45.656 3537 INFO nova.osapi_compute.wsgi.server [req-e615d46d-d9f2-44f2-b933-b88e29642e15 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?limit=21&project_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.1001921 2015-12-07 22:47:47.813 3538 INFO nova.osapi_compute.wsgi.server [req-27ddfac3-ee46-4f34-bd48-713982b9c1ac 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.1002200 2015-12-07 22:47:47.975 3538 INFO nova.osapi_compute.wsgi.server [req-1012ef5a-b6ed-4101-b40e-9c752ff042cb 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0368590 2015-12-07 22:47:48.049 3538 INFO nova.osapi_compute.wsgi.server [req-b796a206-d459-47be-aedf-5046ba73e597 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0342822


nova.conf

[DEFAULT]

auth_strategy = keystone

logdir=/var/log/nova

state_path=/var/lib/nova

flagfile=/path/to/nova.conf

my_ip = 10.10.10.2

network_api_class = nova.network.neutronv2.api.API

security_group_api = neutron

linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver

firewall_driver = nova.virt.firewall.NoopFirewallDriver

enabled_apis=osapi_compute,metadata

verbose = True

rpc_backend = rabbit

rabbit_host = 10.10.10.2

rabbit_password = rabbitsecret

[database]

connection=mysql://novadbadmin:novasecret@10.10.10.2/nova

[keystone_authtoken]

auth_host = 10.10.10.2

auth_protocol = http

auth_uri = http://10.10.10.2:5000

identity_uri = http://10.10.10.2:35357

admin_tenant_name = service

admin_user = nova

admin_password = nova

[oslo_messaging_rabbit]

rabbit_host = 10.10.10.2

rabbit_userid = rabbit

rabbit_password = rabbitsecret

[vnc] enabled = True

vncserver_listen = $my_ip

vncserver_proxyclient_address = $my_ip

novncproxy_base_url = http://10.10.10.2:6080/vnc_auto.html

[glance]

host = 10.10.10.2

[cinder]

os_region_name = Morocco

[neutron]

url = http://10.10.10.2:9696

auth_url = http://10.10.10.2:35357

auth_strategy = keystone

auth_plugin = password

region_name = Morocco

admin_tenant_name = service

admin_user = neutron

admin_password = neutron

service_metadata_proxy = True

metadata_proxy_shared_secret = METADATA_SECRET

[oslo_concurrency]

lock_path = /var/lib/nova/tmp

liberty Ubuntu - launch instance failure - expecting passwordCredentials

i can't get to launch my cirros instance, each time i do i get the following error :

Error: 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'> (HTTP 500) (Request-ID: req-06177df4-9ea1-41a9-bb04-3ff7aab05998)

req-06177df4-9ea1-41a9-bb04-3ff7aab05998)

i really need yur help very much, i'll provide my nova api log and my nova configuration, hoping it'll help.

nova-api.log

2015-12-07 22:46:11.161 3537 INFO nova.osapi_compute.wsgi.server [req-e48d015c-0c09-47b4-b531-232d90afd4e7 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 1.2570002
2015-12-07 22:46:11.617 3537 INFO nova.osapi_compute.wsgi.server [req-e0da5443-b513-4422-8d27-61549796651d 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-simple-tenant-usage/89acca66976e4f839ff816058d156d76?start=2015-12-01T00:00:00&end=2015-12-07T23:59:59 HTTP/1.1" status: 200 len: 216 time: 0.3299019
2015-12-07 22:46:11.663 3537 INFO nova.osapi_compute.wsgi.server [req-cc12ad9e-c910-4d05-8a22-04d2c0bc0f4e 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits HTTP/1.1" status: 200 len: 708 time: 0.0406561
2015-12-07 22:46:26.147 3537 INFO nova.osapi_compute.wsgi.server [req-65d9ca61-072e-45e8-8163-1885d3332f28 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?limit=21&project_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.2541831
2015-12-07 22:46:26.862 3538 INFO nova.osapi_compute.wsgi.server [req-3d3191e5-cbdd-4949-a0b1-aeb792620648 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.5056009
2015-12-07 22:46:26.996 3537 INFO nova.osapi_compute.wsgi.server [req-175f862a-819e-4099-84b3-b581d4dae161 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0345080
2015-12-07 22:46:27.266 3538 INFO nova.osapi_compute.wsgi.server [req-e1cdd39e-f12b-4cd2-a11b-1f17f6bc999e 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.2559779
2015-12-07 22:46:34.747 3535 INFO nova.osapi_compute.wsgi.server [req-b2b15699-f2ac-41fc-8b57-3a7c8b0d52f7 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 2.1312399
2015-12-07 22:46:40.729 3536 INFO nova.osapi_compute.wsgi.server [req-862396e5-c5af-44b9-9aed-8eba09abaff0 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 5.8349349
2015-12-07 22:46:56.703 3538 INFO nova.osapi_compute.wsgi.server [req-0c0522b7-c333-405c-806a-fc263cfcf584 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0794151
2015-12-07 22:46:56.772 3536 INFO nova.osapi_compute.wsgi.server [req-39285bb4-6d47-420e-92ae-58cc3ee716cb 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-keypairs HTTP/1.1" status: 200 len: 730 time: 0.0196440
2015-12-07 22:47:06.936 3537 INFO nova.osapi_compute.wsgi.server [req-089ac51f-df7e-4aaa-805d-8b865d54be3b 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits HTTP/1.1" status: 200 len: 708 time: 0.0588720
2015-12-07 22:47:20.170 3537 INFO nova.osapi_compute.wsgi.server [req-fe5dd428-043d-40c1-bea3-3a5efc953f99 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0610189
2015-12-07 22:47:20.219 3537 INFO nova.osapi_compute.wsgi.server [req-784f5755-6d53-4029-975e-49e9842a879f 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0430698
2015-12-07 22:47:27.864 3536 INFO nova.osapi_compute.wsgi.server [req-984de0e9-a48f-40fa-8694-9a8464c6943b 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0746069
2015-12-07 22:47:27.907 3536 INFO nova.osapi_compute.wsgi.server [req-f0e08a7a-9899-4a90-bcc4-b484401eca4d 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-quota-sets/89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 568 time: 0.0209920
2015-12-07 22:47:29.483 3536 INFO nova.osapi_compute.wsgi.server [req-f8c96818-b733-4761-98d3-4513ce718b37 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?project_id=89acca66976e4f839ff816058d156d76&tenant_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.3426220
2015-12-07 22:47:30.068 3535 INFO nova.osapi_compute.wsgi.server [req-3adc8749-703f-4a29-a6ca-38885d2be042 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/os-keypairs HTTP/1.1" status: 200 len: 730 time: 0.0396121
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] Unexpected exception in API method
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return f(args, *kwargs)
f(*args, **kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return func(args, *kwargs)
func(*args, **kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return func(args, *kwargs)
func(*args, **kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     *create_kwargs)
**create_kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     rv = f(args, *kwargs)
f(*args, **kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2015-12-07 22:47:43.112 3537 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
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     auth_token = _ADMIN_AUTH.get_token(_SESSION)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return self.get_access(session).auth_token
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     self.auth_ref = self.get_auth_ref(session)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 186, in get_auth_ref
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return self._plugin.get_auth_ref(session, *kwargs)
**kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     authenticated=False, log=False)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 501, in post
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', *kwargs)
**kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     return func(args, func(*args, **kwargs)
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 401, in request
2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)

2015-12-07 url) ***2015-12-07 22:47:43.112 3537 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-d98b4fcb-4e63-4937-badc-1f6500ed56f8)

req-d98b4fcb-4e63-4937-badc-1f6500ed56f8)*** 2015-12-07 22:47:43.112 3537 ERROR nova.api.openstack.extensions 2015-12-07 22:47:45.432 3537 INFO nova.api.openstack.wsgi [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 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'> 2015-12-07 22:47:45.434 3537 INFO nova.osapi_compute.wsgi.server [req-8158a917-ac01-472d-ae5f-d3ecac0f6377 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "POST /v2/89acca66976e4f839ff816058d156d76/servers HTTP/1.1" status: 500 len: 441 time: 15.0991249 2015-12-07 22:47:45.656 3537 INFO nova.osapi_compute.wsgi.server [req-e615d46d-d9f2-44f2-b933-b88e29642e15 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/servers/detail?limit=21&project_id=89acca66976e4f839ff816058d156d76 HTTP/1.1" status: 200 len: 211 time: 0.1001921 2015-12-07 22:47:47.813 3538 INFO nova.osapi_compute.wsgi.server [req-27ddfac3-ee46-4f34-bd48-713982b9c1ac 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/extensions HTTP/1.1" status: 200 len: 21880 time: 0.1002200 2015-12-07 22:47:47.975 3538 INFO nova.osapi_compute.wsgi.server [req-1012ef5a-b6ed-4101-b40e-9c752ff042cb 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0368590 2015-12-07 22:47:48.049 3538 INFO nova.osapi_compute.wsgi.server [req-b796a206-d459-47be-aedf-5046ba73e597 6feaddfc2c08404f945fd700b867dbab 89acca66976e4f839ff816058d156d76 - - -] 10.10.10.2 "GET /v2/89acca66976e4f839ff816058d156d76/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0342822

0.0342822

nova.conf

[DEFAULT]

[DEFAULT]

auth_strategy = keystone

logdir=/var/log/nova

state_path=/var/lib/nova

flagfile=/path/to/nova.conf

keystone logdir=/var/log/nova state_path=/var/lib/nova flagfile=/path/to/nova.conf my_ip = 10.10.10.2

10.10.10.2 network_api_class = nova.network.neutronv2.api.API

nova.network.neutronv2.api.API security_group_api = neutron

neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver

nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver

enabled_apis=osapi_compute,metadata

nova.virt.firewall.NoopFirewallDriver enabled_apis=osapi_compute,metadata verbose = True

True rpc_backend = rabbit

rabbit rabbit_host = 10.10.10.2

10.10.10.2 rabbit_password = rabbitsecret

[database]

connection=mysql://novadbadmin:novasecret@10.10.10.2/nova

[keystone_authtoken]

rabbitsecret [database] connection=mysql://novadbadmin:novasecret@10.10.10.2/nova [keystone_authtoken] auth_host = 10.10.10.2

10.10.10.2 auth_protocol = http

http auth_uri = http://10.10.10.2:5000

http://10.10.10.2:5000 identity_uri = http://10.10.10.2:35357

http://10.10.10.2:35357 admin_tenant_name = service

service admin_user = nova

nova admin_password = nova

[oslo_messaging_rabbit]

nova [oslo_messaging_rabbit] rabbit_host = 10.10.10.2

10.10.10.2 rabbit_userid = rabbit

rabbit rabbit_password = rabbitsecret

rabbitsecret [vnc] enabled = True

True vncserver_listen = $my_ip

$my_ip vncserver_proxyclient_address = $my_ip

$my_ip novncproxy_base_url = http://10.10.10.2:6080/vnc_auto.html

[glance]

http://10.10.10.2:6080/vnc_auto.html [glance] host = 10.10.10.2

[cinder]

10.10.10.2 [cinder] os_region_name = Morocco

[neutron]

Morocco [neutron] url = http://10.10.10.2:9696

http://10.10.10.2:9696 auth_url = http://10.10.10.2:35357

http://10.10.10.2:35357 auth_strategy = keystone

keystone auth_plugin = password

password region_name = Morocco

Morocco admin_tenant_name = service

service admin_user = neutron

neutron admin_password = neutron

neutron service_metadata_proxy = True

True metadata_proxy_shared_secret = METADATA_SECRET

[oslo_concurrency]

METADATA_SECRET [oslo_concurrency] lock_path = /var/lib/nova/tmp

/var/lib/nova/tmp