NoSuchOptError: no such option in group neutron: auth_plugin

Bug #1604428 reported by Marc Van de Voorde
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Ryan Selden
Nominated for Mitaka by Markus Zoeller (markus_z)

Bug Description

Im' runnign openstack mitaka on a 3 node installation (controller, compute and network). I installed it first under ubuntu 14.04 and later under ubuntu 16.04, but both have the same error when I try to launch an instance.

The error I get is the same using horizon or the command "nova boot --image cirros --flavor 1 --nic net-name=test erste".

Errormessage from the command line is
ERROR (ClientException): 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-2c2bb960-feb8-45ed-a3d1-65b8833d9228)

I'm using the versions below:
 dpkg -l | grep nova
ii nova-api 2:13.0.0-0ubuntu5 all OpenStack Compute - API frontend
ii nova-common 2:13.0.0-0ubuntu5 all OpenStack Compute - common files
ii nova-conductor 2:13.0.0-0ubuntu5 all OpenStack Compute - conductor service
ii nova-consoleauth 2:13.0.0-0ubuntu5 all OpenStack Compute - Console Authenticator
ii nova-novncproxy 2:13.0.0-0ubuntu5 all OpenStack Compute - NoVNC proxy
ii nova-scheduler 2:13.0.0-0ubuntu5 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:13.0.0-0ubuntu5 all OpenStack Compute Python libraries
ii python-novaclient 2:3.3.1-2 all client library for OpenStack Compute API - Python 2.7

Revision history for this message
Marc Van de Voorde (mvdv95) wrote :
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

That's the same like bug 1574988 which got resolved with [1] in Newton but not backported to Mitaka or Liberty.

References:
[1] https://git.openstack.org/cgit/openstack/nova/commit/?id=2647f91ae97844a73176fc1c8663d9b186bdec1a

Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
tags: added: mitaka-backport-potential
Changed in nova:
status: Confirmed → Triaged
tags: added: low-hanging-fruit
Changed in nova:
assignee: nobody → Ryan Selden (ryanx-seldon)
Revision history for this message
Marc Van de Voorde (mvdv95) wrote :

Does this mean I need to upgrade to Newton to get it resolved? Is Newton already stable and available to use?

Revision history for this message
Ryan Selden (ryanx-seldon) wrote :

I will try and get the fix that was included in newton backported to Mitaka, which means you wouldn't have to updgrade.

Changed in nova:
status: Triaged → In Progress
Revision history for this message
Marc Van de Voorde (mvdv95) wrote :

Ok, thanks wil you le me know when this is done and how to install this fix, or is this done automatically? Sorry for the questions, but I'm rather new at using openstack.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/344371

Revision history for this message
Ryan Selden (ryanx-seldon) wrote :

Marc,

The patch proposed above will this problem, you just need to wait for it to be merged. Once it is merged to the mitaka branch, then you can re-download the new code for mitaka and you should be good.

Revision history for this message
Marc Van de Voorde (mvdv95) wrote : Re: [Bug 1604428] Re: NoSuchOptError: no such option in group neutron: auth_plugin

Hello Ryan,

sorry again for the maybe stupid question, but how do I "redownload the new
code for Mitaka" to install the patch?

Regards,
Marc

On Tue, Jul 19, 2016 at 7:07 PM, Ryan Selden <email address hidden> wrote:

> Marc,
>
> The patch proposed above will this problem, you just need to wait for it
> to be merged. Once it is merged to the mitaka branch, then you can re-
> download the new code for mitaka and you should be good.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1604428
>
> Title:
> NoSuchOptError: no such option in group neutron: auth_plugin
>
> Status in OpenStack Compute (nova):
> In Progress
>
> Bug description:
> Im' runnign openstack mitaka on a 3 node installation (controller,
> compute and network). I installed it first under ubuntu 14.04 and
> later under ubuntu 16.04, but both have the same error when I try to
> launch an instance.
>
> The error I get is the same using horizon or the command "nova boot
> --image cirros --flavor 1 --nic net-name=test erste".
>
> Errormessage from the command line is
> ERROR (ClientException): 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-2c2bb960-feb8-45ed-a3d1-65b8833d9228)
>
> I'm using the versions below:
> dpkg -l | grep nova
> ii nova-api 2:13.0.0-0ubuntu5
> all OpenStack Compute - API frontend
> ii nova-common 2:13.0.0-0ubuntu5
> all OpenStack Compute - common files
> ii nova-conductor 2:13.0.0-0ubuntu5
> all OpenStack Compute - conductor service
> ii nova-consoleauth 2:13.0.0-0ubuntu5
> all OpenStack Compute - Console Authenticator
> ii nova-novncproxy 2:13.0.0-0ubuntu5
> all OpenStack Compute - NoVNC proxy
> ii nova-scheduler 2:13.0.0-0ubuntu5
> all OpenStack Compute - virtual machine scheduler
> ii python-nova 2:13.0.0-0ubuntu5
> all OpenStack Compute Python libraries
> ii python-novaclient 2:3.3.1-2
> all client library for OpenStack Compute API - Python 2.7
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1604428/+subscriptions
>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/mitaka)

Reviewed: https://review.openstack.org/344371
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=32a9d01c80ba13dd1321aef33073ad5a0b146fda
Submitter: Jenkins
Branch: stable/mitaka

commit 32a9d01c80ba13dd1321aef33073ad5a0b146fda
Author: Wenzhi Yu <wenzhi_yu@163.com>
Date: Tue Apr 26 18:55:16 2016 +0800

    Fix NoSuchOptError when referring to conf.neutron.auth_plugin

    Backporting to Mitaka

    We already replaced 'auth_plugin' with 'auth_type'[1], now an
    oslo_config.cfg.NoSuchOptError will be threw up when referring to
    conf.neutron.auth_plugin.

    This commit replace the usage of conf.neutron.auth_plugin by
    conf.neutron.auth_type.

    [1]https://github.com/openstack/keystoneauth/commit/a56ed4218aef5a2e528aa682cea967e767dca923

    Change-Id: I0b72f278ba8e28508274079ff284042fb9ea3d64
    Closes-Bug: #1574988
    Closes-Bug: #1604428
    (cherry picked from commit 2647f91ae97844a73176fc1c8663d9b186bdec1a)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/nova 13.1.1

This issue was fixed in the openstack/nova 13.1.1 release.

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

That was a Mitaka bug only as the bug in Newton got fixed with bug 1574988

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Marc Van de Voorde (mvdv95) wrote :

Hello,

I belive I managed to download the tar.gz file for nova 13.1.1, but cna you help me how to install it? Sorry for the basic question, but I'm new to openstack.

Regards,
Marc

Revision history for this message
Marc Van de Voorde (mvdv95) wrote :

Hello,

I figured out how to install it and I cna launch my instance now so don't bother about my previous question.

Thansk to all how helped to get this fix in Mitaka :-).

Regards,
Marc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.