2014년 11월 6일 목요일

OpenStack Juno instalation using packstack

OpenStack Juno instalation using packstack

install ntp

# yum install ntp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.daum.net
  * extras: ftp.daum.net
   * updates: mirror.oasis.onnetcorp.com
   Resolving Dependencies
   --> Running transaction check
   ---> Package ntp.x86_64 0:4.2.6p5-18.el7.centos will be installed
   --> Processing Dependency: ntpdate = 4.2.6p5-18.el7.centos for package: ntp-4.2.6p5-18.el7.centos.x86_64
   --> Processing Dependency: libopts.so.25()(64bit) for package: ntp-4.2.6p5-18.el7.centos.x86_64
   --> Running transaction check
   ---> Package autogen-libopts.x86_64 0:5.18-5.el7 will be installed
   ---> Package ntpdate.x86_64 0:4.2.6p5-18.el7.centos will be installed
   --> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch        Version                       Repository Size
================================================================================
Installing:
ntp                  x86_64      4.2.6p5-18.el7.centos         base      539 k
Installing for dependencies:
autogen-libopts      x86_64      5.18-5.el7                    base       66 k
ntpdate              x86_64      4.2.6p5-18.el7.centos         base       82 k

Transaction Summary
================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 687 k
Installed size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): autogen-libopts-5.18-5.el7.x86_64.rpm               |  66 kB   00:00
(2/3): ntpdate-4.2.6p5-18.el7.centos.x86_64.rpm            |  82 kB   00:00
(3/3): ntp-4.2.6p5-18.el7.centos.x86_64.rpm                | 539 kB   00:00
--------------------------------------------------------------------------------
Total                                              1.5 MB/s | 687 kB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : autogen-libopts-5.18-5.el7.x86_64                            1/3
  Installing : ntpdate-4.2.6p5-18.el7.centos.x86_64                         2/3
  Installing : ntp-4.2.6p5-18.el7.centos.x86_64                             3/3
  Verifying  : ntpdate-4.2.6p5-18.el7.centos.x86_64                         1/3
  Verifying  : ntp-4.2.6p5-18.el7.centos.x86_64                             2/3
  Verifying  : autogen-libopts-5.18-5.el7.x86_64                            3/3

Installed:
  ntp.x86_64 0:4.2.6p5-18.el7.centos

Dependency Installed:
  autogen-libopts.x86_64 0:5.18-5.el7   ntpdate.x86_64 0:4.2.6p5-18.el7.centos

Complete!
  • edit ntp.conf
# vi /etc/ntp.conf
  • start ntpd & enable ntpd
# systemctl start ntpd
# systemctl enable ntpd
ln -s '/usr/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'
  • check ntp
# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
 ==============================================================================
 +211.233.84.186  204.123.2.5      2 u   20   64    1    1.845   -0.248   0.000
 *y.ns.gin.ntt.ne 103.1.106.69     2 u   19   64    1   40.391  -14.957   0.000
 time.iqnet.com  62.201.214.162   2 u   19   64    1  373.293   -9.752   0.000

SELINUX setting

# sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
# setenforce 0
# sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/" /etc/sysctl.conf
# sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/" /etc/sysctl.conf
# sed -i -e "s/^net.bridge.bridge-nf-call-arptables = 0/net.bridge.bridge-nf-call-arptables = 1/" /etc/sysctl.conf

install rdo rpm

# yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
Loaded plugins: fastestmirror
rdo-release.rpm                                          |  12 kB     00:00
Examining /var/tmp/yum-root-w2fSgn/rdo-release.rpm: rdo-release-juno-1.noarch
Marking /var/tmp/yum-root-w2fSgn/rdo-release.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rdo-release.noarch 0:juno-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch           Version          Repository            Size
================================================================================
 Installing:
  rdo-release         noarch         juno-1           /rdo-release         3.2 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 3.2 k
Installed size: 3.2 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rdo-release-juno-1.noarch                                    1/1
  Verifying  : rdo-release-juno-1.noarch                                    1/1

