2节点CentOS7 PackStack安装Newton

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了2节点CentOS7 PackStack安装Newton相关的知识,希望对你有一定的参考价值。

PackStack安装OpenStack最新版本Newton



[[email protected] ~]# vim/etc/hosts

192.168.13.111 controller

192.168.13.112 compute


[[email protected] yum.repos.d]# yum install centos-release-openstack-newton -y

[[email protected] ~]# cd /etc/yum.repos.d/

[[email protected] yum.repos.d]# ls

CentOS-Base.repo        CentOS-CR.repo         CentOS-fasttrack.repo  CentOS-OpenStack-newton.repo  CentOS-Sources.repo

CentOS-Ceph-Jewel.repo  CentOS-Debuginfo.repo  CentOS-Media.repo      CentOS-QEMU-EV.repo           CentOS-Vault.repo


[[email protected] yum.repos.d]# yum  install openstack-packstack -y


[[email protected] ~]# packstack --gen-answer=openstack-newton-2061018.txt


[[email protected] ~]# vim openstack-newton-2061018.txt

CONFIG_CONTROLLER_HOST=192.168.13.111

CONFIG_COMPUTE_HOSTS=192.168.13.112

CONFIG_PROVISION_DEMO=n


[[email protected] ~]# packstack --answer-file=openstack-newton-20161018.txt

The installation log file is available at: /var/tmp/packstack/20161018-032600-v9pLEu/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 Heat entries                               [ DONE ]

Preparing Heat CloudFormation API entries            [ DONE ]

Preparing MongoDB entries                            [ DONE ]

Preparing Redis entries                              [ DONE ]

Preparing Ceilometer entries                         [ DONE ]

Preparing Aodh entries                               [ DONE ]

Preparing Sahara 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.13.111_controller.pp

192.168.13.111_controller.pp:                        [ DONE ]           

Applying 192.168.13.111_network.pp

192.168.13.111_network.pp:                           [ DONE ]       

Applying 192.168.13.112_compute.pp

192.168.13.112_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.13.111. To use the command line tools you need to source the file.

 * To access the OpenStack Dashboard browse to http://192.168.13.111/dashboard .

Please, find your login credentials stored in the keystonerc_admin in your home directory.

 * To use Nagios, browse to http://192.168.13.111/nagios username: nagiosadmin, password: 3a3955d4765044e8

 * The installation log file is available at: /var/tmp/packstack/20161018-032600-v9pLEu/openstack-setup.log

 * The generated manifests are available at: /var/tmp/packstack/20161018-032600-v9pLEu/manifests

You have mail in /var/spool/mail/root


[[email protected] ~(keystone_admin)]# openstack service list

+----------------------------------+------------+-----------------+

| ID                               | Name       | Type            |

+----------------------------------+------------+-----------------+

| 286a239647284235a2d3cc9147437254 | heat       | orchestration   |

| 2a117f7dcb6c4c8fbfa014a5f8326bf8 | cinder     | volume          |

| 350da74d69b54c858998952486234509 | manilav2   | sharev2         |

| 3660afe3906f4f1ebdb98589e50f8211 | cinderv3   | volumev3        |

| 4c96091e17e945e2a6e27f65d4d6feac | neutron    | network         |

| 5d70f4767d2b4e90bde59fd384ce386a | keystone   | identity        |

| 8bf3c2e53a86421da38909f6b40780ae | manila     | share           |

| 8ef87dedae0544ac96c156cd66cd0afc | aodh       | alarming        |

| 9627f0c7d2a54e2ca86372ce18181e2f | nova       | compute         |

| 988cb4ca952e4e82a14eaf3cfe6656f8 | cinderv2   | volumev2        |

| aa1a52506e1140289d3137e142c90798 | trove      | database        |

| b2eb0ba2d20944e5b40f243be6bc59ef | ceilometer | metering        |

| bc429bc6b4f0494fb5b14d2a8792f453 | sahara     | data-processing |

| d387736abf0643c2bd6fa1783cf7b6dd | heat-cfn   | cloudformation  |

| dc249c4c91154a788018c13f49c8412e | glance     | image           |

| e35245e5f3f84655b9ddfea9d90e24b7 | swift      | object-store    |

+----------------------------------+------------+-----------------+

技术分享


技术分享


技术分享


技术分享



本文出自 “技术成就梦想” 博客,请务必保留此出处http://andyliu.blog.51cto.com/518879/1863314

以上是关于2节点CentOS7 PackStack安装Newton的主要内容,如果未能解决你的问题,请参考以下文章

Packstack搭建Openstack R版本

#打卡不停更#[图文并茂]Packstack部署train版openstack

packstack 部署遇到的坑

使用packstack安装openstack-stein

通过PackStack工具搭建OpenStack平台

O01-Linux CentOS7中利用RDO部署OpenStack图文教程