no such option keystone_authtoken in group [DEFAULT]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API Charm |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Trying to integrate Infoblox with neutron-api, I've got the following error:
2019-06-18 19:14:11.051 18024 CRITICAL neutron [req-8c1f28cf-
2019-06-18 19:14:11.051 18024 ERROR neutron Traceback (most recent call last):
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/bin/
2019-06-18 19:14:11.051 18024 ERROR neutron sys.exit(main())
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron notification.
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron self._init_
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron self.grid_manager)]
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron self.context, grid_manager=
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron manager.init()
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron NeutronManager.
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron cls._create_
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron return f(*args, **kwargs)
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron cls._instance = cls()
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron plugin_provider)
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron return plugin_class()
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron return f(*args, **kwargs)
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron super(Ml2Plugin, self).__init__()
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron self.nova_notifier = nova.Notifier.
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron cls._instance = cls()
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron auth = ks_loading.
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron name = conf[group]
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron return self.__
2019-06-18 19:14:11.051 18024 ERROR neutron File "/usr/lib/
2019-06-18 19:14:11.051 18024 ERROR neutron raise NoSuchOptError(
2019-06-18 19:14:11.051 18024 ERROR neutron NoSuchOptError: no such option keystone_authtoken in group [DEFAULT]
2019-06-18 19:14:11.051 18024 ERROR neutron
Not sure if it's an openstack issue or Infoblox issue, but I'm sure that keystone_authtoken option inside nova section is not present in the OpenStack documentation:
https:/
https:/
This is the neutron.conf file I have: https:/
Changed in charm-neutron-api: | |
status: | New → Triaged |
The problem seems to be that only the "nova" part of the neutron.conf config is passed and the auth_section, keystone_authtoken, is outside the [nova] heading.
auth = ks_loading. load_auth_ from_conf_ options( cfg.CONF, 'nova')
So it errors with a missing section.
We have had this in the nova section since icehouse. It is possible it is no longer necessary but we will have to verify that. I'll discuss with the team.