yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48641
[Bug 1557992] [NEW] NoSuchOptError: no such option: service_auth when using local cert manager
You have been subscribed to a public bug:
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
** Affects: neutron
Importance: Undecided
Assignee: Yang Yu (yuyangbj)
Status: New
--
NoSuchOptError: no such option: service_auth when using local cert manager
https://bugs.launchpad.net/bugs/1557992
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.