单节点部署OpenStack

关闭防火墙等

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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值