CentOS7.2下一键安装Openstack

CentOS7.2下一键安装Openstack

 

系统环境:
Oracle VirtualBox 4.38
CentOS-7.2-x86_64-bin-DVD1.iso

 

安装前需要修改 /etc/hosts文件,添加 127.0.0.1 dev-100 (dev-100为当前机器名)
否则会报如下错误:
Could not start Service[rabbitmq-server]: Execution of ‘/sbin/service rabbitmq-server start‘ returned 1: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}

 

 

安装步骤:

[[email protected] openstack]# sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
[[email protected] openstack]# sudo yum install -y openstack-packstack
[[email protected] openstack]# packstack --allinone
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 Provisioning Demo 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.1.105_prescript.pp
192.168.1.105_prescript.pp: [ DONE ] 
Applying 192.168.1.105_amqp.pp
Applying 192.168.1.105_mysql.pp
192.168.1.105_amqp.pp: [ DONE ] 
192.168.1.105_mysql.pp: [ DONE ] 
Applying 192.168.1.105_keystone.pp
Applying 192.168.1.105_glance.pp
Applying 192.168.1.105_cinder.pp
192.168.1.105_keystone.pp: [ DONE ] 
192.168.1.105_glance.pp: [ DONE ] 
192.168.1.105_cinder.pp: [ DONE ] 
Applying 192.168.1.105_api_nova.pp
192.168.1.105_api_nova.pp: [ DONE ] 
Applying 192.168.1.105_nova.pp
192.168.1.105_nova.pp: [ DONE ] 
Applying 192.168.1.105_neutron.pp
192.168.1.105_neutron.pp: [ DONE ] 
Applying 192.168.1.105_neutron_fwaas.pp
Applying 192.168.1.105_osclient.pp
Applying 192.168.1.105_horizon.pp
192.168.1.105_neutron_fwaas.pp: [ DONE ] 
192.168.1.105_osclient.pp: [ DONE ] 
192.168.1.105_horizon.pp: [ DONE ] 
Applying 192.168.1.105_ring_swift.pp
192.168.1.105_ring_swift.pp: [ DONE ] 
Applying 192.168.1.105_swift.pp
Applying 192.168.1.105_provision_demo.pp
192.168.1.105_swift.pp: [ DONE ] 
192.168.1.105_provision_demo.pp: [ DONE ] 
Applying 192.168.1.105_mongodb.pp
192.168.1.105_mongodb.pp: [ DONE ] 
Applying 192.168.1.105_ceilometer.pp
Applying 192.168.1.105_nagios.pp
Applying 192.168.1.105_nagios_nrpe.pp
192.168.1.105_ceilometer.pp: [ DONE ] 
192.168.1.105_nagios.pp: [ DONE ] 
192.168.1.105_nagios_nrpe.pp: [ DONE ] 
Applying 192.168.1.105_postscript.pp
192.168.1.105_postscript.pp: [ DONE ] 
Applying Puppet manifests [ DONE ]
Finalizing [ DONE ]

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

Additional information:
* A new answerfile was created in: /root/packstack-answers-20140920-225753.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.1.105. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.1.105/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http://192.168.1.105/nagios username: nagiosadmin, password: 784f5aec5c1f4ca9
* The installation log file is available at: /var/tmp/packstack/20140920-225753-P5aOiP/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20140920-225753-P5aOiP/manifests

 

 

如上面内容所示,安装成功后,提示访问地址及登录账户信息所存储位置( /root/keystonerc_admin )

通过浏览器访问 http://192.168.1.105/dashboard 登录后截图如下:

 

相关参考资料:

CentOS下一键安装Openstack  http://blog.csdn.net/longteng1116/article/details/17976919

OneStack:Ubuntu 12.04 (或11.10) 一键部署安装OpenStack云计算平台 http://blog.csdn.net/hilyoo/article/details/7696169

centos下最简安装openstack——使用packstack http://blog.csdn.net/huoyunshen88/article/details/19754079

陈沙克博客,很多关于openstack文章 http://www.chenshake.com/cloud-computing/
OpenStack-Rdo-Icehouse http://blog.csdn.net/dapao123456789/article/details/38068751

使用openstack遇到的问题 http://blog.csdn.net/blueorb/article/details/7831493
OneStack:Ubuntu 12.04 上一键自动部署 OpenStack http://www.vpsee.com/2012/07/onestack-all-in-one-installation-tool-for-openstack/

openstack多节点部署 采用devstack ubuntu11.10 nova多计算结点 http://blog.csdn.net/weiyuanke/article/details/7639849

OpenStack 部署运维实战(网易) http://www.ibm.com/developerworks/cn/cloud/library/1408_zhangxl_openstack

devstack  http://devstack.org/

在Ubuntu 12.10 上安装部署Openstack http://www.linuxidc.com/Linux/2013-08/88184.htm
Ubuntu 12.04 OpenStack Swift单节点部署手册 http://www.linuxidc.com/Linux/2013-08/88182.htm
OpenStack云计算快速入门教程 http://www.linuxidc.com/Linux/2013-08/88186.htm
企业部署OpenStack:该做与不该做的事 http://www.linuxidc.com/Linux/2013-09/90428.htm
CentOS 7.2 x64bit 快速安装OpenStack http://www.linuxidc.com/Linux/2014-06/103775.htm
RDO 安装 OpenStackhttp://www.linuxidc.com/Linux/2014-07/104770.htm