Installed:
  rdo-release.noarch 0:juno-1

Complete!

install openstack-packstack

# yum install -y openstack-packstack
Loaded plugins: fastestmirror
openstack-juno                                           | 2.9 kB     00:00
openstack-juno/primary_db                                  | 198 kB   00:02
Loading mirror speeds from cached hostfile
 * base: ftp.daum.net
 * extras: ftp.daum.net
 * updates: mirror.oasis.onnetcorp.com
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch 0:2014.2-0.5.dev1316.g733aa73.el7.centos will be installed
--> Processing Dependency: openstack-packstack-puppet = 2014.2-0.5.dev1316.g733aa73.el7.centos for package: openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch
--> Processing Dependency: openstack-puppet-modules >= 2014.2.1-0.5 for package: openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch
--> Processing Dependency: python-netaddr for package: openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch
--> Running transaction check
---> Package openstack-packstack-puppet.noarch 0:2014.2-0.5.dev1316.g733aa73.el7.centos will be installed
---> Package openstack-puppet-modules.noarch 0:2014.2.1-0.5.el7.centos will be installed
--> Processing Dependency: rubygem-json for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: perl(warnings) for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: perl(strict) for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: perl(diagnostics) for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: perl(Getopt::Long) for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: perl(File::Spec) for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
--> Processing Dependency: /usr/bin/perl for package: openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch
---> Package python-netaddr.noarch 0:0.7.12-1.el7.centos will be installed
--> Running transaction check
---> Package perl.x86_64 4:5.16.3-283.el7 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-283.el7 for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-283.el7.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-283.el7.x86_64
---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-2.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-2.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package rubygem-json.x86_64 0:1.7.7-20.el7 will be installed
--> Processing Dependency: ruby(rubygems) >= 2.0.14 for package: rubygem-json-1.7.7-20.el7.x86_64
--> Processing Dependency: ruby(release) for package: rubygem-json-1.7.7-20.el7.x86_64
--> Processing Dependency: libruby.so.2.0()(64bit) for package: rubygem-json-1.7.7-20.el7.x86_64
--> Running transaction check
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-3.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-283.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-283.el7 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
---> Package ruby-libs.x86_64 0:2.0.0.353-20.el7 will be installed
---> Package rubygems.noarch 0:2.0.14-20.el7 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14-20.el7.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14-20.el7.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14-20.el7.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygems-2.0.14-20.el7.noarch
--> Running transaction check
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-283.el7 will be installed
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
---> Package ruby.x86_64 0:2.0.0.353-20.el7 will be installed
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.353-20.el7.x86_64
---> Package rubygem-io-console.x86_64 0:0.4.2-20.el7 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-20.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: rubygem-psych-2.0.0-20.el7.x86_64
---> Package rubygem-rdoc.noarch 0:4.0.0-20.el7 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.353 for package: rubygem-rdoc-4.0.0-20.el7.noarch
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.4-10.el7 will be installed
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
---> Package ruby-irb.noarch 0:2.0.0.353-20.el7 will be installed
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-20.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch   Version                 Repository      Size
 ================================================================================
 Installing:
  openstack-packstack        noarch 2014.2-0.5.dev1316.g733aa73.el7.centos
  openstack-juno 215 k
  Installing for dependencies:
  libyaml                    x86_64 0.1.4-10.el7            base            55 k
  openstack-packstack-puppet noarch 2014.2-0.5.dev1316.g733aa73.el7.centos
  openstack-juno  44 k
  openstack-puppet-modules   noarch 2014.2.1-0.5.el7.centos openstack-juno 1.3 M
  perl                       x86_64 4:5.16.3-283.el7        base           8.0 M
  perl-Carp                  noarch 1.26-244.el7            base            19 k
  perl-Encode                x86_64 2.51-7.el7              base           1.5 M
  perl-Exporter              noarch 5.68-3.el7              base            28 k
  perl-File-Path             noarch 2.09-2.el7              base            26 k
  perl-File-Temp             noarch 0.23.01-3.el7           base            56 k
  perl-Filter                x86_64 1.49-3.el7              base            76 k
  perl-Getopt-Long           noarch 2.40-2.el7              base            56 k
  perl-HTTP-Tiny             noarch 0.033-3.el7             base            38 k
  perl-PathTools             x86_64 3.40-5.el7              base            82 k
  perl-Pod-Escapes           noarch 1:1.04-283.el7          base            49 k
  perl-Pod-Perldoc           noarch 3.20-4.el7              base            87 k
  perl-Pod-Simple            noarch 1:3.28-4.el7            base           216 k
  perl-Pod-Usage             noarch 1.63-3.el7              base            27 k
  perl-Scalar-List-Utils     x86_64 1.27-248.el7            base            36 k
  perl-Socket                x86_64 2.010-3.el7             base            49 k
  perl-Storable              x86_64 2.45-3.el7              base            77 k
  perl-Text-ParseWords       noarch 3.29-4.el7              base            14 k
  perl-Time-Local            noarch 1.2300-2.el7            base            24 k
  perl-constant              noarch 1.27-2.el7              base            19 k
  perl-libs                  x86_64 4:5.16.3-283.el7        base           686 k
  perl-macros                x86_64 4:5.16.3-283.el7        base            42 k
  perl-parent                noarch 1:0.225-244.el7         base            12 k
  perl-podlators             noarch 2.5.1-3.el7             base           112 k
  perl-threads               x86_64 1.87-4.el7              base            49 k
  perl-threads-shared        x86_64 1.43-6.el7              base            39 k
  python-netaddr             noarch 0.7.12-1.el7.centos     openstack-juno 1.3 M
  ruby                       x86_64 2.0.0.353-20.el7        base            66 k
  ruby-irb                   noarch 2.0.0.353-20.el7        base            87 k
  ruby-libs                  x86_64 2.0.0.353-20.el7        base           2.8 M
  rubygem-bigdecimal         x86_64 1.2.0-20.el7            base            78 k
  rubygem-io-console         x86_64 0.4.2-20.el7            base            49 k
  rubygem-json               x86_64 1.7.7-20.el7            base            74 k
  rubygem-psych              x86_64 2.0.0-20.el7            base            76 k
  rubygem-rdoc               noarch 4.0.0-20.el7            base           317 k
  rubygems                   noarch 2.0.14-20.el7           base           211 k

