yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52206
[Bug 1557992] Re: NoSuchOptError: no such option: service_auth when using local cert manager
Reviewed: https://review.openstack.org/293352
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=f271c8c13954654a1bb41badc51fee9cdacf72f1
Submitter: Jenkins
Branch: master
commit f271c8c13954654a1bb41badc51fee9cdacf72f1
Author: yuyangbj <yangyu@xxxxxxxxxx>
Date: Fri Mar 18 10:46:53 2016 +0800
Fix no such option defined for service_auth
The service_auth is only defined in keystone.py, but the keystone.py
is only imported by barbican cert manager. So importing the registration
into cert_manager.py
Closes-Bug: #1557992
Change-Id: Idf1468ade6c9435cd5c781504c4e74fe55eb4e8c
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1557992
Title:
NoSuchOptError: no such option: service_auth when using local cert
manager
Status in neutron:
Fix Released
Bug description:
When changing the default cert manager barbican to local cert manager
using vmware edge driver, it threw an exception below, that was
because the method get_service_url is defined in parent module
cert_manager.py, but the service_auth is only registered in
keystone.py which is imported by barbican.
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 463, in _call_driver_operation
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin driver_method(context, db_entity)
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 46, in wrapper
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin return method(*args, **kwargs)
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/vmware/edge_driver_v2.py", line 91, in create
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin context, listener, certificate=self._get_default_cert(listener))
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/vmware/edge_driver_v2.py", line 84, in _get_default_cert
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin return cert_backend.CertManager.get_cert(
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/vmware/edge_driver_v2.py", line 73, in _get_service_url
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin cfg.CONF.service_auth.service_name,
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1870, in __getattr__
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin raise NoSuchOptError(name)
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin NoSuchOptError: no such option: service_auth
2016-03-04 11:45:10.461 27366 TRACE neutron_lbaas.services.loadbalancer.plugin
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1557992/+subscriptions