关闭防火墙等
systemctl stop firewalld
setenforce 0
安装openstack-packstack
yum -y install openstack-packstack
等待安装
packstack --allinone
密码查看
安装成功后到以下文件查看dashboard账号和密码
/root/keystonerc_admin
控制面板登录地址
相关问题
问题一
Applying 192.168.1.2_controller.pp
192.168.1.2_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.1.2_controller.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone' returned 1: Error: Package: python2-qpid-proton-0.26.0-2.el7.x86_64 (openstack-train)
You will find full trace in log /var/tmp/packstack/20230313-222955-wMnBQx/manifests/192.168.1.2_controller.pp.log
Please check log file /var/tmp/packstack/20230313-222955-wMnBQx/openstack-setup.log for more information
Additional information:
* Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the VPNaaS or FWaaS services. Geneve will be used as the encapsulation method for tenant networks
* A new answerfile was created in: /root/packstack-answers-20230313-222956.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* Warning: NetworkManager is active on 192.168.1.2. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
* File /root/keystonerc_admin has been created on OpenStack client host 192.168.1.2. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.1.2/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
手动执行
问题二
192.168.1.2_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.1.2_controller.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-nova-novncproxy' returned 1: Transaction check error:
You will find full trace in log /var/tmp/packstack/20230313-224958-g6U8Iy/manifests/192.168.1.2_controller.pp.log
Please check log file /var/tmp/packstack/20230313-224958-g6U8Iy/openstack-setup.log for more information
Additional information:
* Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the VPNaaS or FWaaS services. Geneve will be used as the encapsulation method for tenant networks
* A new answerfile was created in: /root/packstack-answers-20230313-224958.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* Warning: NetworkManager is active on 192.168.1.2. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
* File /root/keystonerc_admin has been created on OpenStack client host 192.168.1.2. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.1.2/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
问题三
Pre installing Puppet and discovering hosts' details[ ERROR ]
ERROR : Failed to run remote script, stdout:
stderr: Warning: Permanently added '192.168.1.2' (ECDSA) to the list of known hosts.
+ trap t ERR
+ facter -p
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory
++ t
++ exit 127
Please check log file /var/tmp/packstack/20230313-222649-67UWgz/openstack-setup.log for more information
Additional information:
* Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the VPNaaS or FWaaS services. Geneve will be used as the encapsulation method for tenant networks
* A new answerfile was created in: /root/packstack-answers-20230313-222650.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
降级leatherman
yum downgrade leatherman