openstack安装遇到异常,求助

牧牛童子 2016-10-29 03:03:29
按照网上说的openstack 一键安装方法,进行最后一步时,似乎有异常。请指点,谢谢!
-------------------------------------------------------------------------------------

[root@centos7 ~]# packstack --allinone
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20161029-144753-G2s0NJ/openstack-setup.log
Packstack changed given value to required value /root/.ssh/id_rsa.pub

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 MongoDB entries [ DONE ]
Preparing Redis entries [ DONE ]
Preparing Ceilometer entries [ DONE ]
Preparing Aodh entries [ DONE ]
Preparing Nagios server entries [ DONE ]
Preparing Nagios host entries [ DONE ]
Preparing Puppet manifests [ DONE ]
Copying Puppet modules and manifests [ DONE ]
Applying 10.10.66.66_controller.pp
Testing if puppet apply is finished: 10.10.66.66_controller.pp --------------------------- 始终停在此处,测试的这个 controller.pp是什么?
...全文
19558 28 打赏 收藏 转发到动态 举报
写回复
用AI写文章
28 条回复
切换为时间正序
请发表友善的回复…
发表回复
nick2060 2020-03-07
  • 打赏
  • 举报
回复
my disk is 4t and memory is 32G,and still fail
[root@localhost ~(keystone_admin)]# df -hl
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 59M 16G 1% /dev/shm
tmpfs 16G 19M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 5.6G 45G 12% /
/dev/loop0 1.9G 6.0M 1.7G 1% /srv/node/swiftloopback
/dev/sda2 1014M 240M 775M 24% /boot
/dev/mapper/centos-home 3.6T 229M 3.6T 1% /home
tmpfs 3.2G 28K 3.2G 1% /run/user/1000
tmpfs 3.2G 0 3.2G 0% /run/user/0

[root@localhost ~(keystone_admin)]# free -hl
total used free shared buff/cache available
Mem: 31G 5.8G 23G 106M 1.7G 24G
Low: 31G 7.5G 23G
High: 0B 0B 0B
Swap: 15G 0B 15G
牧牛童子 2019-05-19
  • 打赏
  • 举报
回复
引用 12 楼 sinat_20806107 的回复:
怎么成功的,我也卡这里了
对不起,时间久了忘了来回复。 换邮个大容量的磁盘、内存的虚拟机,就成功了。 应该是因为内存太小的缘故。(我最先是在笔记本电脑上装的虚拟机,后来换到服务器上,也是VM。就可以了。)
zm-技术共享 2019-05-15
  • 打赏
  • 举报
回复 1
192.168.103.191_controller.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.168.103.191_controller.pp Error: /Stage[main]/Ceilometer::Agent::Central/Service[ceilometer-agent-central]: Could not evaluate: Cannot allocate memory - fork(2) 求解 谢谢
chroot_Wx 2018-09-13
  • 打赏
  • 举报
回复
sync 内存数据存入硬盘了 硬盘满了 full You will find full trace in log /var/tmp/packstack/20170908-185803-jaMvfi/manifests/192.168.1.130_controller.pp.log

解决方法 1 磁盘扩容 2 增加磁盘
jgywoshiyy 2018-01-25
  • 打赏
  • 举报
回复
引用 3 楼 mini_peng 的回复:
Applying 10.10.66.66_controller.pp Testing if puppet apply is finished: 10.10.66.66_controller.pp --------------------------- 始终停在此处,测试的这 到这里,就进行不下去了。
我也是到这里就不动了
nielei255 2017-09-08
  • 打赏
  • 举报
回复
大神门报以下错误怎么解决。 ERROR : Error appeared during Puppet run: 192.168.1.130_controller.pp Error: Failed to apply catalog: Cannot allocate memory - fork(2) You will find full trace in log /var/tmp/packstack/20170908-185803-jaMvfi/manifests/192.168.1.130_controller.pp.log Please check log file /var/tmp/packstack/20170908-185803-jaMvfi/openstack-setup.log for more information Additional information:
sunxiaoya 2017-05-16
  • 打赏
  • 举报
回复
我也遇到了这个问题,用packstack --answer-file=packstack-answers-20170516-125119.txt没有解决,依然是Testing if puppet apply is finished: 192.168.238.135_controller.pp -----停在这里不动,70多分钟也没有任何提示。
sinat_38066262 2017-03-26
  • 打赏
  • 举报
回复
楼主的问题解决了吗?
kemoyou 2017-03-01
  • 打赏
  • 举报
回复
问下,你安装完nagios 可以访问吗,我试过好几次都不可以。 你好像没重启吧 ######### * Because of the kernel update the host 192.168.26.11 requires reboot. #########
lq2003 2017-03-01
  • 打赏
  • 举报