Transaction Summary
================================================================================
Install  1 Package (+39 Dependent packages)

Total download size: 18 M
Installed size: 59 M
Downloading packages:
(1/40): libyaml-0.1.4-10.el7.x86_64.rpm                    |  55 kB   00:00
warning: /var/cache/yum/x86_64/7/openstack-juno/packages/openstack-packstack-puppet-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID df6674e3: NOKEY
Public key for openstack-packstack-puppet-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch.rpm is not installed
(2/40): openstack-packstack-puppet-2014.2-0.5.dev1316.g733 |  44 kB   00:02
(3/40): perl-Carp-1.26-244.el7.noarch.rpm                  |  19 kB   00:00
(4/40): perl-Encode-2.51-7.el7.x86_64.rpm                  | 1.5 MB   00:00
(5/40): perl-Exporter-5.68-3.el7.noarch.rpm                |  28 kB   00:00
(6/40): perl-File-Path-2.09-2.el7.noarch.rpm               |  26 kB   00:00
(7/40): perl-File-Temp-0.23.01-3.el7.noarch.rpm            |  56 kB   00:00
(8/40): perl-Filter-1.49-3.el7.x86_64.rpm                  |  76 kB   00:00
(9/40): perl-Getopt-Long-2.40-2.el7.noarch.rpm             |  56 kB   00:00
(10/40): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm             |  38 kB   00:00
(11/40): perl-PathTools-3.40-5.el7.x86_64.rpm              |  82 kB   00:00
(12/40): perl-Pod-Escapes-1.04-283.el7.noarch.rpm          |  49 kB   00:00
(13/40): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm            |  87 kB   00:00
(14/40): perl-5.16.3-283.el7.x86_64.rpm                    | 8.0 MB   00:01
(15/40): perl-Pod-Simple-3.28-4.el7.noarch.rpm             | 216 kB   00:00
(16/40): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm    |  36 kB   00:00
(17/40): perl-Pod-Usage-1.63-3.el7.noarch.rpm              |  27 kB   00:00
(18/40): perl-Socket-2.010-3.el7.x86_64.rpm                |  49 kB   00:00
(19/40): perl-Storable-2.45-3.el7.x86_64.rpm               |  77 kB   00:00
(20/40): perl-Time-Local-1.2300-2.el7.noarch.rpm           |  24 kB   00:00
(21/40): perl-Text-ParseWords-3.29-4.el7.noarch.rpm        |  14 kB   00:00
(22/40): perl-constant-1.27-2.el7.noarch.rpm               |  19 kB   00:00
(23/40): perl-macros-5.16.3-283.el7.x86_64.rpm             |  42 kB   00:00
(24/40): perl-parent-0.225-244.el7.noarch.rpm              |  12 kB   00:00
(25/40): perl-podlators-2.5.1-3.el7.noarch.rpm             | 112 kB   00:00
(26/40): perl-threads-1.87-4.el7.x86_64.rpm                |  49 kB   00:00
(27/40): perl-threads-shared-1.43-6.el7.x86_64.rpm         |  39 kB   00:00
(28/40): perl-libs-5.16.3-283.el7.x86_64.rpm               | 686 kB   00:00
(29/40): openstack-packstack-2014.2-0.5.dev1316.g733aa73.e | 215 kB   00:05
(30/40): ruby-2.0.0.353-20.el7.x86_64.rpm                  |  66 kB   00:00
(31/40): ruby-irb-2.0.0.353-20.el7.noarch.rpm              |  87 kB   00:00
(32/40): rubygem-bigdecimal-1.2.0-20.el7.x86_64.rpm        |  78 kB   00:00
(33/40): rubygem-io-console-0.4.2-20.el7.x86_64.rpm        |  49 kB   00:00
(34/40): rubygem-json-1.7.7-20.el7.x86_64.rpm              |  74 kB   00:00
(35/40): rubygem-psych-2.0.0-20.el7.x86_64.rpm             |  76 kB   00:00
(36/40): ruby-libs-2.0.0.353-20.el7.x86_64.rpm             | 2.8 MB   00:01
(37/40): rubygems-2.0.14-20.el7.noarch.rpm                 | 211 kB   00:00
(38/40): openstack-puppet-modules-2014.2.1-0.5.el7.centos. | 1.3 MB   00:05
(39/40): rubygem-rdoc-4.0.0-20.el7.noarch.rpm              | 317 kB   00:01
(40/40): python-netaddr-0.7.12-1.el7.centos.noarch.rpm     | 1.3 MB   00:06
--------------------------------------------------------------------------------
Total                                              1.5 MB/s |  18 MB  00:11
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Juno
Importing GPG key 0xDF6674E3:
 Userid     : "rdo-juno-sign <rdo-info@redhat.com>"
 Fingerprint: b643 39ca eebf d1ec 3ebf aeda eeca c5d5 df66 74e3
 Package    : rdo-release-juno-1.noarch (@/rdo-release)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Juno
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
      Installing : ruby-libs-2.0.0.353-20.el7.x86_64                           1/40
      Installing : 1:perl-parent-0.225-244.el7.noarch                          2/40
      Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           3/40
      Installing : perl-podlators-2.5.1-3.el7.noarch                           4/40
      Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          5/40
      Installing : 1:perl-Pod-Escapes-1.04-283.el7.noarch                      6/40
      Installing : perl-Text-ParseWords-3.29-4.el7.noarch                      7/40
      Installing : perl-Encode-2.51-7.el7.x86_64                               8/40
      Installing : perl-Pod-Usage-1.63-3.el7.noarch                            9/40
      Installing : 4:perl-libs-5.16.3-283.el7.x86_64                          10/40
      Installing : 4:perl-macros-5.16.3-283.el7.x86_64                        11/40
      Installing : perl-Storable-2.45-3.el7.x86_64                            12/40
      Installing : perl-Exporter-5.68-3.el7.noarch                            13/40
      Installing : perl-constant-1.27-2.el7.noarch                            14/40
      Installing : perl-Time-Local-1.2300-2.el7.noarch                        15/40
      Installing : perl-Socket-2.010-3.el7.x86_64                             16/40
      Installing : perl-Carp-1.26-244.el7.noarch                              17/40
      Installing : perl-PathTools-3.40-5.el7.x86_64                           18/40
      Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 19/40
      Installing : perl-File-Temp-0.23.01-3.el7.noarch                        20/40
      Installing : perl-File-Path-2.09-2.el7.noarch                           21/40
      Installing : perl-threads-shared-1.43-6.el7.x86_64                      22/40
      Installing : perl-threads-1.87-4.el7.x86_64                             23/40
      Installing : perl-Filter-1.49-3.el7.x86_64                              24/40
      Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        25/40
      Installing : perl-Getopt-Long-2.40-2.el7.noarch                         26/40
      Installing : 4:perl-5.16.3-283.el7.x86_64                               27/40
      Installing : python-netaddr-0.7.12-1.el7.centos.noarch                  28/40
      Installing : libyaml-0.1.4-10.el7.x86_64                                29/40
      Installing : rubygem-psych-2.0.0-20.el7.x86_64                          30/40
      Installing : rubygem-io-console-0.4.2-20.el7.x86_64                     31/40
      Installing : rubygem-json-1.7.7-20.el7.x86_64                           32/40
      Installing : rubygem-bigdecimal-1.2.0-20.el7.x86_64                     33/40
      Installing : rubygem-rdoc-4.0.0-20.el7.noarch                           34/40
      Installing : ruby-irb-2.0.0.353-20.el7.noarch                           35/40
      Installing : ruby-2.0.0.353-20.el7.x86_64                               36/40
      Installing : rubygems-2.0.14-20.el7.noarch                              37/40
      Installing : openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch    38/40
      Installing : openstack-packstack-puppet-2014.2-0.5.dev1316.g733aa73.e   39/40
      Installing : openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.cent   40/40
      Verifying  : rubygems-2.0.14-20.el7.noarch                               1/40
      Verifying  : rubygem-rdoc-4.0.0-20.el7.noarch                            2/40
      Verifying  : openstack-packstack-puppet-2014.2-0.5.dev1316.g733aa73.e    3/40
      Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           4/40
      Verifying  : rubygem-psych-2.0.0-20.el7.x86_64                           5/40
      Verifying  : libyaml-0.1.4-10.el7.x86_64                                 6/40
      Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       7/40
      Verifying  : perl-Storable-2.45-3.el7.x86_64                             8/40
      Verifying  : openstack-puppet-modules-2014.2.1-0.5.el7.centos.noarch     9/40
      Verifying  : perl-Exporter-5.68-3.el7.noarch                            10/40
      Verifying  : perl-constant-1.27-2.el7.noarch                            11/40
      Verifying  : perl-PathTools-3.40-5.el7.x86_64                           12/40
      Verifying  : 1:perl-Pod-Escapes-1.04-283.el7.noarch                     13/40
      Verifying  : ruby-libs-2.0.0.353-20.el7.x86_64                          14/40
      Verifying  : 1:perl-parent-0.225-244.el7.noarch                         15/40
      Verifying  : 4:perl-libs-5.16.3-283.el7.x86_64                          16/40
      Verifying  : rubygem-io-console-0.4.2-20.el7.x86_64                     17/40
      Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        18/40
      Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        19/40
      Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        20/40
      Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         21/40
      Verifying  : ruby-irb-2.0.0.353-20.el7.noarch                           22/40
      Verifying  : perl-Socket-2.010-3.el7.x86_64                             23/40
      Verifying  : 4:perl-macros-5.16.3-283.el7.x86_64                        24/40
      Verifying  : rubygem-json-1.7.7-20.el7.x86_64                           25/40
      Verifying  : 4:perl-5.16.3-283.el7.x86_64                               26/40
      Verifying  : perl-Carp-1.26-244.el7.noarch                              27/40
      Verifying  : rubygem-bigdecimal-1.2.0-20.el7.x86_64                     28/40
      Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 29/40
      Verifying  : openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.cent   30/40
      Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           31/40
      Verifying  : perl-Encode-2.51-7.el7.x86_64                              32/40
      Verifying  : perl-podlators-2.5.1-3.el7.noarch                          33/40
      Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                         34/40
      Verifying  : perl-File-Path-2.09-2.el7.noarch                           35/40
      Verifying  : perl-threads-1.87-4.el7.x86_64                             36/40
      Verifying  : perl-Filter-1.49-3.el7.x86_64                              37/40
      Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     38/40
      Verifying  : python-netaddr-0.7.12-1.el7.centos.noarch                  39/40
      Verifying  : ruby-2.0.0.353-20.el7.x86_64                               40/40

