CentOS7.0安装OpenStack JUJO -- 单节点Allinone

  • 安装CentOS 7.0,选择最小化安装,服务器设置如下

    IP地址:192.168.0.151/24 网关:192.168.0.1 DNS:192.168.0.1 主机名 node151.example.com

    CentOS7.0安装OpenStack JUJO -- 单节点Allinone_第1张图片

  • 添加RDO YUM源,并修改yum配置保存下载的软件包,便于后续离线安装

# curl -O ftp://partners.redhat.com/8aa5fd896ed3a83f6533a78287906111/OpenStack/6.0-RHEL-7/2015-01-20.1/RH7-RHOS-6.0.repo
# sed -i s#keepcache.*#keepcache=1#g /etc/yum.conf
# sed -i s#cachedir.*#cachedir=\/var\/cache\/yum\/#g /etc/yum.conf
  • 关闭NetworkManager服务,并开启network服务

# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
# systemctl start network.service
# chkconfig network on
  • 安装packstack组件

# yum install –y openstack-packstack
  • 生成packstack应答文件

# packstack --gen-answer-file=allinone.conf
  • 安装openstack

# packstack --answer-file=/root/allinone.conf
Welcome to the Packstack setup utility
 
The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log
 
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 MariaDB 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 ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ 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 Provisioning Glance manifest entries          [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Redis 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.0.151_prescript.pp
192.168.0.151_prescript.pp:                          [ DONE ]
Applying 192.168.0.151_amqp.pp
Applying 192.168.0.151_mariadb.pp
192.168.0.151_amqp.pp:                               [ DONE ]
192.168.0.151_mariadb.pp:                            [ DONE ]
Applying 192.168.0.151_keystone.pp
Applying 192.168.0.151_glance.pp
Applying 192.168.0.151_cinder.pp
192.168.0.151_keystone.pp:                           [ DONE ]
192.168.0.151_glance.pp:                             [ DONE ]
192.168.0.151_cinder.pp:                             [ DONE ]
Applying 192.168.0.151_api_nova.pp
192.168.0.151_api_nova.pp:                           [ DONE ]
Applying 192.168.0.151_nova.pp
192.168.0.151_nova.pp:                               [ DONE ]
Applying 192.168.0.151_neutron.pp
192.168.0.151_neutron.pp:                            [ DONE ]
Applying 192.168.0.151_osclient.pp
Applying 192.168.0.151_horizon.pp
192.168.0.151_osclient.pp:                           [ DONE ]
192.168.0.151_horizon.pp:                            [ DONE ]
Applying 192.168.0.151_ring_swift.pp
192.168.0.151_ring_swift.pp:                         [ DONE ]
Applying 192.168.0.151_swift.pp
Applying 192.168.0.151_provision_demo.pp
Applying 192.168.0.151_provision_glance
192.168.0.151_swift.pp:                              [ DONE ]
192.168.0.151_provision_demo.pp:                     [ DONE ]
192.168.0.151_provision_glance:                      [ DONE ]
Applying 192.168.0.151_mongodb.pp
Applying 192.168.0.151_redis.pp
192.168.0.151_mongodb.pp:                            [ DONE ]
192.168.0.151_redis.pp:                              [ DONE ]
Applying 192.168.0.151_ceilometer.pp
192.168.0.151_ceilometer.pp:                         [ DONE ]
Applying 192.168.0.151_nagios.pp
Applying 192.168.0.151_nagios_nrpe.pp
192.168.0.151_nagios.pp:                             [ DONE ]
192.168.0.151_nagios_nrpe.pp:                        [ DONE ]
Applying 192.168.0.151_postscript.pp
192.168.0.151_postscript.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.0.151. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.0.151/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.0.151/nagios username: nagiosadmin, password: 0fa3c8326ec4457a
 * Because of the kernel update the host 192.168.0.151 requires reboot.
 * The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20150227-233818-CnLUnf/manifests
  • 查看openstack dashboard,在浏览器中打开http://192.168.0.151/dashboard

CentOS7.0安装OpenStack JUJO -- 单节点Allinone_第2张图片













你可能感兴趣的:(CentOS7.0安装OpenStack JUJO -- 单节点Allinone)