こんにちは。
現在、Devstackを利用してOpenstackをAll-in-oneで構築しようとしております。
stack.shのスクリプトを実行しましたが下記のようなエラーが発生しました。
*OpenstackのバージョンはPikeです。
2018
12018-10-05 01:17:57.195 | +functions:wait_for_service:406 time_stop wait_for_service 22018-10-05 01:17:57.201 | +functions-common:time_stop:2509 local name 32018-10-05 01:17:57.208 | +functions-common:time_stop:2510 local end_time 42018-10-05 01:17:57.214 | +functions-common:time_stop:2511 local elapsed_time 52018-10-05 01:17:57.220 | +functions-common:time_stop:2512 local total 62018-10-05 01:17:57.226 | +functions-common:time_stop:2513 local start_time 72018-10-05 01:17:57.231 | +functions-common:time_stop:2515 name=wait_for_service 82018-10-05 01:17:57.237 | +functions-common:time_stop:2516 start_time=1538702217167 92018-10-05 01:17:57.243 | +functions-common:time_stop:2518 [[ -z 1538702217167 ]] 102018-10-05 01:17:57.251 | ++functions-common:time_stop:2521 date +%s%3N 112018-10-05 01:17:57.257 | +functions-common:time_stop:2521 end_time=1538702277251 122018-10-05 01:17:57.263 | +functions-common:time_stop:2522 elapsed_time=60084 132018-10-05 01:17:57.269 | +functions-common:time_stop:2523 total=223 142018-10-05 01:17:57.274 | +functions-common:time_stop:2525 _TIME_START[$name]= 152018-10-05 01:17:57.280 | +functions-common:time_stop:2526 _TIME_TOTAL[$name]=60307 162018-10-05 01:17:57.286 | +functions:wait_for_service:407 return 124 172018-10-05 01:17:57.292 | +lib/glance:start_glance:355 die 355 'g-api did not start' 182018-10-05 01:17:57.297 | +functions-common:die:186 local exitcode=0 192018-10-05 01:17:57.303 | [Call Trace] 202018-10-05 01:17:57.304 | ./stack.sh:1281:start_glance 212018-10-05 01:17:57.304 | /opt/stack/devstack/lib/glance:355:die 222018-10-05 01:17:57.307 | [ERROR] /opt/stack/devstack/lib/glance:355 g-api did not start 232018-10-05 01:17:58.312 | Error on exit
ここで、g-apiが上がってこなかったと思いまして確認しましたところ
プスセスは実行されているのですが、glanceのModuleを見つけなかったとのような
エラー出力がありました。
Loaded: loaded (/etc/systemd/system/devstack@g-api.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-10-05 11:11:41 JST; 1s ago Main PID: 30419 (uwsgi) Status: "uWSGI is ready" CGroup: /system.slice/system-devstack.slice/devstack@g-api.service ├─30419 glance-apiuWSGI maste ├─30423 glance-apiuWSGI worker └─30424 glance-apiuWSGI worker Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: from glance.common.wsgi_app import init_app Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: ImportError: No module named 'glance'★ここ Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: unable to load app 0 (mountpoint='') (callable not f Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: *** no app loaded. going in full dynamic mode *** Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: Traceback (most recent call last): Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: File "/usr/local/bin/glance-wsgi-api", line 6, in Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: from glance.common.wsgi_app import init_app Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: ImportError: No module named 'glance' Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: unable to load app 0 (mountpoint='') (callable not f Oct 05 11:11:41 [host name] devstack@g-api.service[30419]: *** no app loaded. going in full dynamic mode ***
現在、サーバにインストールされているpythonは2.7となり、GlanceのModuleは実装されていると思いますが、
Glance関連python
1glanceclient 2glance.egg-link 3glance_store 4glance_store-0.22.0.dist-info 5python_glanceclient-2.8.0.dist-inf 6
解決策ご存知の方、いらっしゃいますでしょうか。
ご確認ほど、宜しく御願いします。
あなたの回答
tips
プレビュー