yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66801
[Bug 1711739] Re: OpenStack Error during instance creation with Cirros
This isn't a bug in nova, it's a misconfiguration:
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions
MissingRequiredOptions: Auth plugin requires parameters which were not
given: auth_url
Check the [neutron]/auth_url configuration in nova.conf on the host
running the nova-api service.
** Changed in: nova
Status: New => Invalid
--
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/1711739
Title:
OpenStack Error during instance creation with Cirros
Status in OpenStack Compute (nova):
Invalid
Bug description:
I am pasting the error below:
root@controller:~/scripts_OpenStack# openstack server create --flavor m1.nano --image cirros \
> --nic net-id=5230655d-c667-48fd-b4a4-1acd83bef6f4 --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.
<class 'keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions'> (HTTP 500) (Request-ID: req-363e4a19-b09c-48e2-9003-d73ee049aa31)
Below is nova-api.log:
2017-08-19 00:11:04.871 6149 INFO nova.osapi_compute.wsgi.server [req-93aa2c08-9121-4354-8503-5d9ba546f287 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/servers/detail?all_tenants=True&limit=21 HTTP/1.1" status: 200 len: 347 time: 0.6775930
2017-08-19 00:11:10.658 6149 INFO nova.osapi_compute.wsgi.server [req-1ae58526-b120-4666-8422-bd6f7e190b62 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/extensions HTTP/1.1" status: 200 len: 23035 time: 2.4226429
2017-08-19 00:12:13.221 6149 INFO nova.osapi_compute.wsgi.server [req-071240b1-514e-48ac-9ffd-a1de30e24103 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/extensions HTTP/1.1" status: 200 len: 23035 time: 8.1807971
2017-08-19 00:13:32.518 6149 INFO nova.osapi_compute.wsgi.server [req-d996ba97-49bc-43f0-ad24-8906210fcdf9 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "POST /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors HTTP/1.1" status: 200 len: 752 time: 0.3743351
2017-08-19 00:13:32.553 6149 INFO nova.osapi_compute.wsgi.server [req-d9430a50-d1b1-451a-9b94-a08b3aa67f7c 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors/0/os-extra_specs HTTP/1.1" status: 200 len: 351 time: 0.0311458
2017-08-19 00:14:31.974 6149 INFO nova.osapi_compute.wsgi.server [req-b46000da-b0c8-44b4-88dd-85d96c85e906 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.31 "POST /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs HTTP/1.1" status: 200 len: 890 time: 0.3092380
2017-08-19 00:15:52.389 6149 INFO nova.osapi_compute.wsgi.server [req-6bcfa8c3-2c25-4b8b-bd83-9afe04b0c683 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors/detail HTTP/1.1" status: 200 len: 755 time: 0.3320630
2017-08-19 00:17:41.962 6149 INFO nova.api.openstack.wsgi [req-dbddc9d4-3cbf-4c4f-909a-26ece959d4e8 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] HTTP exception thrown: Flavor m1.nano could not be found.
2017-08-19 00:17:41.984 6149 INFO nova.osapi_compute.wsgi.server [req-dbddc9d4-3cbf-4c4f-909a-26ece959d4e8 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors/m1.nano HTTP/1.1" status: 404 len: 434 time: 0.2477911
2017-08-19 00:17:42.150 6149 INFO nova.api.openstack.wsgi [req-bc34b129-d6a3-45f5-977d-698d98f5def3 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] HTTP exception thrown: Flavor m1.nano could not be found.
2017-08-19 00:17:42.155 6149 INFO nova.osapi_compute.wsgi.server [req-bc34b129-d6a3-45f5-977d-698d98f5def3 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors/m1.nano HTTP/1.1" status: 404 len: 434 time: 0.1630840
2017-08-19 00:17:42.328 6149 INFO nova.osapi_compute.wsgi.server [req-c2bdb426-1990-4197-b8b2-9323f0aa3ffc 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors HTTP/1.1" status: 200 len: 586 time: 0.1631751
2017-08-19 00:17:42.430 6149 INFO nova.osapi_compute.wsgi.server [req-952ee384-2159-4eae-8eca-9dbbb7117161 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "GET /v2.1/3e628888a5af4ac7af1df294d9e357d4/flavors/0 HTTP/1.1" status: 200 len: 752 time: 0.0938671
2017-08-19 00:17:46.905 6149 INFO nova.api.openstack.wsgi [req-539f5519-45df-45b5-a40d-17bddca3fd90 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] HTTP exception thrown: Invalid key_name provided.
2017-08-19 00:17:46.915 6149 INFO nova.osapi_compute.wsgi.server [req-539f5519-45df-45b5-a40d-17bddca3fd90 203090887fbe47a8be95ee3a4107b1f2 3e628888a5af4ac7af1df294d9e357d4 - default default] 10.20.30.30 "POST /v2.1/3e628888a5af4ac7af1df294d9e357d4/servers HTTP/1.1" status: 400 len: 426 time: 3.6345561
2017-08-19 00:21:30.928 6149 WARNING oslo_db.sqlalchemy.utils [req-5cce755b-ff5d-4541-91a2-a7e757d60bd1 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:21:30.934 6149 WARNING oslo_db.sqlalchemy.utils [req-5cce755b-ff5d-4541-91a2-a7e757d60bd1 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:21:30.941 6149 INFO nova.osapi_compute.wsgi.server [req-5cce755b-ff5d-4541-91a2-a7e757d60bd1 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.31 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs HTTP/1.1" status: 200 len: 859 time: 0.2512619
2017-08-19 00:21:46.996 6149 INFO nova.osapi_compute.wsgi.server [req-ca2ebdb2-9f21-4b5c-b84f-656a8bd7155c 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.31 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs/mykey HTTP/1.1" status: 200 len: 1001 time: 0.1911640
2017-08-19 00:21:47.039 6149 INFO nova.osapi_compute.wsgi.server [req-4f006c39-dd8c-46a8-a0d8-310fb3d18830 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.31 "DELETE /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs/mykey HTTP/1.1" status: 202 len: 337 time: 0.0393751
2017-08-19 00:21:52.959 6149 WARNING oslo_db.sqlalchemy.utils [req-84822ab9-7e93-46b9-96f4-5b812f9f3420 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:21:52.964 6149 WARNING oslo_db.sqlalchemy.utils [req-84822ab9-7e93-46b9-96f4-5b812f9f3420 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:21:52.967 6149 INFO nova.osapi_compute.wsgi.server [req-84822ab9-7e93-46b9-96f4-5b812f9f3420 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.31 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs HTTP/1.1" status: 200 len: 348 time: 0.2038329
2017-08-19 00:22:25.166 6149 INFO nova.osapi_compute.wsgi.server [req-a804d892-c195-476c-add7-959f85fddf14 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "POST /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs HTTP/1.1" status: 200 len: 892 time: 1.0582039
2017-08-19 00:22:36.700 6149 WARNING oslo_db.sqlalchemy.utils [req-fb9f49f4-77ed-4a3d-8eba-dc817ace46a2 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:22:36.737 6149 WARNING oslo_db.sqlalchemy.utils [req-fb9f49f4-77ed-4a3d-8eba-dc817ace46a2 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unique keys not in sort_keys. The sorting order may be unstable.
2017-08-19 00:22:36.793 6149 INFO nova.osapi_compute.wsgi.server [req-fb9f49f4-77ed-4a3d-8eba-dc817ace46a2 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/os-keypairs HTTP/1.1" status: 200 len: 861 time: 2.1221888
2017-08-19 00:23:14.854 32319 INFO oslo_service.service [req-6582c598-177d-4874-b0c7-ca580dd39696 - - - - -] Child 6149 killed by signal 9
2017-08-19 00:23:20.874 6902 INFO nova.osapi_compute.wsgi.server [req-2694c936-f5c5-4a9d-a583-9d4746a7937f - - - - -] (6902) wsgi starting up on http://0.0.0.0:8774
2017-08-19 00:24:38.161 6902 INFO nova.api.openstack.wsgi [req-658ec51d-b8ad-4a9a-b63a-50f2bc9abf28 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] HTTP exception thrown: Flavor m1.nano could not be found.
2017-08-19 00:24:38.166 6902 INFO nova.osapi_compute.wsgi.server [req-658ec51d-b8ad-4a9a-b63a-50f2bc9abf28 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/flavors/m1.nano HTTP/1.1" status: 404 len: 434 time: 1.1370802
2017-08-19 00:24:38.193 6902 INFO nova.api.openstack.wsgi [req-018a4967-e09c-42b9-9259-c926eaa4a7b2 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] HTTP exception thrown: Flavor m1.nano could not be found.
2017-08-19 00:24:38.198 6902 INFO nova.osapi_compute.wsgi.server [req-018a4967-e09c-42b9-9259-c926eaa4a7b2 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/flavors/m1.nano HTTP/1.1" status: 404 len: 434 time: 0.0306530
2017-08-19 00:24:38.235 6902 INFO nova.osapi_compute.wsgi.server [req-8aae4884-9008-4a5d-8525-22e55a04b431 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/flavors HTTP/1.1" status: 200 len: 586 time: 0.0365570
2017-08-19 00:24:38.262 6902 INFO nova.osapi_compute.wsgi.server [req-bbaebb65-99ee-4ba5-92f6-9180dda65fd8 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "GET /v2.1/465b7d3adad64088a70833964bdc4e2d/flavors/0 HTTP/1.1" status: 200 len: 752 time: 0.0229180
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions [req-363e4a19-b09c-48e2-9003-d73ee049aa31 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] Unexpected exception in API method
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 338, in wrapped
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 642, in create
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions **create_kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1620, in create
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1186, in _create_instance
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions reservation_id, max_count)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 902, in _validate_and_build_base_options
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions pci_request_info, requested_networks)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1432, in create_pci_requests_for_sriov_ports
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 138, in get_client
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions _ADMIN_AUTH = _load_auth_plugin(CONF)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 68, in _load_auth_plugin
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions nova.conf.neutron.NEUTRON_GROUP)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/conf.py", line 135, in load_from_conf_options
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return plugin.load_from_options_getter(_getter, **kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 187, in load_from_options_getter
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions return self.load_from_options(**kwargs)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 162, in load_from_options
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions raise exceptions.MissingRequiredOptions(missing_required)
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url
2017-08-19 00:24:39.728 6902 ERROR nova.api.openstack.extensions
2017-08-19 00:24:39.749 6902 INFO nova.api.openstack.wsgi [req-363e4a19-b09c-48e2-9003-d73ee049aa31 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions'>
2017-08-19 00:24:39.755 6902 INFO nova.osapi_compute.wsgi.server [req-363e4a19-b09c-48e2-9003-d73ee049aa31 035e3002ea5f42c6a6842763d7fbf0c7 465b7d3adad64088a70833964bdc4e2d - default default] 10.20.30.30 "POST /v2.1/465b7d3adad64088a70833964bdc4e2d/servers HTTP/1.1" status: 500 len: 601 time: 1.1811068
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1711739/+subscriptions
References