时间: 2024-09-29 22:08:30

CentOS7.2下一键安装Openstack的相关文章

Packstack单节点一键安装openstack

本文介绍在单节点上用packstack一键安装openstack的方法,其中节点的硬件架构为x86_64(必须是64位,32位不可以).操作系统为centos7.官方的安装文档地址为https://openstack.redhat.com/Quickstart. 1 安装软件库 更新安装的软件包,命令如下: sudo yum update -y 建立RDO库,命令如下: sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rp

PackStack一键安装OpenStack

作者:独笔孤行@TaoCloud请添加链接描述OpenStack自动安装比手动搭建消耗的硬件资源较大,因此虚拟机或服务器最低配置为4核CPU+8G内存+20G磁盘,并开启CPU虚拟化.建议配置为8核CPU+16G内存或更高配置,并保证服务器能访问外网. 本次主要测试的成功案例有N.P.Q三个版本,其它版本同样可以借助packstack一键安装OpenStack,安装方式相同.只是Yum源的配置不同而已,主要区别也在于yum源的配置. 成功案例1:Q版OpenStack自动安装 操作系统:Cent

CentOS7系统下YUM安装安装Mongodb 3.4

CentOS7系统下YUM安装安装Mongodb 3.4 第一步 查看是否存在Mongodb配置yum源 切换到yum目录 cd /etc/yum.repos.d/ 查看文件 ls 第二部 不存在添加yum 源 创建文件 touch mongodb-3.4.repo 编辑该文件 vi mongodb-3.4.repo 内容 : cat /etc/yum.repos.d/mongodb-3.4.repos [mongodb-org-3.4] name=MongoDB Repository base

centos7系统下nginx安装并配置开机自启动操作

准备工作 我的centos7系统是最小化安装的, 缺很多库, 首先安装必须的运行库 ? 1 2 3 4 5 6 7 8 9 10 11 yum install wget gcc gcc-c++ pcre-devel zlib-devel ##创建工作目录并进入工作目录 mkdir -p /z/nginx && cd /z/nginx ##获取nginx最新的安装包 wget http://nginx.org/download/nginx-1.11.10.tar.gz ##解压缩 tar z

linux下一键安装 powershell,的bash脚本

说明 目前,linux下的powershell约等于pash.希望大家专注mono,关注pash. 一键安装脚本包括for centos6,centos7,ubuntu 14.04  ubuntu 14.10 安装脚本是用yum或apt安装,mono官方最新版,然后编译安装pash最新版,最后生成两个命令: mybuild用于编译pash mypash用于运行pash 1 centos6 #!/bin/bash # centos6,一键安装mono,pash的shell脚本. # centos

web项目打包成exe在windows下一键安装 jdk+Tomcat+mysql

最近因为公司销售人员不懂软件,所以每次部署项目都需要技术人员到客户现场进行部署,很不方便.所以公司就让把我们的项目做成傻瓜式安装,这样就可以让销售人员去安装,也给技术省了很多事.我在网上找了很多教程但是有些地方还是不全,而且每个人写的也都不一样,所以在制作过程中遇到很多问题,经过几天研究终于实现了,现在就把我整理.研究的写下来,希望可以帮到更多人. 一:打包工具 在网上下载一个 Inno steup的制作exe文件工具 下面是我整理好的compile.iss文件(以下这个可以直接复制过去把要改的

[Openstack]一键安装Openstack测试环境

搭建OpenStack测试环境,供初学者学习使用. OpenStack提供一种最简单的安装方法,ALLinone. 只需要一条命令即可完成Openstack的整个安装 安装环境如下: 1.VMware Fusion 7 PRO 虚拟化平台(也可使用 VMware Workstation) 2.创建VM虚拟机(Redhat 7),vCPU*1/8G/100G,网卡模式为NAT可上网 3.安装CentOS7.1操作系统 4.计算机名称:Allinone IP地址:192.168.100.136/24

CentOS6.x生产环境下一键安装mono+jexus的脚本,自启动,带服务,版本号自控

转自: http://linuxdot.net/bbsfile-3784 1.支持哪些个平台?答:暂时仅支持CentOS6.x平台,7.x未测试,欢迎测试并到群里反馈给我(昵称:无聊人士) 2.一键安装版本暂时支持哪些版本的mono与jexus?答:版本自控,脚本会提示让你自己输入你想要的版本号,非常地自由 3.脚本的下载地址是?答:为了后期的更新,脚本放置在私人的平台上,地址分别是:默认版本(宇内推荐的):http://security.ivannet.com/linux/shell/cent

linux下一键安装jdk1.7.0_79和tomcat7

一键安装jdk1.7.79和tomcat7 首先,准备文件和目录如下图,如果版本不一样的话,需要自己去修改下install.sh脚本中的包的名称即可. install.sh脚本内容如下: #!/bin/bash # Author: Lee # Date: 2016/08/03 # 一键安装jdk和tomcat,并添加一个运行tomcat的账户以启动tomcat echo -e "\033[32m即将安装jdk和tomcat到 /usr/local \033[0m" echo -e &q