[Description]
swift pollster doesn't import service_credentials.
cfg.CONF.service_credentials is used L72 in swift.py but there is no import_group
method calling here.
67 def _get_endpoint(ksclient):
68 # we store the endpoint as a base class attribute, so keystone is
69 # only ever called once
70 if _Base._ENDPOINT is None:
71 try:
72 conf = cfg.CONF.service_credentials
73 _Base._ENDPOINT = ksclient.service_catalog.url_for(
74 service_type=cfg.CONF.service_types.swift,
75 endpoint_type=conf.os_endpoint_type)
76 except exceptions.EndpointNotFound:
77 LOG.debug(_("Swift endpoint not found"))
78 return _Base._ENDPOINT
[Version details]
-
[Crystal clear details to reproduce the bug]
-
[Test environment details]
-
[Actual results]
-
[Expected results]
-
I would like to have this bug if possible.
Fix proposed to branch: master /review. openstack. org/124318
Review: https:/