我想在我的OpenStack的安裝與此COMMANDE創建圖像:glance image-create --name "cirros-0.3.3-x86_64" --disk-format qcow2 --container-format bare -is-public true --progress <cirros-0.3.3-x86_64-disk.img
創建一目瞭然圖像403禁止訪問
,但我得到的HTML的錯誤消息: <html><head><title>403 forbidden access</title>...
我檢查我的日誌文件,註冊表日誌文件我發現這個: 2015-01-20 17:52:08.794 2579 INFO glance.wsgi.server [-] Removing dead child 2585 2015-01-20 17:52:08.796 2579 INFO glance.wsgi.server [-] Started child 2671 2015-01-20 17:52:08.797 2579 DEBUG glance.wsgi.server [-] Exited wait_on_children /usr/lib/python2.7/dist-packages/glance/common/wsgi.py:300 2015-01-20 17:52:08.802 2671 INFO glance.wsgi.server [-] (2671) wsgi starting up on http://0.0.0.0:9292/ 2015-01-20 17:52:08.803 2671 INFO glance.wsgi.server [-] Child 2671 exiting normally 2015-01-20 17:52:09.149 2673 ERROR glance_store._drivers.filesystem [-] Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option 2015-01-20 17:52:09.150 2673 WARNING glance_store.driver [-] Failed to configure store correctly: None Disabling add method. 2015-01-20 17:52:09.150 2673 ERROR glance_store._drivers.filesystem [-] Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option 2015-01-20 17:52:09.151 2673 WARNING glance_store.driver [-] Failed to configure store correctly: None Disabling add method. 2015-01-20 18:07:52.719 2931 ERROR glance_store._drivers.filesystem [-] Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option 2015-01-20 18:07:52.720 2931 WARNING glance_store.driver [-] Failed to configure store correctly: None Disabling add method. 2015-01-20 18:07:52.720 2931 ERROR glance_store._drivers.filesystem [-] Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option 2015-01-20 18:07:52.721 2931 WARNING glance_store.driver [-] Failed to configure store correctly: None Disabling add method.
我已經在配置文件中設置filesystem_store_datadir,但我不明白爲什麼它不斷顯示我這個錯誤?
而且我的英語不好:)
認爲它正在工作,但是如何配置我的帳戶策略以授予此選項? – 2015-01-22 13:11:40
你可能不是管理員。如何將「publicize_image」:「」添加到/etc/glance/policy.json中 – Aki 2015-01-26 03:57:48