"Packstack으로 오픈스택 설치 실습 (1대 구성)"의 두 판 사이의 차이

 
(사용자 3명의 중간 판 18개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{다른뜻|Packstack 설치 실습 (2대 구성)}}
{{다른뜻|Packstack 설치 실습 (2대 구성)}}
;Packstack으로 오픈스택 설치 실습 (1대 구성)
==개요==
==개요==
;Packstack 설치 실습 (1대 구성)
;Packstack 설치 실습 (1대 구성)
20번째 줄: 21번째 줄:
</source>
</source>
<source lang='aconf'>
<source lang='aconf'>
BOOTPROTO=static
IPADDR=192.168.200.4
NETMASK=255.255.255.0
GATEWAY=192.168.200.1
#ONBOOT=no
#ONBOOT=no
ONBOOT=yes
ONBOOT=yes
48번째 줄: 53번째 줄:
</source>
</source>


===NetworkManage 비활성화===
===NetworkManager 비활성화===
<source lang='console'>
<source lang='console'>
[root@localhost ~]# systemctl stop NetworkManager
[root@localhost ~]# systemctl stop NetworkManager
84번째 줄: 89번째 줄:
... (생략)
... (생략)
Available Packages
Available Packages
centos-release-openstack-newton.noarch                           1-2.el7                           extras
centos-release-openstack-newton.noarch                   1-2.el7                   extras
centos-release-openstack-ocata.noarch                           1-2.el7                           extras
centos-release-openstack-ocata.noarch                     1-2.el7                   extras
centos-release-openstack-pike.x86_64                             1-1.el7                           extras
centos-release-openstack-pike.x86_64                     1-1.el7                   extras
</source>
</source>
<source lang='console'>
<source lang='console'>
[root@localhost ~]# yum install centos-release-openstack-ocata
[root@localhost ~]# yum install centos-release-openstack-ocata
... (생략)
... (생략)
======================================================================
===========================================================================================
  Package                       Arch   Version           Repository
  Package                             Arch       Version                 Repository   Size
                                                                Size
===========================================================================================
======================================================================
Installing:
Installing:
  centos-release-openstack-ocata noarch 1-2.el7           extras 5.3 k
  centos-release-openstack-ocata     noarch     1-2.el7                 extras     5.3 k
Installing for dependencies:
Installing for dependencies:
  centos-release-ceph-jewel      noarch 1.0-1.el7.centos extras 4.1 k
  centos-release-ceph-jewel           noarch     1.0-1.el7.centos       extras     4.1 k
  centos-release-qemu-ev         noarch 1.0-2.el7         extras 11 k
  centos-release-qemu-ev             noarch     1.0-2.el7               extras       11 k
  centos-release-storage-common noarch 1-2.el7.centos   extras 4.5 k
  centos-release-storage-common       noarch     1-2.el7.centos         extras     4.5 k
  centos-release-virt-common     noarch 1-1.el7.centos   extras 4.5 k
  centos-release-virt-common         noarch     1-1.el7.centos         extras     4.5 k


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


114번째 줄: 118번째 줄:
... (생략)
... (생략)
Installed:
Installed:
   centos-release-openstack-ocata.noarch 0:1-2.el7                    
   centos-release-openstack-ocata.noarch 0:1-2.el7                                        


Dependency Installed:
Dependency Installed:
   centos-release-ceph-jewel.noarch 0:1.0-1.el7.centos                
   centos-release-ceph-jewel.noarch 0:1.0-1.el7.centos                                    
   centos-release-qemu-ev.noarch 0:1.0-2.el7                          
   centos-release-qemu-ev.noarch 0:1.0-2.el7                                              
   centos-release-storage-common.noarch 0:1-2.el7.centos              
   centos-release-storage-common.noarch 0:1-2.el7.centos                                  
   centos-release-virt-common.noarch 0:1-1.el7.centos                
   centos-release-virt-common.noarch 0:1-1.el7.centos                                      


Complete!
Complete!
129번째 줄: 133번째 줄:
[root@localhost ~]# yum update
[root@localhost ~]# yum update
... (생략)
... (생략)
======================================================================
===========================================================================================
  Package         Arch  Version         Repository              Size
  Package               Arch  Version                       Repository              Size
======================================================================
===========================================================================================
Installing:
Installing:
  python2-babel    noarch 2.3.4-1.el7    centos-openstack-ocata 4.8 M
  NetworkManager        x86_64 1:1.8.0-11.el7_4              updates                1.6 M
    replacing  python-babel.noarch 0.9.6-8.el7
     replacing  NetworkManager.x86_64 1:1.0.6-29.el7_2
python2-jinja2  noarch 2.8.1-1.el7    centos-openstack-ocata 463 k
  NetworkManager-ppp    x86_64 1:1.8.0-11.el7_4              updates                157 k
     replacing  python-jinja2.noarch 2.7.2-2.el7
     replacing  NetworkManager.x86_64 1:1.0.6-29.el7_2
python2-jsonpatch
  grub2                  x86_64 1:2.02-0.65.el7.centos.2       updates                29 k
                  noarch 1.14-1.el7      centos-openstack-ocata  22 k
     replacing  grub2.x86_64 1:2.02-0.34.el7.centos
    replacing  python-jsonpatch.noarch 1.2-4.el7
