请教各位,CentOS 6.5离线安装icehouse成功后运行错误问题。

代码誊写工 代码誊写工 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
上周开始接触openstack,试着用RDO all in one方式安装openstack icehouse。
1.先进行初始化安装,安装了一台安装有CentOS 6.5 minimal的vmware player下虚拟机,设置了/etc/sysconfig/network-scripts/ifcfg-eth0,/etc/sysconfig/network,/etc/hosts,关闭了selinux,清空了iptables和ip6tables的规则。该虚拟机可以路由并访问到互联网。
2.安装icehoust yum repos配置
rpm -ivh https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm

3.安装epel yum repos配置
rpm -ivh http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm

4.把CentOS 6.5 x86_64两个DVD iso文件挂载在虚拟机/media/CentOS和/media/cdrom下,除了CentOS本地源,禁用了其它CentOS外网的源。
5.清空yum cache等,重新yun makecache,然后yum update,重启。
6.安装packstack
7.运行packestack packstack --allinone --provision-demo=n CONFIG_CINDER_VOLUMES_CREATE=n
显示成功
[root@openstackallinone ~]# packstack --allinone --provision-demo=n CONFIG_CINDER_VOLUMES_CREATE=n
Welcome to Installer setup utility

Installing:
Clean Up [ DONE ]
Setting up ssh keys [ DONE ]
Discovering hosts' details [ DONE ]
Adding pre install manifest entries [ DONE ]
Preparing servers [ DONE ]
Adding AMQP manifest entries [ DONE ]
Adding MySQL manifest entries [ DONE ]
Adding Keystone manifest entries [ DONE ]
Adding Glance Keystone manifest entries [ DONE ]
Adding Glance manifest entries [ DONE ]
Adding Cinder Keystone manifest entries [ DONE ]
Adding Cinder manifest entries [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Nova API manifest entries [ DONE ]
Adding Nova Keystone manifest entries [ DONE ]
Adding Nova Cert manifest entries [ DONE ]
Adding Nova Conductor manifest entries [ DONE ]
Creating ssh keys for Nova migration [ DONE ]
Gathering ssh host keys for Nova migration [ DONE ]
Adding Nova Compute manifest entries [ DONE ]
Adding Nova Scheduler manifest entries [ DONE ]
Adding Nova VNC Proxy manifest entries [ DONE ]
Adding Openstack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries [ DONE ]
Adding Neutron API manifest entries [ DONE ]
Adding Neutron Keystone manifest entries [ DONE ]
Adding Neutron L3 manifest entries [ DONE ]
Adding Neutron L2 Agent manifest entries [ DONE ]
Adding Neutron DHCP Agent manifest entries [ DONE ]
Adding Neutron LBaaS Agent manifest entries [ DONE ]
Adding Neutron Metering Agent manifest entries [ DONE ]
Adding Neutron Metadata Agent manifest entries [ DONE ]
Checking if NetworkManager is enabled and running [ DONE ]
Adding OpenStack Client manifest entries [ DONE ]
Adding Horizon manifest entries [ DONE ]
Adding Swift Keystone manifest entries [ DONE ]
Adding Swift builder manifest entries [ DONE ]
Adding Swift proxy manifest entries [ DONE ]
Adding Swift storage manifest entries [ DONE ]
Adding Swift common manifest entries [ DONE ]
Adding MongoDB manifest entries [ DONE ]
Adding Ceilometer manifest entries [ DONE ]
Adding Ceilometer Keystone manifest entries [ DONE ]
Adding Nagios server manifest entries [ DONE ]
Adding Nagios host manifest entries [ DONE ]
Adding post install manifest entries [ DONE ]
Installing Dependencies [ DONE ]
Copying Puppet modules and manifests [ DONE ]
Applying 192.168.200.101_prescript.pp
192.168.200.101_prescript.pp: [ DONE ]
Applying 192.168.200.101_amqp.pp
Applying 192.168.200.101_mysql.pp
192.168.200.101_amqp.pp: [ DONE ]
192.168.200.101_mysql.pp: [ DONE ]
Applying 192.168.200.101_keystone.pp
Applying 192.168.200.101_glance.pp
Applying 192.168.200.101_cinder.pp
192.168.200.101_keystone.pp: [ DONE ]
192.168.200.101_glance.pp: [ DONE ]
192.168.200.101_cinder.pp: [ DONE ]
Applying 192.168.200.101_api_nova.pp
192.168.200.101_api_nova.pp: [ DONE ]
Applying 192.168.200.101_nova.pp
192.168.200.101_nova.pp: [ DONE ]
Applying 192.168.200.101_neutron.pp
192.168.200.101_neutron.pp: [ DONE ]
Applying 192.168.200.101_neutron_fwaas.pp
Applying 192.168.200.101_osclient.pp
Applying 192.168.200.101_horizon.pp
192.168.200.101_neutron_fwaas.pp: [ DONE ]
192.168.200.101_horizon.pp: [ DONE ]
192.168.200.101_osclient.pp: [ DONE ]
Applying 192.168.200.101_ring_swift.pp
192.168.200.101_ring_swift.pp: [ DONE ]
Applying 192.168.200.101_swift.pp
192.168.200.101_swift.pp: [ DONE ]
Applying 192.168.200.101_mongodb.pp
192.168.200.101_mongodb.pp: [ DONE ]
Applying 192.168.200.101_ceilometer.pp
Applying 192.168.200.101_nagios.pp
Applying 192.168.200.101_nagios_nrpe.pp
192.168.200.101_ceilometer.pp: [ DONE ]
192.168.200.101_nagios.pp: [ DONE ]
192.168.200.101_nagios_nrpe.pp: [ DONE ]
Applying 192.168.200.101_postscript.pp
192.168.200.101_postscript.pp: [ DONE ]
Applying Puppet manifests [ DONE ]
Finalizing [ DONE ]

**** Installation completed successfully ******


Additional information:
* A new answerfile was created in: /root/packstack-answers-20140909-193418.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* Did not create a cinder volume group, one already existed
* File /root/keystonerc_admin has been created on OpenStack client host 192.168.200.101. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.200.101/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http://192.168.200.101/nagios username: nagiosadmin, password: 657374d2e7254c02
* The installation log file is available at: /var/tmp/packstack/20140909-193418-kNQB0f/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20140909-193418-kNQB0f/manifests

访问http://192.168.200.101/dashboard/,按要求输入用户和密码,成功进入管理页面。


为了测试,我重建一个虚拟机,没有用rpm安装EPEL,icehouse的release源配置文件,而是手工把epel.repo,puppetlabs.repo,foreman.repo和rdo-release.repo文件,以及RPM-GPG-KEY-puppetlabs,RPM-GPG-KEY-foreman,RPM-GPG-KEY-EPEL-6,RPM-GPG-KEY-RDO-Icehouse文件拷贝到新虚拟机,其它设置同上,安装成功,dashboard页面访问成功。

为了不依赖互联网,我尝试用wget下载各个源到一个内网的http服务器上,重新安装虚拟机,修改虚拟机repo文件指向本地http,安装后命令行和上面显示一致,但是访问dashboard就出现了错误。

删除下载的文件,再重新下载(由于epel太大,镜像很多,不含源码18G,通常要下载一个晚上),问题依然。而且我自己写了个命令来测试文件是否下载正确(只能保证按网站的文件名都下载了,网站没有为文件提供哈希校验码,无法检查每个文件是否正确),至少所有的文件都下载了(epel有1万多文件)。
由于对openstack不了解,而且安装过程始终没有报错,查看openstack-setup.log和manifests下的那堆log没有发现与internet安装有何不同,访问dashboard的错误原因又不显示。
按说网上很多离线安装的内容,我这儿除了源下载在本地(而且换着花样的下载),其它一切一样,安装也不报错。有没有碰到了类似问题的前辈,万望指教。
...全文

相关推荐

Openstack安装相关包-icehouse版-centos6.5-缺少的包.rar

Openstack安装相关包-icehouse版-centos6.5-缺少的包 Openstack安装相关包 Openstack安装相关包

尕聪明

软件招标技术规格书:从法律契约到工程落地的全链路指南

软件招标技术规格书是政企类项目中兼具法律效力与工程约束力的核心交付依据,其本质是将模糊业务需求转化为可验证、可审计、可追溯的技术参数。理解其结构逻辑(功能/非功能/数据/安全/国产化五大刚性章节),掌握国产化适配(麒麟V10 SP1、达梦V8.1)与等保三级要求的代码级拆解方法,是保障投标合规性与交付可行性的关键。它不仅决定技术评分权重,更直接绑定验收标准、违约责任与付款节奏。本文聚焦技术规格书的工程化响应策略,覆盖信创环境适配、性能压测验证、安全审计落地等高频实践痛点,助力架构师与交付负责人跨越‘写得对’

weixin_34242509

openstack-icehouse-Centos6.7x86-64.pdf

OpenStack部署实践

好酒要配大菜

openstack-icehouse-installer-ubuntu1404lts:Ubuntu Server 14.04LTS 上 OpenStack ICEHOUSE 的半自动安装程序

OpenStack 的无人值守(半自动)安装程序 (ICEHOUSE) Reynaldo R. Martinez P. 电子邮件: 委内瑞拉加拉加斯。 介绍 此安装程序旨在自动化创建基于 OpenStack 的虚拟化基础架构的任务。 到目前为止,安装程序有四种“风格”,一种用于 Debian 7,一种用于 Centos 6,一种用于 Centos 7,最后一种用于 Ubuntu 14.04 LTS。 所有四个版本都生成了可用于生产的 OpenStack,但我们建议 Centos 7 等待操作系统足够成熟,然后才真正考虑将其用于生产。 综上所述,这个安装程序可以在生产环境中生成一个完全可用的 OpenStack Icehouse,但是,请记住,“错误”因素不取决于我们,而是取决于 OpenStack 项目以及他们为 centos、debian 和 ubuntu 打包的项目。 另请注意

按剑四顾

yum openstack 源配置

openstack-install-guide-yum-juno 配置 juno 源 用yum直接安装

fegee2008
评论 3
收藏 已收藏
分享
返回顶部
代码誊写工
OpenStack 1,011 成员 1,396 内容