Ask Your Question
1

NoSuchOptError: no such option in group neutron: auth_plugin

asked 2016-04-18 02:05:42 -0500

Kevin gravatar image

Hi,

I upgraded our environment from liberty to mitaka and get this error when watching the nova-api.log:

2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions [req-4fd8efa9-3e1f-477b-b0f1-574739f57cf2 051f7eb0c4df40dda84a69d40ee86a48 f2c5a09230a94a8a9ab714877c22948d - - -] Unexpected exception in API method
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 629, in create
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     **create_kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1556, in create
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1139, in _create_instance
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     reservation_id, max_count)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 866, in _validate_and_build_base_options
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1062, in create_pci_requests_for_sriov_ports
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 139, in get_client
2016-04-18 08:42:54.548 2477 ERROR nova.api.openstack.extensions     _ADMIN_AUTH = _load_auth_plugin(CONF)
2016-04-18 08:42:54.548 2477 ERROR nova.api ...
(more)
edit retag flag offensive close merge delete

Comments

Hi Kevin, were u able to find a solution to this problem. I have installed mitaka today and getting exactly the same error. Any help will be much appreciated.

AB239 gravatar imageAB239 ( 2016-07-29 02:58:00 -0500 )edit

This is fixed: https://bugs.launchpad.net/nova/+bug/...

newton: 14.0.0.0b1

mitaka: 13.1.1

mriedem gravatar imagemriedem ( 2016-09-16 10:27:12 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-04-25 07:59:27 -0500

Hi Kevin, I've had absolutely the same error. I have a separate: control, network and compute node. The following config has been added to /etc/nova/nova.conf for compute node:

[neutron]
url = http://control:9696
auth_url = http://control:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username=neutron-username
password=neutron-password

After that my issue has been resolve.

edit flag offensive delete link more

Comments

Even after adding the auth_type and auth_url still getting the same issue in the nova-conductor logs.

NarasimhaSV gravatar imageNarasimhaSV ( 2016-04-28 05:15:42 -0500 )edit

@NarasimhaSV: were u able to get past this error? I am still facing this issue as I tried installing mitaka afresh today itself.

AB239 gravatar imageAB239 ( 2016-07-29 02:18:34 -0500 )edit

Me too facing the same error !!!!

And the consequence is seen in neutron-server.log as well 2016-08-05 15:29:26.389 5121 ERROR oslo_middleware.catch_errors SSLError: SSL exception connecting to https://127.0.0.1:35357: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unk

kiranmurari gravatar imagekiranmurari ( 2016-08-05 05:47:28 -0500 )edit

I have installed Mitaka on ubuntu 16.04. My controller and compute are on different node. I m also facing the same issue. does anyone got any clue to resolve it? I also tried adding the auth_type and auth_url still getting the same issue in the nova-conductor logs.

monica gravatar imagemonica ( 2016-08-26 01:36:01 -0500 )edit
mriedem gravatar imagemriedem ( 2016-09-16 10:27:42 -0500 )edit
0

answered 2016-04-30 11:49:12 -0500

Hello, I'm getting the same error in a fresh Mitaka's installation. Can anybody help? Thank you!

edit flag offensive delete link more

Comments

mriedem gravatar imagemriedem ( 2016-09-16 10:27:51 -0500 )edit
0

answered 2016-10-31 10:17:39 -0500

teeks99 gravatar image

When attempting to install openstack on a pair of VMs, I came across a bug that would prevent VM instances from launching. It shows up as no such option in group neutron: auth_plugin.

It was eventually traced back to a bug in neutron that had been fixed, but the fix hadn't been propigated back to my version yet.

It links to the following bug report: https://bugs.launchpad.net/nova/+bug/1574988 (https://bugs.launchpad.net/nova/+bug/...)

Which shows this fix: https://review.openstack.org/#/c/310173/1/nova/network/neutronv2/api.py (https://review.openstack.org/#/c/3101...)

The fix, which I was able to apply manually to my version (CentOS 7-1511, openstack-nova 13.1.0), is in (/usr/lib/python2.7/site-packages/)nova/network/neutronv2/api.py:107 (or maybe :119). Both instances of 'plugin' should be changed to 'type'. This fix needs to be applied to each compute node (I think) and then the nova compute service needs to be restarted. This should prevent a crash and allow neutron to continue on through its logic.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2016-04-18 02:05:42 -0500

Seen: 1,355 times

Last updated: Oct 31 '16