... (생략)
  python2-jsonpointer
  python2-jinja2        noarch 2.8.1-1.el7                   centos-openstack-ocata 463 k
                  noarch 1.10-4.el7      centos-openstack-ocata  14 k
  python2-markupsafe    x86_64 0.23-16.el7                    centos-openstack-ocata  32 k
    replacing  python-jsonpointer.noarch 1.9-2.el7
  python2-olefile       noarch 0.44-4.el7                     epel                   55 k
python2-markupsafe
  python2-pysocks        noarch 1.6.7-1.el7                   epel                    29 k
                  x86_64 0.23-16.el7    centos-openstack-ocata  32 k
  pytz                  noarch 2016.10-2.el7                 base                    46 k
    replacing  python-markupsafe.x86_64 0.11-10.el7
  systemd-libs          i686  219-42.el7_4.4                 updates                376 k
python2-pillow  x86_64 4.0.0-1.el7    centos-openstack-ocata 552 k
  userspace-rcu          x86_64 0.7.16-1.el7                   centos-ceph-jewel      72 k
     replacing  python-pillow.x86_64 2.0.0-19.gitd1c6db8.el7
  xz-libs                i686  5.2.2-1.el7                    base                  109 k
python2-pygments noarch 2.2.0-7.el7    centos-openstack-ocata 1.9 M
  zlib                  i686  1.2.7-17.el7                   base                    91 k
    replacing  python-pygments.noarch 1.4-10.el7
python2-requests noarch 2.11.1-1.el7    centos-openstack-ocata 105 k
    replacing  python-requests.noarch 2.6.0-1.el7_1
  python2-setuptools
                  noarch 22.0.5-1.el7    centos-openstack-ocata 485 k
    replacing  python-setuptools.noarch 0.9.8-7.el7
python2-six      noarch 1.10.0-9.el7    centos-openstack-ocata  31 k
    replacing  python-six.noarch 1.9.0-2.el7
python2-urllib3  noarch 1.16-1.el7      centos-openstack-ocata 126 k
     replacing  python-urllib3.noarch 1.10.2-3.el7
qemu-img-ev      x86_64 10:2.9.0-16.el7_4.13.1
                                        centos-qemu-ev        2.2 M
    replacing  qemu-img.x86_64 10:1.5.3-141.el7_4.6
Updating:
gperftools-libs  x86_64 2.4.91-1.el7    centos-openstack-ocata 273 k
librados2        x86_64 1:10.2.10-0.el7 centos-ceph-jewel      1.9 M
librbd1          x86_64 1:10.2.10-0.el7 centos-ceph-jewel      2.5 M
libtomcrypt      x86_64 1.17-33.20170623gitcd6e602.el7
                                        centos-openstack-ocata 390 k
libtommath      x86_64 1.0-8.el7      centos-openstack-ocata  51 k
mariadb-libs    x86_64 3:10.1.20-1.el7 centos-openstack-ocata 643 k
  python2-paramiko noarch 2.0.0-1.el7     centos-openstack-ocata 264 k
Installing for dependencies:
  boost-iostreams  x86_64 1.53.0-27.el7  base                    61 k
boost-random    x86_64 1.53.0-27.el7   base                   39 k
lcms2            x86_64 2.6-3.el7      base                  150 k
libimagequant    x86_64 2.8.2-2.el7    centos-openstack-ocata  52 k
  lttng-ust       x86_64 2.4.1-4.el7     epel                   176 k
  mariadb-common  x86_64 3:10.1.20-1.el7 centos-openstack-ocata  63 k
mariadb-config  x86_64 3:10.1.20-1.el7 centos-openstack-ocata  26 k
  openjpeg2        x86_64 2.1.2-1.el7    centos-openstack-ocata 112 k
python-enum34    noarch 1.0.4-1.el7     base                    52 k
  python-ipaddress noarch 1.0.16-3.el7    centos-openstack-ocata  34 k
python-ply      noarch 3.4-11.el7      base                  123 k
  python-pycparser noarch 2.14-1.el7      base                  104 k
python2-cffi    x86_64 1.5.2-1.el7     centos-openstack-ocata 214 k
  python2-cryptography
                  x86_64 1.7.2-1.el7_4.1 updates                502 k
python2-idna    noarch 2.5-1.el7       centos-openstack-ocata  94 k
python2-olefile  noarch 0.44-4.el7      epel                   55 k
  python2-pysocks  noarch 1.6.7-1.el7     epel                    29 k
pytz            noarch 2016.10-2.el7  base                    46 k
userspace-rcu    x86_64 0.7.16-1.el7    centos-ceph-jewel      72 k


Transaction Summary
Transaction Summary
======================================================================
===========================================================================================
Install 12 Packages (+19 Dependent packages)
Install   22 Packages (+65 Dependent packages)
Upgrade   7 Packages
Upgrade 253 Packages