Installed:
  openstack-packstack.noarch 0:2014.2-0.5.dev1316.g733aa73.el7.centos

Dependency Installed:
  libyaml.x86_64 0:0.1.4-10.el7
  openstack-packstack-puppet.noarch 0:2014.2-0.5.dev1316.g733aa73.el7.centos
  openstack-puppet-modules.noarch 0:2014.2.1-0.5.el7.centos
  perl.x86_64 4:5.16.3-283.el7
  perl-Carp.noarch 0:1.26-244.el7
  perl-Encode.x86_64 0:2.51-7.el7
  perl-Exporter.noarch 0:5.68-3.el7
  perl-File-Path.noarch 0:2.09-2.el7
  perl-File-Temp.noarch 0:0.23.01-3.el7
  perl-Filter.x86_64 0:1.49-3.el7
  perl-Getopt-Long.noarch 0:2.40-2.el7
  perl-HTTP-Tiny.noarch 0:0.033-3.el7
  perl-PathTools.x86_64 0:3.40-5.el7
  perl-Pod-Escapes.noarch 1:1.04-283.el7
  perl-Pod-Perldoc.noarch 0:3.20-4.el7
  perl-Pod-Simple.noarch 1:3.28-4.el7
  perl-Pod-Usage.noarch 0:1.63-3.el7
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
  perl-Socket.x86_64 0:2.010-3.el7
  perl-Storable.x86_64 0:2.45-3.el7
  perl-Text-ParseWords.noarch 0:3.29-4.el7
  perl-Time-Local.noarch 0:1.2300-2.el7
  perl-constant.noarch 0:1.27-2.el7
  perl-libs.x86_64 4:5.16.3-283.el7
  perl-macros.x86_64 4:5.16.3-283.el7
  perl-parent.noarch 1:0.225-244.el7
  perl-podlators.noarch 0:2.5.1-3.el7
  perl-threads.x86_64 0:1.87-4.el7
  perl-threads-shared.x86_64 0:1.43-6.el7
  python-netaddr.noarch 0:0.7.12-1.el7.centos
  ruby.x86_64 0:2.0.0.353-20.el7
  ruby-irb.noarch 0:2.0.0.353-20.el7
  ruby-libs.x86_64 0:2.0.0.353-20.el7
  rubygem-bigdecimal.x86_64 0:1.2.0-20.el7
  rubygem-io-console.x86_64 0:0.4.2-20.el7
  rubygem-json.x86_64 0:1.7.7-20.el7
  rubygem-psych.x86_64 0:2.0.0-20.el7
  rubygem-rdoc.noarch 0:4.0.0-20.el7
  rubygems.noarch 0:2.0.14-20.el7

