2节点CentOS7 PackStack安装Newton

简介:

PackStack安装OpenStack最新版本Newton



[root@crontroller ~]# vim/etc/hosts

192.168.13.111 controller

192.168.13.112 compute


[root@controller yum.repos.d]# yum install centos-release-openstack-newton -y

[root@controller ~]# cd /etc/yum.repos.d/

[root@controller 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


[root@controller yum.repos.d]# yum  install openstack-packstack -y


[root@crontroller ~]# packstack --gen-answer=openstack-newton-2061018.txt


[root@crontroller ~]# vim openstack-newton-2061018.txt

CONFIG_CONTROLLER_HOST=192.168.13.111

CONFIG_COMPUTE_HOSTS=192.168.13.112

CONFIG_PROVISION_DEMO=n


[root@controller ~]# 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


[root@controller ~(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    |

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

wKioL1gG5kHzUjGyAACpIDAKC8A181.png-wh_50


wKiom1gG5kKzRBonAAFWX5K3kkQ059.png-wh_50


wKioL1gG5kPRjVgUAAFQLJ2hgIg268.png-wh_50


wKiom1gG5kPR9IJJAAEdxfatuGk467.png-wh_50

本文转自    OpenStack2015 博客,原文链接:    http://blog.51cto.com/andyliu/1863314    如需转载请自行联系原作者



相关实践学习
基于阿里云DeepGPU实例,用AI画唯美国风少女
本实验基于阿里云DeepGPU实例,使用aiacctorch加速stable-diffusion-webui,用AI画唯美国风少女,可提升性能至高至原性能的2.6倍。
相关文章
|
存储 网络协议 Unix
图解VirtualBox安装CentOS 7
VirtualBox是由德国InnoTek软件公司出品的虚拟机软件,现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部分。
1379 0
图解VirtualBox安装CentOS 7
|
存储 运维 Linux
|
监控 网络协议 Linux
|
Linux
Centos7安装BBR
Centos7安装BBR
505 0
|
Oracle 关系型数据库 Linux
如何进行 CentOS 8 最小安装?
CentOS 是 Redhat 企业 Linux(RHEL)的复制品,CentOS 是一个稳定版本,与 Fedora 不同的是它是 RHEL 的 beta 版本,CentOS 提供定期更新和像 Redhat 一样的安全补丁,CentOS 是开源平台,任何人都可以免费下载使用和分发。
350 0
如何进行 CentOS 8 最小安装?