Total download size: 19 M
Total download size: 276 M
Is this ok [y/d/N]: y
Is this ok [y/d/N]: y
</source>
</source>
<source lang='console'>
<source lang='console'>
... (생략)
... (생략)
   python-six.noarch 0:1.9.0-2.el7                                    
  python-setuptools.noarch 0:0.9.8-4.el7                                                 
   python-urllib3.noarch 0:1.10.2-3.el7                               
   python-six.noarch 0:1.9.0-2.el7                                                        
   qemu-img.x86_64 10:1.5.3-141.el7_4.6                               
   python-urllib3.noarch 0:1.10.2-2.el7_1                                                 
   qemu-img.x86_64 10:1.5.3-105.el7_2.3                                                   
  rdma.noarch 0:7.2_4.1_rc6-2.el7                                                         


Complete!
Complete!
214번째 줄: 177번째 줄:
[root@localhost ~]# yum install openstack-packstack
[root@localhost ~]# yum install openstack-packstack
... (생략)
... (생략)
======================================================================
===========================================================================================
  Package         Arch  Version         Repository              Size
  Package                 Arch  Version                     Repository              Size
======================================================================
===========================================================================================
Installing:
Installing:
  openstack-packstack
  openstack-packstack     noarch 1:10.0.1-1.el7               centos-openstack-ocata 189 k
                noarch 1:10.0.1-1.el7   centos-openstack-ocata 189 k
