self._namespace = self._parse_cli_opts(args if args is not None else sys.argv[1:])
+ print(vars(self._namespace))
if self._namespace._files_not_found:
raise ConfigFilesNotFoundError(self._namespace._files_not_found)
if self._namespace._files_permission_denied:
```
The issue seems to actually lie in oslo.config
The stock (before the groupadd of the above link) config is not accessible by non-root
```
-rw-r----- 1 root placement 26376 Mar 12 09:46 placement.conf
```
The config doesn't exist for oslo.config
``` config/ cfg.py config/ cfg.py abc.Mapping) :
'- -version' ,
action= 'version' ,
version= version) config_ files, default_config_dirs
--- a/oslo_
+++ b/oslo_
@@ -2028,7 +2028,7 @@ class ConfigOpts(
-
+ print(locals())
return prog, default_
```
``` cfg.ConfigOpts object at 0x7f813ec76da0>, 'project': 'placement', 'prog': 'placement-status', 'version': None, 'usage': None, 'description': None, 'epilog': None, 'default_ config_ files': [], 'default_ config_ dirs': []}
{'self': <oslo_config.
```
``` config/ cfg.py config/ cfg.py abc.Mapping) :
--- a/oslo_
+++ b/oslo_
@@ -2163,6 +2163,7 @@ class ConfigOpts(
+ print(vars(
if self._namespace
raise ConfigFilesNotF
if self._namespace
```
{'_conf': <oslo_config. cfg.ConfigOpts object at 0x7ff59557eda0>, '_parsed': [], '_normalized': [], '_emitted_ deprecations' : set(), '_files_not_found': [], '_files_ permission_ denied' : [], '_config_dirs': [], '_sections_ to_file' : {}, 'command': 'upgrade', 'config_dir': None, 'config_file': None, 'debug': None, 'log_config_ append' : None, 'log_date_format': None, 'log_dir': None, 'log_file': None, 'use_journal': None, 'use_json': None, 'use_syslog': None, 'watch_log_file': None, 'syslog_ log_facility' : None, 'check': 'check', 'json': False, 'action_fn': <bound method UpgradeCommands .check of <placement. cmd.status. Checks object at 0x7ff592ecaf50>>}
It fills neither `_files_not_found` nor `_files_ permission_ denied`