速求大神
root@controller:/home/klc# su -s /bin/sh -c "glance-manage db_sync" glance
Traceback (most recent call last):
File "/usr/bin/glance-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/glance/cmd/manage.py", line 272, in main
usage="%(prog)s [options] <cmd>")
File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 163, in parse_args
default_config_files=default_config_files)
File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1681, in __call__
else sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2227, in _parse_cli_opts
return self._parse_config_files()
File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2241, in _parse_config_files
ConfigParser._parse_file(config_file, namespace)
File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1303, in _parse_file
raise ConfigFileParseError(pe.filename, str(pe))
oslo.config.cfg.ConfigFileParseError: Failed to parse /etc/glance/glance-api.conf: at /etc/glance/glance-api.conf:5, No ':' or '=' found in assignment: 'b Show debugging output in logs (sets DEBUG log level output)'
|