Installing for dependencies:
Installing for dependencies:
  augeas-libs     x86_64 1.4.0-2.el7_4.2 updates                355 k
  augeas-libs             x86_64 1.4.0-2.el7_4.2             updates                355 k
  facter         x86_64 1:2.4.4-4.el7   centos-openstack-ocata 101 k
  facter                   x86_64 1:2.4.4-4.el7               centos-openstack-ocata 101 k
  hiera           noarch 1:1.3.4-5.el7   centos-openstack-ocata  25 k
  hiera                   noarch 1:1.3.4-5.el7               centos-openstack-ocata  25 k
  libselinux-ruby x86_64 2.5-11.el7       base                  121 k
  libselinux-ruby         x86_64 2.5-11.el7                   base                  121 k
  openstack-packstack-puppet
  openstack-packstack-puppet
                noarch 1:10.0.1-1.el7   centos-openstack-ocata  62 k
                          noarch 1:10.0.1-1.el7               centos-openstack-ocata  62 k
  puppet         noarch 4.6.2-2.el7     centos-openstack-ocata 1.6 M
  puppet                   noarch 4.6.2-2.el7                 centos-openstack-ocata 1.6 M
  puppet-aodh     noarch 10.4.1-1.el7     centos-openstack-ocata  44 k
  puppet-aodh             noarch 10.4.1-1.el7                 centos-openstack-ocata  44 k
  puppet-apache   noarch 1.11.0-1.58207d3git.el7
  puppet-apache           noarch 1.11.0-1.58207d3git.el7     centos-openstack-ocata 155 k
                                        centos-openstack-ocata 155 k
  puppet-ceilometer       noarch 10.3.1-1.el7                 centos-openstack-ocata  55 k
  puppet-ceilometer
  puppet-certmonger       noarch 1.1.1-2.el7                 centos-openstack-ocata  20 k
                noarch 10.3.1-1.el7     centos-openstack-ocata  55 k
  puppet-cinder           noarch 10.3.1-1.el7                 centos-openstack-ocata  96 k
  puppet-certmonger
  puppet-concat           noarch 2.2.0-3.66022dcgit.el7       centos-openstack-ocata  25 k
                noarch 1.1.1-2.el7     centos-openstack-ocata  20 k
  puppet-corosync         noarch 5.0.0-3.f438aa5git.el7       centos-openstack-ocata  51 k
  puppet-cinder   noarch 10.3.1-1.el7     centos-openstack-ocata  96 k
  puppet-firewall         noarch 1.8.2-1.463ec1dgit.el7       centos-openstack-ocata  60 k
  puppet-concat   noarch 2.2.0-3.66022dcgit.el7
  puppet-glance           noarch 10.3.1-1.el7                 centos-openstack-ocata  71 k
                                        centos-openstack-ocata  25 k
  puppet-gnocchi           noarch 10.3.1-1.el7                 centos-openstack-ocata  49 k
  puppet-corosync noarch 5.0.0-3.f438aa5git.el7
  puppet-heat             noarch 10.3.1-1.el7                 centos-openstack-ocata  49 k
                                        centos-openstack-ocata  51 k
  puppet-horizon           noarch 10.5.0-1.el7                 centos-openstack-ocata  42 k
  puppet-firewall noarch 1.8.2-1.463ec1dgit.el7
  puppet-inifile           noarch 1.6.0-3.936ed07git.el7       centos-openstack-ocata  31 k
                                        centos-openstack-ocata  60 k
  puppet-ironic           noarch 10.4.1-1.el7                 centos-openstack-ocata  79 k
  puppet-glance   noarch 10.3.1-1.el7     centos-openstack-ocata  71 k
  puppet-keystone         noarch 10.3.1-1.el7                 centos-openstack-ocata 110 k
  puppet-gnocchi noarch 10.3.1-1.el7     centos-openstack-ocata  49 k
  puppet-magnum           noarch 10.4.0-1.el7                 centos-openstack-ocata  32 k
  puppet-heat     noarch 10.3.1-1.el7     centos-openstack-ocata  49 k
  puppet-manila           noarch 10.3.1-1.el7                 centos-openstack-ocata  56 k
  puppet-horizon noarch 10.5.0-1.el7     centos-openstack-ocata  42 k
  puppet-memcached         noarch 3.0.1-1.el7                 centos-openstack-ocata  12 k
  puppet-inifile noarch 1.6.0-3.936ed07git.el7
  puppet-mongodb           noarch 0.17.0-1.ed8d47bgit.el7     centos-openstack-ocata  55 k
                                        centos-openstack-ocata  31 k
  puppet-mysql             noarch 3.10.0-2.aec7383git.el7     centos-openstack-ocata  62 k
  puppet-ironic   noarch 10.4.1-1.el7     centos-openstack-ocata  79 k
  puppet-neutron           noarch 10.3.1-1.el7                 centos-openstack-ocata 150 k
  puppet-keystone noarch 10.3.1-1.el7     centos-openstack-ocata 110 k
  puppet-nova             noarch 10.4.1-1.el7                 centos-openstack-ocata 132 k
  puppet-magnum   noarch 10.4.0-1.el7     centos-openstack-ocata  32 k
  puppet-nssdb             noarch 1.0.1-1.el7                 centos-openstack-ocata 6.7 k
  puppet-manila   noarch 10.3.1-1.el7     centos-openstack-ocata  56 k
  puppet-openstack_extras noarch 10.3.1-1.el7                 centos-openstack-ocata  42 k
  puppet-memcached
  puppet-openstacklib     noarch 10.4.1-1.el7                 centos-openstack-ocata  49 k
                noarch 3.0.1-1.el7     centos-openstack-ocata  12 k
  puppet-oslo             noarch 10.3.1-1.el7                 centos-openstack-ocata  36 k
  puppet-mongodb noarch 0.17.0-1.ed8d47bgit.el7
  puppet-panko             noarch 10.3.1-1.el7                 centos-openstack-ocata  33 k
                                        centos-openstack-ocata  55 k
  puppet-rabbitmq         noarch 5.6.0-3.03b8592git.el7       centos-openstack-ocata 251 k
  puppet-mysql   noarch 3.10.0-2.aec7383git.el7
  puppet-redis             noarch 1.2.4-1.a2d6395git.el7       centos-openstack-ocata  31 k
                                        centos-openstack-ocata  62 k
  puppet-remote           noarch 0.0.1-2.2d3a477git.el7       centos-openstack-ocata  11 k
  puppet-neutron noarch 10.3.1-1.el7     centos-openstack-ocata 150 k
  puppet-rsync             noarch 0.4.0-1.8cc3c6fgit.el7       centos-openstack-ocata  13 k
  puppet-nova     noarch 10.4.1-1.el7     centos-openstack-ocata 132 k
  puppet-sahara           noarch 10.3.1-1.el7                 centos-openstack-ocata  43 k
  puppet-nssdb   noarch 1.0.1-1.el7     centos-openstack-ocata 6.7 k
  puppet-ssh               noarch 3.0.1-2.el7                 centos-openstack-ocata  21 k
  puppet-openstack_extras
  puppet-staging           noarch 1.0.4-1.b466d93git.el7       centos-openstack-ocata  78 k
                noarch 10.3.1-1.el7     centos-openstack-ocata  42 k
  puppet-stdlib           noarch 4.14.0-1.db8c1fbgit.el7     centos-openstack-ocata 103 k
  puppet-openstacklib
  puppet-swift             noarch 10.3.1-1.el7                 centos-openstack-ocata  93 k
                noarch 10.4.1-1.el7     centos-openstack-ocata  49 k
  puppet-sysctl           noarch 0.0.11-1.el7                 centos-openstack-ocata 9.1 k
  puppet-oslo     noarch 10.3.1-1.el7     centos-openstack-ocata  36 k
  puppet-tempest           noarch 10.3.1-1.el7                 centos-openstack-ocata  32 k
  puppet-panko   noarch 10.3.1-1.el7     centos-openstack-ocata  33 k
  puppet-trove             noarch 10.3.1-1.el7                 centos-openstack-ocata  56 k
  puppet-rabbitmq noarch 5.6.0-3.03b8592git.el7
  puppet-vcsrepo           noarch 1.5.0-1.247c33cgit.el7       centos-openstack-ocata  42 k
                                        centos-openstack-ocata 251 k
  puppet-vswitch           noarch 6.3.1-1.el7                 centos-openstack-ocata  36 k
  puppet-redis   noarch 1.2.4-1.a2d6395git.el7
  puppet-xinetd           noarch 2.0.0-3.9beb441git.el7       centos-openstack-ocata  19 k
                                        centos-openstack-ocata  31 k
  python-docutils         noarch 0.11-0.2.20130715svn7687.el7 base                  1.5 M
  puppet-remote   noarch 0.0.1-2.2d3a477git.el7
  python-netaddr           noarch 0.7.18-1.el7                 centos-openstack-ocata 1.3 M
                                        centos-openstack-ocata  11 k
  python-netifaces         x86_64 0.10.4-3.el7                 base                    17 k
  puppet-rsync   noarch 0.4.0-1.8cc3c6fgit.el7
  python2-pbr             noarch 1.10.0-1.el7                 centos-openstack-ocata 176 k
                                        centos-openstack-ocata  13 k
  python2-pyOpenSSL       noarch 16.2.0-3.el7                 centos-openstack-ocata  88 k
  puppet-sahara   noarch 10.3.1-1.el7     centos-openstack-ocata  43 k
  ruby                     x86_64 2.0.0.648-30.el7             base                    69 k
  puppet-ssh     noarch 3.0.1-2.el7     centos-openstack-ocata  21 k
  ruby-augeas             x86_64 0.5.0-1.el7                 centos-openstack-ocata  23 k
  puppet-staging noarch 1.0.4-1.b466d93git.el7
  ruby-irb                 noarch 2.0.0.648-30.el7             base                    90 k
                                        centos-openstack-ocata  78 k
  ruby-libs               x86_64 2.0.0.648-30.el7             base                  2.8 M
  puppet-stdlib   noarch 4.14.0-1.db8c1fbgit.el7
  ruby-shadow             x86_64 1.4.1-23.el7                 centos-openstack-ocata  13 k
                                        centos-openstack-ocata 103 k
  rubygem-bigdecimal       x86_64 1.2.0-30.el7                 base                    81 k
  puppet-swift   noarch 10.3.1-1.el7     centos-openstack-ocata  93 k
  rubygem-io-console       x86_64 0.4.2-30.el7                 base                    52 k
  puppet-sysctl   noarch 0.0.11-1.el7     centos-openstack-ocata 9.1 k
  rubygem-json             x86_64 1.7.7-30.el7                 base                    77 k
  puppet-tempest noarch 10.3.1-1.el7     centos-openstack-ocata  32 k
  rubygem-psych           x86_64 2.0.0-30.el7                 base                    79 k
  puppet-trove   noarch 10.3.1-1.el7     centos-openstack-ocata  56 k
  rubygem-rdoc             noarch 4.0.0-30.el7                 base                  319 k
  puppet-vcsrepo noarch 1.5.0-1.247c33cgit.el7
  rubygem-rgen             noarch 0.6.6-2.el7                 centos-openstack-ocata  84 k
                                        centos-openstack-ocata  42 k
  rubygems                 noarch 2.0.14.1-30.el7             base                  216 k
  puppet-vswitch noarch 6.3.1-1.el7     centos-openstack-ocata  36 k
  puppet-xinetd   noarch 2.0.0-3.9beb441git.el7
                                        centos-openstack-ocata  19 k
  python-docutils noarch 0.11-0.2.20130715svn7687.el7
                                        base                  1.5 M
  python-netaddr noarch 0.7.18-1.el7     centos-openstack-ocata 1.3 M
  python-netifaces
                x86_64 0.10.4-3.el7     base                    17 k
  python2-pbr     noarch 1.10.0-1.el7     centos-openstack-ocata 176 k
  python2-pyOpenSSL
                noarch 16.2.0-3.el7     centos-openstack-ocata  88 k
  ruby           x86_64 2.0.0.648-30.el7 base                    69 k
  ruby-augeas     x86_64 0.5.0-1.el7     centos-openstack-ocata  23 k
  ruby-irb       noarch 2.0.0.648-30.el7 base                    90 k
  ruby-libs       x86_64 2.0.0.648-30.el7 base                  2.8 M
  ruby-shadow     x86_64 1.4.1-23.el7     centos-openstack-ocata  13 k
  rubygem-bigdecimal
                x86_64 1.2.0-30.el7     base                    81 k
  rubygem-io-console
                x86_64 0.4.2-30.el7     base                    52 k
  rubygem-json   x86_64 1.7.7-30.el7     base                    77 k
  rubygem-psych   x86_64 2.0.0-30.el7     base                    79 k
  rubygem-rdoc   noarch 4.0.0-30.el7     base                  319 k
  rubygem-rgen   noarch 0.6.6-2.el7     centos-openstack-ocata  84 k
  rubygems       noarch 2.0.14.1-30.el7 base                  216 k


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


