packstack安装openstack
先去看 将selinux 的值设置成disabled - python,菜鸟 - 博客园 (cnblogs.com)
在看 ping: www.baidu.com: 未知的名称或服务 - python,菜鸟 - 博客园 (cnblogs.com)
作者:小辉
1.2.2 初始化操作
关闭防火墙与和核心防护,NetworkManager
[root@openstack ~]# systemctl stop firewalld '//关闭防护墙'
[root@openstack ~]# systemctl disable firewalld '/取消开机自启'
2,关闭网络管理工具,取消开机自启
[root@openstack ~]# systemctl disable NetworkManager
[root@openstack ~]# systemctl stop NetworkManager
3启用network
systemctl enable network &&\
systemctl start network
0.2 IP与域名(或主机名)映射 ip地址和主机名
同步时间
ntpdate ntp.aliyum.com >>/var/log/ntpdate.log
4.安装openstack queens版本库
#yum install -y centos-release-openstack-queens
#yum update -y
重启
#reboot
5.安装packstack库
[root@xxh hui]# yum install -y openstack-packstack
6.开始部署openstack
packstack -d --allinone
没什么问题的话内容是是这样的 ,可能会问题可以去看这里 Packstack 搭建 OpenStack 报 错误的处理 - python,菜鸟 - 博客园 (cnblogs.com) 先看一下能不能等入openstack
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | [root@xxh ~]# ntpdate ntp.aliyum.com >>/ var /log/ntpdate.log 12 Sep 20:27:20 ntpdate[75710]: no server suitable for synchronization found [root@xxh ~]# packstack --allinone Welcome to the Packstack setup utility The installation log file is available at: / var /tmp/packstack/20220912-202725-Pnelkh/openstack-setup.log Installing: Clean Up [ DONE ] Discovering ip protocol version [ DONE ] Setting up ssh keys [ DONE ] Preparing servers [ DONE ] Pre installing Puppet and discovering hosts' details [ DONE ] Preparing pre-install entries [ DONE ] Setting up CACERT [ DONE ] Preparing AMQP entries [ DONE ] Preparing MariaDB entries [ DONE ] Fixing Keystone LDAP config parameters to be undef if empty[ DONE ] Preparing Keystone entries [ DONE ] Preparing Glance entries [ DONE ] Checking if the Cinder server has a cinder-volumes vg[ DONE ] Preparing Cinder entries [ DONE ] Preparing Nova API entries [ DONE ] Creating ssh keys for Nova migration [ DONE ] Gathering ssh host keys for Nova migration [ DONE ] Preparing Nova Compute entries [ DONE ] Preparing Nova Scheduler entries [ DONE ] Preparing Nova VNC Proxy entries [ DONE ] Preparing OpenStack Network-related Nova entries [ DONE ] Preparing Nova Common entries [ DONE ] Preparing Neutron LBaaS Agent entries [ DONE ] Preparing Neutron API entries [ DONE ] Preparing Neutron L3 entries [ DONE ] Preparing Neutron L2 Agent entries [ DONE ] Preparing Neutron DHCP Agent entries [ DONE ] Preparing Neutron Metering Agent entries [ DONE ] Checking if NetworkManager is enabled and running [ DONE ] Preparing OpenStack Client entries [ DONE ] Preparing Horizon entries [ DONE ] Preparing Swift builder entries [ DONE ] Preparing Swift proxy entries [ DONE ] Preparing Swift storage entries [ DONE ] Preparing Gnocchi entries [ DONE ] Preparing Redis entries [ DONE ] Preparing Ceilometer entries [ DONE ] Preparing Aodh entries [ DONE ] Preparing Puppet manifests [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.213.120_controller.pp 192.168.213.120_controller.pp: [ DONE ] Applying 192.168.213.120_network.pp 192.168.213.120_network.pp: [ DONE ] Applying 192.168.213.120_compute.pp 192.168.213.120_compute.pp: [ DONE ] Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * A new answerfile was created in : /root/packstack-answers-20220912-202725.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 192.168.213.120. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http: //192.168.213.120/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * The installation log file is available at: / var /tmp/packstack/20220912-202725-Pnelkh/openstack-setup.log * The generated manifests are available at: / var /tmp/packstack/20220912-202725-Pnelkh/manifests |
们可以访问http://192.168.101.128/dashboard 进入OpenStack的管理界面
[root@openstack ~]# cat ./keystonerc_admin 查看账号密码
查看用户民和密码
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix