当前位置:网站首页>oslo_ config. cfg. ConfigFileParseError: Failed to parse /etc/glance/glance-api. Conf: a solution to errors
oslo_ config. cfg. ConfigFileParseError: Failed to parse /etc/glance/glance-api. Conf: a solution to errors
2022-06-30 04:07:00 【Xiao Zhu, classmate Wu】
To configure openstack Of glance When mirroring services , Need to put glance The two configuration files of are written to the corresponding mysql Of glance database .
Running su -s /bin/sh -c "glance-manage db_sync" glance The command reported the following error .
[[email protected] ~]# 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/site-packages/glance/cmd/manage.py", line 555, in main
config.parse_args(default_config_files=cfg_files)
File "/usr/lib/python2.7/site-packages/glance/common/config.py", line 710, in parse_args
default_config_files=default_config_files)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2132, in __call__
else sys.argv[1:])
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2897, in _parse_cli_opts
return self._parse_config_files()
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2914, in _parse_config_files
ConfigParser._parse_file(config_file, namespace)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1606, 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:5504, Unexpected continuation line: ' flavor = keystone'
The reason for this error ' flavor = keystone' This line is preceded by a space , Just delete the blank space .
边栏推荐
- [Thesis reading | deep reading] role2vec:role based graph embeddings
- Interface testing -- how to analyze an interface?
- Grasp grpc communication framework in simple terms
- 如何通过进程启动来分析和解决EasyCVR内核端口报错问题?
- Day 9 script and resource management
- I spent three years in a big factory outsourcing, which subverted my understanding!
- (Reprinted) an article will take you to understand the reproducing kernel Hilbert space (RKHS) and various spaces
- About manipulator on Intelligent Vision Group
- Use ideal to connect to the database. The results show some warnings. How to deal with this part
- Radiant energy, irradiance and radiance
猜你喜欢

(04).NET MAUI实战 MVVM

【论文阅读|深读】DANE:Deep Attributed Network Embedding

绿色新动力,算力“零”负担——JASMINER X4系列火爆热销中

两个月拿到N个offer,什么难搞的面试官在我这里都不算事
![[Thesis reading | deep reading] role2vec:role based graph embeddings](/img/69/c94700fbbbda20df4e54803c703b48.png)
[Thesis reading | deep reading] role2vec:role based graph embeddings

Troubleshoot abnormal video playback problems in public network deployment based on Haikang ehomedemo tool

Selenium environment installation, 8 elements positioning --01

lego_ Reading and summary of loam code

【云原生】AI云开发平台——AI Model Foundry介绍(开发者可免费体验AI训练模型)

Do280 private warehouse persistent storage and chapter experiment
随机推荐
How to use Jersey to get the complete rest request body- How to get full REST request body using Jersey?
Pytorch Profiler+ Tensorboard + VS Code
DRF -- nested serializer (multi table joint query)
【模糊神经网络预测】基于模糊神经网络实现水质预测含Matlab源码
找到接口在表单里加参数
After the win10 system uses the browser to download, the content is moved or deleted without reason
Graduation project EMS office management system (b/s structure) +j2ee+sqlserver8.0
Error encountered in SQL statement, solve
SQLyog导入数据库时报错,求帮解决!
第十天 数据的保存与加载
Introduction to cloud native + container concept
[note] May 23, 2022 MySQL
【作业】2022.5.24 MySQL 查操作
学校实训要做一个注册页面,要打开数据库把注册页面输入的内容存进数据库但是
SQL追加字段
[punch in - Blue Bridge Cup] day 3 --- slice in reverse order list[: -1]
Solutions for project paths
将DataBinding整合到Activity/Fragment的一种极简方式
巧用 Bitmap 实现亿级海量数据统计
Magical Union