1

我正在使用多合一单机设置安装 openstack,我为 devstack 设置运行 stack.sh 脚本。在启动 Glance 服务时,我的控制台上出现以下错误:

++::                                        curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}' http://10.10.20.10/image
+::                                        [[ 503 == 503 ]]
+::                                        sleep 1
+functions:wait_for_service:485            rval=124
+functions:wait_for_service:490            time_stop wait_for_service
+functions-common:time_stop:2310           local name
+functions-common:time_stop:2311           local end_time
+functions-common:time_stop:2312           local elapsed_time
+functions-common:time_stop:2313           local total
+functions-common:time_stop:2314           local start_time
+functions-common:time_stop:2316           name=wait_for_service
+functions-common:time_stop:2317           start_time=1602763779096
+functions-common:time_stop:2319           [[ -z 1602763779096 ]]
++functions-common:time_stop:2322           date +%s%3N
+functions-common:time_stop:2322           end_time=1602763839214
+functions-common:time_stop:2323           elapsed_time=60118
+functions-common:time_stop:2324           total=569
+functions-common:time_stop:2326           _TIME_START[$name]=
+functions-common:time_stop:2327           _TIME_TOTAL[$name]=60687
+functions:wait_for_service:491            return 124
+lib/glance:start_glance:480               die 480 'g-api did not start'
+functions-common:die:198                  local exitcode=0
+functions-common:die:199                  set +o xtrace
[Call Trace]
./stack.sh:1306:start_glance
/opt/stack/devstack/lib/glance:480:die
[ERROR] /opt/stack/devstack/lib/glance:480 g-api did not start
Error on exit
World dumping... see /opt/stack/logs/worlddump-2020-10-15-121040.txt for details
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found

我还尝试增加超时持续时间,但它也失败了,并且还验证了 devstack@g-api.service 处于活动状态。有人可以让我知道这个问题背后的确切原因是什么以及如何解决它。

4

1 回答 1

1

唯一的解决方案是重新加载整个系统,包括操作系统

于 2020-12-09T11:40:12.283 回答