各位大侠请帮忙troubleshoot,glance-registry能正常启动但glance-api启动之后就自动停止。
部署方式参考“About云”和《openstack部署实践2版》.尝试这两个渠道去修改配置文件,还是同样的现象。以下是glance-api.log输出信息:
2016-08-03 23:47:32.840 4934 ERROR glance.store.sheepdog [-] Error in store configuration: [Errno 2] No such file or directory
2016-08-03 23:47:32.841 4934 WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: [Errno 2] No such file or directory Disabling add method.
2016-08-03 23:47:32.842 4934 WARNING glance.store [-] Deprecated: glance.store.sheepdog.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.844 4934 WARNING glance.store [-] Deprecated: glance.store.rbd.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.845 4934 WARNING glance.store.base [-] Failed to configure store correctly: Store gridfs could not be configured correctly. Reason: Missing dependencies: pymongo Disabling add method.
2016-08-03 23:47:32.846 4934 WARNING glance.store [-] Deprecated: glance.store.gridfs.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.894 4934 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.
2016-08-03 23:47:32.895 4934 WARNING glance.store [-] Deprecated: glance.store.cinder.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.900 4934 WARNING glance.store [-] Deprecated: glance.store.swift.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.923 4934 WARNING glance.store [-] Deprecated: glance.store.vmware_datastore.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.925 4934 WARNING glance.store [-] Deprecated: glance.store.s3.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2016-08-03 23:47:32.928 4934 CRITICAL glance [-] IOError: [Errno 2] No such file or directory: '/etc/glance/glance-api-paste.ini\nPartial name of a pipeline in your paste configuration file with the'
2016-08-03 23:47:32.928 4934 TRACE glance Traceback (most recent call last):
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/bin/glance-api", line 10, in <module>
2016-08-03 23:47:32.928 4934 TRACE glance sys.exit(main())
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 63, in main
2016-08-03 23:47:32.928 4934 TRACE glance server.start(config.load_paste_app('glance-api'), default_port=9292)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 210, in load_paste_app
2016-08-03 23:47:32.928 4934 TRACE glance app = deploy.loadapp("config:%s" % conf_file, name=app_name)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-08-03 23:47:32.928 4934 TRACE glance return loadobj(APP, uri, name=name, **kw)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
2016-08-03 23:47:32.928 4934 TRACE glance global_conf=global_conf)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
2016-08-03 23:47:32.928 4934 TRACE glance global_conf=global_conf)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 317, in _loadconfig
2016-08-03 23:47:32.928 4934 TRACE glance loader = ConfigLoader(path)
2016-08-03 23:47:32.928 4934 TRACE glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 393, in __init__
2016-08-03 23:47:32.928 4934 TRACE glance with open(filename) as f:
2016-08-03 23:47:32.928 4934 TRACE glance IOError: [Errno 2] No such file or directory: '/etc/glance/glance-api-paste.ini\nPartial name of a pipeline in your paste configuration file with the'
2016-08-03 23:47:32.928 4934 TRACE glance
|