- An example non-happy path (I removed "https" from neutron.url)
Traceback (most recent call last):
File "foo.py", line 76, in <module>
conf.log_opt_values(logger, logging.DEBUG)
File ".../oslo_config/cfg.py", line 2626, in log_opt_values
_sanitize(opt, getattr(group_attr, opt_name)))
File ".../oslo_config/cfg.py", line 3057, in __getattr__
return self._conf._get(name, self._group)
File ".../oslo_config/cfg.py", line 2668, in _get
value = self._do_get(name, group, namespace)
File ".../oslo_config/cfg.py", line 2711, in _do_get
% (opt.name, str(ve)))
oslo_config.cfg.ConfigFileValueError: Value for option url is not valid: invalid URI: '://rdo-ci-fx2-06-s4.v103.rdoci.lab.eng.rdu.redhat.com:13696'
I'm also not seeing this error when I use log_opt_values (like the original traceback) with the config file provided by dtrainor (nova.conf):
- log_opt_values happy path:
******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *** ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === extension_ sync_interval = 600 /rdo-ci- fx2-06- s4.v103. rdoci.lab. eng.rdu. redhat. com:13696
Configuration options gathered from:
command line args: ()
config files: ['nova.conf']
=======
config_dir = None
config_file = ['nova.conf']
neutron.
neutron.ovs_bridge = br-int
neutron.region_name =
neutron.url = https:/
...
******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ***
- An example non-happy path (I removed "https" from neutron.url)
Traceback (most recent call last): log_opt_ values( logger, logging.DEBUG) config/ cfg.py" , line 2626, in log_opt_values config/ cfg.py" , line 3057, in __getattr__ _get(name, self._group) config/ cfg.py" , line 2668, in _get config/ cfg.py" , line 2711, in _do_get cfg.ConfigFileV alueError: Value for option url is not valid: invalid URI: '://rdo- ci-fx2- 06-s4.v103. rdoci.lab. eng.rdu. redhat. com:13696'
File "foo.py", line 76, in <module>
conf.
File ".../oslo_
_sanitize(opt, getattr(group_attr, opt_name)))
File ".../oslo_
return self._conf.
File ".../oslo_
value = self._do_get(name, group, namespace)
File ".../oslo_
% (opt.name, str(ve)))
oslo_config.
So... I'm still not sure how you would end up in an error state with that uri. Does anyone else have an isolated way of reproducing this with the uri: "https:/ /rdo-ci- fx2-06- s4.v103. rdoci.lab. eng.rdu. redhat. com:13696"?