322번째 줄: 259번째 줄:
</source>
</source>
<source lang='console'>
<source lang='console'>
... (생략)
  rubygem-rdoc.noarch 0:4.0.0-30.el7                                                     
  rubygem-rgen.noarch 0:0.6.6-2.el7                                                       
  rubygems.noarch 0:2.0.14.1-30.el7                                                       
Complete!
</source>
</source>


344번째 줄: 287번째 줄:
<source lang='console'>
<source lang='console'>
[root@allinone ~]# packstack --gen-answer-file answer.txt
[root@allinone ~]# packstack --gen-answer-file answer.txt
[root@allinone ~]#  
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
[root@allinone ~]#
</source>
</source>


==packstack 설치 실행==
==packstack 설치 실행==
* 아래 명령어 수행 직전에 스냅샷을 찍어두면 좋다...
<source lang='console'>
<source lang='console'>
[root@allinone ~]# packstack --answer-file answer.txt
[root@allinone ~]# packstack --answer-file answer.txt
358번째 줄: 303번째 줄:
Discovering ip protocol version                      [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ 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 Swift builder entries                      [ DONE ]
Preparing Swift proxy entries                        [ DONE ]
Preparing Swift storage entries                      [ DONE ]
Preparing Gnocchi entries                            [ DONE ]
Preparing MongoDB entries                            [ DONE ]
Preparing Redis entries                              [ DONE ]
Preparing Ceilometer entries                        [ DONE ]
Preparing Aodh entries                              [ DONE ]
Preparing Puppet manifests                          [ DONE ]
Copying Puppet modules and manifests                [ DONE ]
Applying 192.168.10.2_controller.pp
Testing if puppet apply is finished: 192.168.10.2_controller.pp  [ / ]
... (생략)
</source>
</source>


==같이 보기==
==같이 보기==
* [[Packstack 설치 실습 (2대 구성)]]
* [[Packstack 설치 실습 (2대 구성)]]
* [[Packstack]]
* [[OpenStack 설치 실습]]
* [[OpenStack 설치 실습]]


[[분류: Packstack]]
[[분류: Packstack]]

2019년 1월 2일 (수) 14:57 기준 최신판

  다른 뜻에 대해서는 Packstack 설치 실습 (2대 구성) 문서를 참조하십시오.
Packstack으로 오픈스택 설치 실습 (1대 구성)

1 개요[ | ]

Packstack 설치 실습 (1대 구성)
  • 실습용
  • 모든 컴포넌트를 1대에 설치함

2 사전작업[ | ]

3 사전작업 2[ | ]

3.1 CPU가상화 지원 확인[ | ]

[root@localhost ~]# cat /proc/cpuinfo | egrep ' (svm|vmx|lm) '
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch rdseed clflushopt

3.2 이더넷 시작·설정[ | ]

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
BOOTPROTO=static
IPADDR=192.168.200.4
NETMASK=255.255.255.0
GATEWAY=192.168.200.1
#ONBOOT=no
ONBOOT=yes
[root@localhost ~]# ifup enp0s3

3.3 인터넷 연결 확인[ | ]

[root@localhost ~]# ping yahoo.com -c2
PING yahoo.com (98.138.253.109) 56(84) bytes of data.
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=1 ttl=44 time=422 ms
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=2 ttl=44 time=380 ms

--- yahoo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 380.269/401.251/422.233/20.982 ms

3.4 SELINUX 비활성화[ | ]

[root@localhost ~]# vi /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled

3.5 NetworkManager 비활성화[ | ]

[root@localhost ~]# systemctl stop NetworkManager
[root@localhost ~]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

3.6 방화벽 비활성화[ | ]

[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.

3.7 호스트명 변경[ | ]

[root@localhost ~]# hostnamectl set-hostname allinone.openstack
[root@localhost ~]# hostname
allinone.openstack

3.8 시간대 설정[ | ]

[root@localhost ~]# timedatectl set-timezone Asia/Seoul
[root@localhost ~]# timedatectl status | grep Seoul
       Time zone: Asia/Seoul (KST, +0900)

4 centos-release-openstack 설치[ | ]

[root@localhost ~]# yum list centos-release-openstack-*
... (생략)
Available Packages
centos-release-openstack-newton.noarch                    1-2.el7                    extras
centos-release-openstack-ocata.noarch                     1-2.el7                    extras
centos-release-openstack-pike.x86_64                      1-1.el7                    extras
[root@localhost ~]# yum install centos-release-openstack-ocata
... (생략)
===========================================================================================
 Package                             Arch        Version                 Repository   Size
===========================================================================================
Installing:
 centos-release-openstack-ocata      noarch      1-2.el7                 extras      5.3 k
Installing for dependencies:
 centos-release-ceph-jewel           noarch      1.0-1.el7.centos        extras      4.1 k
 centos-release-qemu-ev              noarch      1.0-2.el7               extras       11 k
 centos-release-storage-common       noarch      1-2.el7.centos          extras      4.5 k
 centos-release-virt-common          noarch      1-1.el7.centos          extras      4.5 k

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

Total download size: 29 k
Installed size: 23 k
Is this ok [y/d/N]: y
... (생략)
Installed:
  centos-release-openstack-ocata.noarch 0:1-2.el7                                          

Dependency Installed:
  centos-release-ceph-jewel.noarch 0:1.0-1.el7.centos                                      
  centos-release-qemu-ev.noarch 0:1.0-2.el7                                                
  centos-release-storage-common.noarch 0:1-2.el7.centos                                    
  centos-release-virt-common.noarch 0:1-1.el7.centos                                       

Complete!

5 yum update[ | ]

[root@localhost ~]# yum update
... (생략)
===========================================================================================
 Package                Arch   Version                        Repository              Size
===========================================================================================
Installing:
 NetworkManager         x86_64 1:1.8.0-11.el7_4               updates                1.6 M
     replacing  NetworkManager.x86_64 1:1.0.6-29.el7_2
 NetworkManager-ppp     x86_64 1:1.8.0-11.el7_4               updates                157 k
     replacing  NetworkManager.x86_64 1:1.0.6-29.el7_2
 grub2                  x86_64 1:2.02-0.65.el7.centos.2       updates                 29 k
     replacing  grub2.x86_64 1:2.02-0.34.el7.centos
... (생략)
 python2-jinja2         noarch 2.8.1-1.el7                    centos-openstack-ocata 463 k
 python2-markupsafe     x86_64 0.23-16.el7                    centos-openstack-ocata  32 k
 python2-olefile        noarch 0.44-4.el7                     epel                    55 k
 python2-pysocks        noarch 1.6.7-1.el7                    epel                    29 k
 pytz                   noarch 2016.10-2.el7                  base                    46 k
 systemd-libs           i686   219-42.el7_4.4                 updates                376 k
 userspace-rcu          x86_64 0.7.16-1.el7                   centos-ceph-jewel       72 k
 xz-libs                i686   5.2.2-1.el7                    base                   109 k
 zlib                   i686   1.2.7-17.el7                   base                    91 k

Transaction Summary
===========================================================================================
Install   22 Packages (+65 Dependent packages)
Upgrade  253 Packages

Total download size: 276 M
Is this ok [y/d/N]: y
... (생략)
  python-setuptools.noarch 0:0.9.8-4.el7                                                   
  python-six.noarch 0:1.9.0-2.el7                                                          
  python-urllib3.noarch 0:1.10.2-2.el7_1                                                   
  qemu-img.x86_64 10:1.5.3-105.el7_2.3                                                     
  rdma.noarch 0:7.2_4.1_rc6-2.el7                                                          

Complete!

6 openstack-packstack 설치[ | ]

[root@localhost ~]# yum install openstack-packstack
... (생략)
===========================================================================================
 Package                  Arch   Version                      Repository              Size
===========================================================================================
Installing:
 openstack-packstack      noarch 1:10.0.1-1.el7               centos-openstack-ocata 189 k
Installing for dependencies:
 augeas-libs              x86_64 1.4.0-2.el7_4.2              updates                355 k
 facter                   x86_64 1:2.4.4-4.el7                centos-openstack-ocata 101 k
 hiera                    noarch 1:1.3.4-5.el7                centos-openstack-ocata  25 k
 libselinux-ruby          x86_64 2.5-11.el7                   base                   121 k
 openstack-packstack-puppet
                          noarch 1:10.0.1-1.el7               centos-openstack-ocata  62 k
 puppet                   noarch 4.6.2-2.el7                  centos-openstack-ocata 1.6 M
 puppet-aodh              noarch 10.4.1-1.el7                 centos-openstack-ocata  44 k
 puppet-apache            noarch 1.11.0-1.58207d3git.el7      centos-openstack-ocata 155 k
 puppet-ceilometer        noarch 10.3.1-1.el7                 centos-openstack-ocata  55 k
 puppet-certmonger        noarch 1.1.1-2.el7                  centos-openstack-ocata  20 k
 puppet-cinder            noarch 10.3.1-1.el7                 centos-openstack-ocata  96 k
 puppet-concat            noarch 2.2.0-3.66022dcgit.el7       centos-openstack-ocata  25 k
 puppet-corosync          noarch 5.0.0-3.f438aa5git.el7       centos-openstack-ocata  51 k
 puppet-firewall          noarch 1.8.2-1.463ec1dgit.el7       centos-openstack-ocata  60 k
 puppet-glance            noarch 10.3.1-1.el7                 centos-openstack-ocata  71 k
 puppet-gnocchi           noarch 10.3.1-1.el7                 centos-openstack-ocata  49 k
 puppet-heat              noarch 10.3.1-1.el7                 centos-openstack-ocata  49 k
 puppet-horizon           noarch 10.5.0-1.el7                 centos-openstack-ocata  42 k
 puppet-inifile           noarch 1.6.0-3.936ed07git.el7       centos-openstack-ocata  31 k
 puppet-ironic            noarch 10.4.1-1.el7                 centos-openstack-ocata  79 k
 puppet-keystone          noarch 10.3.1-1.el7                 centos-openstack-ocata 110 k
 puppet-magnum            noarch 10.4.0-1.el7                 centos-openstack-ocata  32 k
 puppet-manila            noarch 10.3.1-1.el7                 centos-openstack-ocata  56 k
 puppet-memcached         noarch 3.0.1-1.el7                  centos-openstack-ocata  12 k
 puppet-mongodb           noarch 0.17.0-1.ed8d47bgit.el7      centos-openstack-ocata  55 k
 puppet-mysql             noarch 3.10.0-2.aec7383git.el7      centos-openstack-ocata  62 k
 puppet-neutron           noarch 10.3.1-1.el7                 centos-openstack-ocata 150 k
 puppet-nova              noarch 10.4.1-1.el7                 centos-openstack-ocata 132 k
 puppet-nssdb             noarch 1.0.1-1.el7                  centos-openstack-ocata 6.7 k
 puppet-openstack_extras  noarch 10.3.1-1.el7                 centos-openstack-ocata  42 k
 puppet-openstacklib      noarch 10.4.1-1.el7                 centos-openstack-ocata  49 k
 puppet-oslo              noarch 10.3.1-1.el7                 centos-openstack-ocata  36 k
 puppet-panko             noarch 10.3.1-1.el7                 centos-openstack-ocata  33 k
 puppet-rabbitmq          noarch 5.6.0-3.03b8592git.el7       centos-openstack-ocata 251 k
 puppet-redis             noarch 1.2.4-1.a2d6395git.el7       centos-openstack-ocata  31 k
 puppet-remote            noarch 0.0.1-2.2d3a477git.el7       centos-openstack-ocata  11 k
 puppet-rsync             noarch 0.4.0-1.8cc3c6fgit.el7       centos-openstack-ocata  13 k
 puppet-sahara            noarch 10.3.1-1.el7                 centos-openstack-ocata  43 k
 puppet-ssh               noarch 3.0.1-2.el7                  centos-openstack-ocata  21 k
 puppet-staging           noarch 1.0.4-1.b466d93git.el7       centos-openstack-ocata  78 k
 puppet-stdlib            noarch 4.14.0-1.db8c1fbgit.el7      centos-openstack-ocata 103 k
 puppet-swift             noarch 10.3.1-1.el7                 centos-openstack-ocata  93 k
 puppet-sysctl            noarch 0.0.11-1.el7                 centos-openstack-ocata 9.1 k
 puppet-tempest           noarch 10.3.1-1.el7                 centos-openstack-ocata  32 k
 puppet-trove             noarch 10.3.1-1.el7                 centos-openstack-ocata  56 k
 puppet-vcsrepo           noarch 1.5.0-1.247c33cgit.el7       centos-openstack-ocata  42 k
 puppet-vswitch           noarch 6.3.1-1.el7                  centos-openstack-ocata  36 k
 puppet-xinetd            noarch 2.0.0-3.9beb441git.el7       centos-openstack-ocata  19 k
 python-docutils          noarch 0.11-0.2.20130715svn7687.el7 base                   1.5 M
 python-netaddr           noarch 0.7.18-1.el7                 centos-openstack-ocata 1.3 M
 python-netifaces         x86_64 0.10.4-3.el7                 base                    17 k
 python2-pbr              noarch 1.10.0-1.el7                 centos-openstack-ocata 176 k
 python2-pyOpenSSL        noarch 16.2.0-3.el7                 centos-openstack-ocata  88 k
 ruby                     x86_64 2.0.0.648-30.el7             base                    69 k
 ruby-augeas              x86_64 0.5.0-1.el7                  centos-openstack-ocata  23 k
 ruby-irb                 noarch 2.0.0.648-30.el7             base                    90 k
 ruby-libs                x86_64 2.0.0.648-30.el7             base                   2.8 M
 ruby-shadow              x86_64 1.4.1-23.el7                 centos-openstack-ocata  13 k
 rubygem-bigdecimal       x86_64 1.2.0-30.el7                 base                    81 k
 rubygem-io-console       x86_64 0.4.2-30.el7                 base                    52 k
 rubygem-json             x86_64 1.7.7-30.el7                 base                    77 k
 rubygem-psych            x86_64 2.0.0-30.el7                 base                    79 k
 rubygem-rdoc             noarch 4.0.0-30.el7                 base                   319 k
 rubygem-rgen             noarch 0.6.6-2.el7                  centos-openstack-ocata  84 k
 rubygems                 noarch 2.0.14.1-30.el7              base                   216 k

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

Total download size: 12 M
Installed size: 41 M
Is this ok [y/d/N]: y
... (생략)
  rubygem-rdoc.noarch 0:4.0.0-30.el7                                                       
  rubygem-rgen.noarch 0:0.6.6-2.el7                                                        
  rubygems.noarch 0:2.0.14.1-30.el7                                                        

Complete!

7 재부팅[ | ]

[root@localhost ~]# reboot

8 인터넷 연결 확인 2[ | ]

[root@allinone ~]# ping yahoo.com -c2
PING yahoo.com (206.190.36.45) 56(84) bytes of data.
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=1 ttl=45 time=522 ms
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=2 ttl=45 time=482 ms

--- yahoo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 482.759/502.403/522.047/19.644 ms

9 answer 파일 생성[ | ]

[root@allinone ~]# packstack --gen-answer-file answer.txt
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
[root@allinone ~]#

10 packstack 설치 실행[ | ]

  • 아래 명령어 수행 직전에 스냅샷을 찍어두면 좋다...
[root@allinone ~]# packstack --answer-file answer.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20170914-143609-09_3cS/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 Swift builder entries                      [ DONE ]
Preparing Swift proxy entries                        [ DONE ]
Preparing Swift storage entries                      [ DONE ]
Preparing Gnocchi entries                            [ DONE ]
Preparing MongoDB entries                            [ DONE ]
Preparing Redis entries                              [ DONE ]
Preparing Ceilometer entries                         [ DONE ]
Preparing Aodh entries                               [ DONE ]
Preparing Puppet manifests                           [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.10.2_controller.pp
Testing if puppet apply is finished: 192.168.10.2_controller.pp  [ / ]
... (생략)

11 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}