Complete!
  • generate answer-file
# packstack --gen-answer-file answer.txt
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
  • edit answer-file
# sed -i -e "s/^CONFIG_HEAT_INSTALL=n/CONFIG_HEAT_INSTALL=y/" answer.txt
# sed -i -e "s/^CONFIG_HEAT_CLOUDWATCH_INSTALL=n/CONFIG_HEAT_CLOUDWATCH_INSTALL=y/" answer.txt
# sed -i -e "s/^CONFIG_HEAT_CFN_INSTALL=n/CONFIG_HEAT_CFN_INSTALL=y/" answer.txt
# sed -i -e "s/^CONFIG_CINDER_VOLUMES_SIZE=20G/CONFIG_CINDER_VOLUMES_SIZE=32G/" answer.txt

install openstack

# packstack --answer-file answer.txt
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 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 ]
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 Heat manifest entries                         [ DONE ]
Adding Heat Keystone manifest entries                [ DONE ]
Adding Heat CloudWatch API manifest entries          [ DONE ]
Adding Heat CloudFormation API 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.0.73_prescript.pp
192.168.0.73_prescript.pp:                           [ DONE ]
Applying 192.168.0.73_amqp.pp
Applying 192.168.0.73_mariadb.pp
192.168.0.73_amqp.pp:                                [ DONE ]
192.168.0.73_mariadb.pp:                             [ DONE ]
Applying 192.168.0.73_keystone.pp
Applying 192.168.0.73_glance.pp
Applying 192.168.0.73_cinder.pp
192.168.0.73_keystone.pp:                            [ DONE ]
192.168.0.73_glance.pp:                              [ DONE ]
192.168.0.73_cinder.pp:                              [ DONE ]
Applying 192.168.0.73_api_nova.pp
192.168.0.73_api_nova.pp:                            [ DONE ]
Applying 192.168.0.73_nova.pp
192.168.0.73_nova.pp:                                [ DONE ]
Applying 192.168.0.73_neutron.pp
192.168.0.73_neutron.pp:                             [ DONE ]
Applying 192.168.0.73_osclient.pp
Applying 192.168.0.73_horizon.pp
192.168.0.73_osclient.pp:                            [ DONE ]
192.168.0.73_horizon.pp:                             [ DONE ]
Applying 192.168.0.73_ring_swift.pp
192.168.0.73_ring_swift.pp:                          [ DONE ]
Applying 192.168.0.73_swift.pp
Applying 192.168.0.73_heat.pp
192.168.0.73_swift.pp:                               [ DONE ]
192.168.0.73_heat.pp:                                [ DONE ]
Applying 192.168.0.73_heatcw.pp
Applying 192.168.0.73_heatcnf.pp
192.168.0.73_heatcw.pp:                              [ DONE ]
192.168.0.73_heatcnf.pp:                             [ DONE ]
Applying 192.168.0.73_mongodb.pp
192.168.0.73_mongodb.pp:                             [ DONE ]
Applying 192.168.0.73_ceilometer.pp
Applying 192.168.0.73_nagios.pp
Applying 192.168.0.73_nagios_nrpe.pp
192.168.0.73_ceilometer.pp:                          [ DONE ]
192.168.0.73_nagios_nrpe.pp:                         [ DONE ]
192.168.0.73_nagios.pp:                              [ DONE ]
Applying 192.168.0.73_postscript.pp
192.168.0.73_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.
 * Warning: NetworkManager is active on 192.168.0.73. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.0.73. To use the command line tools you need to source the file.
 * NOTE : A certificate was generated to be used for ssl, You should change the ssl certificate configured in /etc/httpd/conf.d/ssl.conf on 192.168.0.73 to use a CA signed cert.
 * To access the OpenStack Dashboard browse to https://192.168.0.73/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.0.73/nagios username: nagiosadmin, password: e6a5ad373d2b460a
 * The installation log file is available at: /var/tmp/packstack/20141112-031110-9jrnga/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20141112-031110-9jrnga/manifests

댓글 없음:

댓글 쓰기