← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1624270] Re: openstack error 'oslo_config.cfg.NoSuchOptError'

 

*** This bug is a duplicate of bug 1574988 ***
    https://bugs.launchpad.net/bugs/1574988

This is fixed in the latest stable/mitaka release and in master
(newton).

** This bug has been marked a duplicate of bug 1574988
   <class 'oslo_config.cfg.NoSuchOptError'>

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

Title:
  openstack error 'oslo_config.cfg.NoSuchOptError'

Status in OpenStack Compute (nova):
  New

Bug description:
  
  [root@controller1 ~]#
  [root@controller1 ~]# openstack server create --flavor m1.nano --image cirros --nic net-id=b002f05b-5342-4a67-9c93-8a72158cab60 --security-group default --key-name mykey provider-instance
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_config.cfg.NoSuchOptError'> (HTTP 500) (Request-ID: req-b06491f6-df6d-4d75-82af-546fa23790a1)
  [root@controller1 ~]#
  [root@controller1 ~]#
  [root@controller1 ~]# uname -a
  Linux controller1.arundell.com 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  [root@controller1 ~]#

  [root@controller1 nova]# cat /etc/redhat-release
  CentOS Linux release 7.2.1511 (Core)
  [root@controller1 nova]#

  
  Log file : /var/log/nova/nova-api.log logs pasted below 
  ==========================================================

  2016-09-16 08:29:21.089 11479 INFO nova.api.openstack.wsgi [req-b92dbd45-5130-45d1-bc2c-003b2791fc38 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf4d77bb497d72d6b397 - - -] HTTP exception thrown: Image not found.
  2016-09-16 08:29:21.090 11479 INFO nova.osapi_compute.wsgi.server [req-b92dbd45-5130-45d1-bc2c-003b2791fc38 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/images/cirros HTTP/1.1" status: 404 len: 351 time: 0.3027530
  2016-09-16 08:29:21.159 11479 INFO nova.osapi_compute.wsgi.server [req-af640c20-e4cb-4bc8-ba18-a425db112776 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/images HTTP/1.1" status: 200 len: 770 time: 0.0645511
  2016-09-16 08:29:21.209 11479 INFO nova.osapi_compute.wsgi.server [req-9417d9b1-73ef-41dc-b67f-fabe60d2406f 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/images/e5e3e4d7-c74a-4e97-80f3-06fdc014a079 HTTP/1.1" status: 200 len: 95time: 0.0442920
  2016-09-16 08:29:21.240 11479 INFO nova.api.openstack.wsgi [req-dd435c55-c360-4dee-bcb3-8902576848b0 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf4d77bb497d72d6b397 - - -] HTTP exception thrown: Flavor m1.nano could not be found.
  2016-09-16 08:29:21.241 11479 INFO nova.osapi_compute.wsgi.server [req-dd435c55-c360-4dee-bcb3-8902576848b0 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/flavors/m1.nano HTTP/1.1" status: 404 len: 369 time: 0.0274239

  2016-09-16 08:29:21.278 11479 INFO nova.osapi_compute.wsgi.server [req-eb65e696-ee36-475a-9c24-a7539503e14d 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/flavors HTTP/1.1" status: 200 len: 1740 time: 0.0316298
  2016-09-16 08:29:21.324 11479 INFO nova.osapi_compute.wsgi.server [req-23b1d340-4aa7-482b-a22c-c2c7e7157990 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "GET /v2.1/536d39fefedf4d77bb48e97d72d6b397/flavors/0 HTTP/1.1" status: 200 len: 689 time: 0.0391679
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions [req-b06491f6-df6d-4d75-82af-546fa23790a1 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] Unexpected exception in API method
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, iwrapped
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in apper
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in apper
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in apper
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 6, in create
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1562, in create
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1145, in _create_inance
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     reservation_id, max_count)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 872, in _validate_a_build_base_options
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1064, in eate_pci_requests_for_sriov_ports
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 139, in g_client
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     _ADMIN_AUTH = _load_auth_plugin(CONF)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 119, in _ad_auth_plugin
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     err_msg = _('Unknown auth plugin: %s') % conf.neutron.auth_plugin
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2950, in __getattr__
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     return self._conf._get(name, self._group)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2571, in _get
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     value = self._do_get(name, group, namespace)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2588, in _do_get
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     info = self._get_opt_info(name, group)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2722, in _get_opt_in
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions     raise NoSuchOptError(opt_name, group)
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions NoSuchOptError: no such option in group neutron: auth_plugin
  2016-09-16 08:29:21.581 11479 ERROR nova.api.openstack.extensions
  2016-09-16 08:29:21.582 11479 INFO nova.api.openstack.wsgi [req-b06491f6-df6d-4d75-82af-546fa23790a1 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf4d77bb497d72d6b397 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possle.
  <class 'oslo_config.cfg.NoSuchOptError'>
  2016-09-16 08:29:21.583 11479 INFO nova.osapi_compute.wsgi.server [req-b06491f6-df6d-4d75-82af-546fa23790a1 967fbd1d2e3441a687e84f0cca6b05c4 536d39fefedf77bb48e97d72d6b397 - - -] 127.0.0.1 "POST /v2.1/536d39fefedf4d77bb48e97d72d6b397/servers HTTP/1.1" status: 500 len: 506 time: 0.1604440

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


References