回复
我上述操作是正确的 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 MongoDB entries [ DONE ] Preparing Redis entries [ DONE ] Preparing Ceilometer entries [ DONE ] Preparing Aodh entries [ DONE ] Preparing Nagios server entries [ DONE ] Preparing Nagios host entries [ DONE ] Preparing Puppet manifests [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.26.11_controller.pp 192.168.26.11_controller.pp: [ DONE ] Applying 192.168.26.11_network.pp 192.168.26.11_network.pp: [ DONE ] Applying 192.168.26.12_compute.pp 192.168.26.12_compute.pp: [ DONE ] Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * 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.26.11. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.26.11/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.26.11/nagios username: nagiosadmin, password: 8d0a6ebd8e774e87 * Because of the kernel update the host 192.168.26.11 requires reboot. * The installation log file is available at: /var/tmp/packstack/20170301-144639-ne6QOF/openstack-setup.log * The generated manifests are available at: /var/tmp/packstack/20170301-144639-ne6QOF/manifests
lq2003 2017-03-01
  • 打赏
  • 举报
回复
肯定不是内存的问题 我的两台测试机都是HP 580 16C/32G的配置 $ sudo systemctl disable firewalld $ sudo systemctl stop firewalld $ sudo systemctl disable NetworkManager $ sudo systemctl stop NetworkManager $ sudo systemctl enable network $ sudo systemctl start network 这些操作后,目前还是存在这个问题。
kemoyou 2017-02-28
  • 打赏
  • 举报
回复
大部分情况是由于网络原因造成,在国内被墙了,如果想省事可以使用代理让他慢慢自己跑着。 或分步操作 1. 正常操作#packstack --allinone。等待报错 2. 参考https://www.rdoproject.org/install/quickstart/底部进行二次修改 例如#packstack --answer-file=packstack-answers-20161029-173426.txt If you encounter failures, see the Workarounds page for tips. If you have run Packstack previously, there will be a file in your home directory named something like packstack-answers-20130722-153728.txt You will probably want to use that file again, using the --answer-file option, so that any passwords you have already set (for example, mysql) will be reused. The installer will ask you to enter the root password for each host node you are installing on the network, to enable remote configuration of the host so it can remotely configure each node using Puppet. Once the process is complete, you can log in to the OpenStack web interface Horizon by going to http://$YOURIP/dashboard. The user name is admin. The password can be found in the file keystonerc_admin in the /root directory of the control node.
uytgh7458 2017-02-08
  • 打赏
  • 举报
回复
知道怎么解决了吗
筋斗云计算 2017-01-25
  • 打赏
  • 举报
回复
引用 14 楼 liqilong2010 的回复:
[quote=引用 11 楼 mini_peng 的回复:] 装成功了,重启了系统,http://YourIP/dashboard不成功,发现80端口都没开启。请问重启系统服务如何进行?
怎么解决的啊,,,,,卡在这里了[/quote] 1.内存多少?内存太小,web服务都起不来,当然没有80端口的服务了。 我安装Openstack,服务器内存至少16GB 2、报错的原因,可以通过查看报错内容中给出的日志文件来分析: You will find full trace in log /var/tmp/packstack/20161029-185555-lC632l/manifests/10.10.66.66_controller.pp.log Please check log file /var/tmp/packstack/20161029-185555-lC632l/openstack-setup.log for more information 3. 单独就80端口起不来这个问题,可以查看web的日志,centos下的日志路径在 /var/log/httpd ,ubuntu 下的日志路径为/var/log/apache2
嵌入式小哥 2017-01-23
  • 打赏
  • 举报
回复
引用 11 楼 mini_peng 的回复:
装成功了,重启了系统,http://YourIP/dashboard不成功,发现80端口都没开启。请问重启系统服务如何进行?
怎么解决的啊,,,,,卡在这里了
嵌入式小哥 2017-01-23
  • 打赏
  • 举报
回复
引用 10 楼 mini_peng 的回复:
[quote=引用 8 楼 a15619386731 的回复:] 看的这个教程 在centos7上用RDO安装openstack mitaka - jannanlo - 开源中国社区 https://my.oschina.net/u/857184/blog/719910
我用这个步骤,也是到那一步错误……[/quote] 怎么解决的啊???我这里也是这个问题、、、
sinat_20806107 2017-01-09
  • 打赏
  • 举报
回复
怎么成功的,我也卡这里了
牧牛童子 2016-11-26
  • 打赏
  • 举报
回复
装成功了,重启了系统,http://YourIP/dashboard不成功,发现80端口都没开启。请问重启系统服务如何进行?
牧牛童子 2016-11-26
  • 打赏
  • 举报
回复
引用 8 楼 a15619386731 的回复:
看的这个教程 在centos7上用RDO安装openstack mitaka - jannanlo - 开源中国社区 https://my.oschina.net/u/857184/blog/719910
我用这个步骤,也是到那一步错误……
牧牛童子 2016-11-26
  • 打赏
  • 举报
回复
引用 8 楼 a15619386731 的回复:
看的这个教程 在centos7上用RDO安装openstack mitaka - jannanlo - 开源中国社区 https://my.oschina.net/u/857184/blog/719910
你这个,安装成功了没?
加载更多回复(8)

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