分享

devstack安装失败求助.错误如下?如何排查?小白求解答

+lib/apache:enable_apache_mod:50           is_ubuntu
+functions-common:is_ubuntu:466            [[ -z deb ]]
+functions-common:is_ubuntu:469            '[' deb = deb ']'
+lib/apache:enable_apache_mod:51           a2query -m wsgi
wsgi (enabled by maintainer script)
+lib/apache:install_apache_wsgi:83         sudo a2enmod version
ERROR: Module version does not exist!
+lib/apache:install_apache_wsgi:83         true
+lib/keystone:install_keystone:571         is_ssl_enabled_service key
+lib/tls:is_ssl_enabled_service:371        local services=key
+lib/tls:is_ssl_enabled_service:372        local service=
+lib/tls:is_ssl_enabled_service:373        '[' False == False ']'
+lib/tls:is_ssl_enabled_service:374        return 1
+lib/stack:stack_install_service:33        [[ False = True ]]
+./stack.sh:main:825                       configure_keystone
+lib/keystone:configure_keystone:200       sudo install -d -o stack /etc/keystone
+lib/keystone:configure_keystone:202       [[ /etc/keystone != \/\o\p\t\/\s\t\a\c\k\/\k\e\y\s\t\o\n\e\/\e\t\c ]]
+lib/keystone:configure_keystone:203       install -m 600 /opt/stack/keystone/etc/keystone.conf.sample /etc/keystone/keystone.conf
+lib/keystone:configure_keystone:204       cp -p /opt/stack/keystone/etc/policy.json /etc/keystone
cp: cannot stat '/opt/stack/keystone/etc/policy.json': No such file or directory
+lib/keystone:configure_keystone:1         exit_trap
+./stack.sh:exit_trap:494                  local r=1
++./stack.sh:exit_trap:495                  jobs -p
+./stack.sh:exit_trap:495                  jobs=
+./stack.sh:exit_trap:498                  [[ -n '' ]]
+./stack.sh:exit_trap:504                  kill_spinner
+./stack.sh:kill_spinner:390               '[' '!' -z '' ']'
+./stack.sh:exit_trap:506                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:507                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:508                  generate-subunit 1524213848 103 fail
+./stack.sh:exit_trap:509                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:512                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2018-04-20-084551.txt for details
+./stack.sh:exit_trap:518                  exit 1


微信截图_20180420165630.png

已有(4)人评论

跳转到指定楼层
sunhaibinxinke 发表于 2018-4-20 17:00:18
Compute consoles
================
()
()
nova-compute Guru Meditation Report
===================================
()
Skipping as nova-compute does not appear to be running
()
neutron-dhcp-agent Guru Meditation Report
=========================================
()
Skipping as neutron-dhcp-agent does not appear to be running
()
neutron-l3-agent Guru Meditation Report
=======================================
()
Skipping as neutron-l3-agent does not appear to be running
()
neutron-linuxbridge-agent Guru Meditation Report
================================================
()
Skipping as neutron-linuxbridge-agent does not appear to be running
()
neutron-metadata-agent Guru Meditation Report
=============================================
()
Skipping as neutron-metadata-agent does not appear to be running
()
neutron-openvswitch-agent Guru Meditation Report
================================================
()
Skipping as neutron-openvswitch-agent does not appear to be running
回复

使用道具 举报

hello2018 发表于 2018-4-20 20:44:04
sunhaibinxinke 发表于 2018-4-20 17:00
Compute consoles
================
()

1.检测用户权限
2.pip是否安装成功
apt-get install python-pip
3.Python版本是否对应
回复

使用道具 举报

sunhaibinxinke 发表于 2018-4-21 16:09:53
hello2018 发表于 2018-4-20 20:44
1.检测用户权限
2.pip是否安装成功
apt-get install python-pip

用户就是执行脚本创建的stack用户,需要单独开什么权限么?pip安装了。python版本是否匹配怎么看?
回复

使用道具 举报

wx_Z099dL66 发表于 2018-8-10 15:51:21
你好,你安装好了吗?我和你的错误一样的,能请教下吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条