centos openstack packstack インストールログ



####ログです。
VirtualBox上のCentOS7にPackstackを使用してOpenstack Rockyをインストールしています。作業手順はこちら
※Markdownが効いて拡大されたりすることを避けるために「\」を入れています。
(もっといいやり方ご存知の方は教えてください・・・泣)

以降install LOG(抜粋)です!


\
\ [root@localhost ~]# sudo vi /etc/environment
\ "/etc/environment" 0L, 0C~
\
\ LANG=en_US.utf-8
\ LC_ALL=en_US.utf-8
\
\
\ [root@localhost ~]# sudo systemctl stop NetworkManager
\ [root@localhost ~]# sudo 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.
\ [root@localhost ~]# sudo systemctl stop firewalld
\ [root@localhost ~]# sudo systemctl disable firewalld
\ Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
\ Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
\ [root@localhost ~]# sudo systemctl restart network
\ [root@localhost ~]# getenforce
\ Enforcing
\ [root@localhost ~]# vi /etc/sysconfig/selinux
\ "/etc/sysconfig/selinux" 14L, 547C# This file controls the state of SELinux on the system.
\ # SELINUX= can take one of these three values:
\ # enforcing - SELinux security policy is enforced.
\ # permissive - SELinux prints warnings instead of enforcing.
\ # disabled - No SELinux policy is loaded.
\ SELINUX=disabled
\ # SELINUXTYPE= can take one of three two values:
\ # targeted - Targeted processes are protected,
\ # minimum - Modification of targeted policy. Only selected processes are protected.
\ # mls - Multi Level Security protection.
\ SELINUXTYPE=targeted
\
\
\ [root@localhost ~]# reboot
\
\
\
\ [root@localhost ~]# sudo yum -y update
\ Loaded plugins: fastestmirror
\ Determining fastest mirrors
\ * base: ftp-srv2.kddilabs.jp
\ * extras: ftp-srv2.kddilabs.jp
\ * updates: ftp-srv2.kddilabs.jp
\ --> Running transaction check
\ ---> Package NetworkManager.x86_64 1:1.10.2-13.el7 will be updated
\ ---> Package NetworkManager.x86_64 1:1.10.2-16.el7_5 will be an update
\ ---> Package tzdata.noarch 0:2018c-1.el7 will be updated
\ ---> Package tzdata.noarch 0:2018f-2.el7 will be an update
\ ---> Package util-linux.x86_64 0:2.23.2-52.el7 will be updated
\ ---> Package util-linux.x86_64 0:2.23.2-52.el7_5.1 will be an update
\ ---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-45.el7 will be updated
\ ---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-46.el7_5 will be an update
\ --> Finished Dependency Resolution
\
\ Dependencies Resolved
\
\ =============================================================================


\ Package Arch Version Repository
\ Size
\ =============================================================================
\ Installing:
\ kernel x86_64 3.10.0-862.14.4.el7 updates 46 M
\ Updating:
\ NetworkManager x86_64 1:1.10.2-16.el7_5 updates 1.7 M
\ NetworkManager-libnm x86_64 1:1.10.2-16.el7_5 updates 1.3 M
\ NetworkManager-team x86_64 1:1.10.2-16.el7_5 updates 161 k
\ NetworkManager-tui x86_64 1:1.10.2-16.el7_5 updates 235 k
\ NetworkManager-wifi x86_64 1:1.10.2-16.el7_5 updates 192 k
\ audit x86_64 2.8.1-3.el7_5.1 updates 247 k
\ audit-libs x86_64 2.8.1-3.el7_5.1 updates 99 k
\ bind-libs-lite x86_64 32:9.9.4-61.el7_5.1 updates 734 k
\ bind-license noarch 32:9.9.4-61.el7_5.1 updates 85 k
\ python-firewall noarch 0.4.4.4-15.el7_5 updates 328 k
\ python-libs x86_64 2.7.5-69.el7_5 updates 5.6 M
\ python-perf x86_64 3.10.0-862.14.4.el7 updates 6.3 M
\ rsyslog x86_64 8.24.0-16.el7_5.4 updates 607 k
\ selinux-policy noarch 3.13.1-192.el7_5.6 updates 453 k
\ selinux-policy-targeted noarch 3.13.1-192.el7_5.6 updates 6.6 M
\ sudo x86_64 1.8.19p2-14.el7_5 updates 1.1 M
\ systemd x86_64 219-57.el7_5.3 updates 5.0 M
\ systemd-libs x86_64 219-57.el7_5.3 updates 402 k
\ systemd-sysv x86_64 219-57.el7_5.3 updates 80 k
\ tuned noarch 2.9.0-1.el7_5.2 updates 244 k
\ tzdata noarch 2018f-2.el7 updates 484 k
\ util-linux x86_64 2.23.2-52.el7_5.1 updates 2.0 M
\ yum-plugin-fastestmirror
\ noarch 1.1.31-46.el7_5 updates 33 k
\
\ Transaction Summary
\ =============================================================================
\ Install 1 Package
\ Upgrade 82 Packages
\
\ Total download size: 179 M
\ Downloading packages:
\ Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
\ Public key for NetworkManager-wifi-1.10.2-16.el7_5.x86_64.rpm is not installed
\ (1/83): NetworkManager-wifi-1.10.2-16.el7_5.x86_64.rpm | 192 kB 00:00
\ (2/83): NetworkManager-team-1.10.2-16.el7_5.x86_64.rpm | 161 kB 00:00
\ (3/83): audit-2.8.1-3.el7_5.1.x86_64.rpm | 247 kB 00:00
\ (4/83): NetworkManager-tui-1.10.2-16.el7_5.x86_64.rpm | 235 kB 00:00
\ (5/83): audit-libs-2.8.1-3.el7_5.1.x86_64.rpm | 99 kB 00:00
\ Package : centos-release-7-5.1804.el7.centos.x86_64 (@anaconda)
\ From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
\ Running transaction check
\ Running transaction test
\ Transaction test succeeded
\ Running transaction
\ Updating : nspr-4.19.0-1.el7_5.x86_6 [ ] 1/165
\ Updating : nspr-4.19.0-1.el7_5.x86_6 [##### ] 1/165
\ Cleanup : iwl3160-firmware-22.0.7.0-62.el7.noarch 101/165
\ Cleanup : iwl5150-firmware-8.24.2.2-62.el7.noarch 102/165
\ Cleanup : iwl100-firmware-39.31.5.1-62.el7.noarch 103/165



\ Cleanup : 1:iwl1000-firmware-39.31.5.1-62.el7.noarch 104/165
\ Cleanup : ca-certificates-2017.2.20-71.el7.noarch 105/165
\ Cleanup : iwl4965-firmware-228.61.2.24-62.el7.noarch 106/165
\ Cleanup : iwl6000-firmware-9.221.4.1-62.el7.noarch 107/165
\ Cleanup : yum-plugin-fastestmirror-1.1.31-45.el7.noarch 108/165
\ Cleanup : iwl2030-firmware-18.168.6.1-62.el7.noarch 109/165
\ Cleanup : iwl7265-firmware-22.0.7.0-62.el7.noarch 110/165
\ Cleanup : linux-firmware-20180220-62.git6d51311.el7.noarch 111/165
\ Cleanup : 1:NetworkManager-tui-1.10.2-13.el7.x86_64 112/165
\ Cleanup : e2fsprogs-1.42.9-11.el7.x86_64 113/165
\ Cleanup : audit-2.8.1-3.el7.x86_64 114/165
\ Cleanup : rsyslog-8.24.0-16.el7.x86_64 115/165
\ Cleanup : kexec-tools-2.0.15-13.el7.x86_64 116/165
\ Cleanup : dracut-network-033-535.el7.x86_64 117/165
\ Cleanup : 12:dhclient-4.2.5-68.el7.centos.x86_64 118/165
\ Cleanup : systemd-sysv-219-57.el7.x86_64 119/165
\ Cleanup : dracut-033-535.el7.x86_64 120/165
\ Cleanup : initscripts-9.49.41-1.el7.x86_64 121/165
\ Cleanup : util-linux-2.23.2-52.el7.x86_64 122/165
\ Cleanup : 32:bind-libs-lite-9.9.4-61.el7.x86_64 123/165
\ Cleanup : python-perf-3.10.0-862.el7.x86_64 124/165
\ Cleanup : 1:NetworkManager-wifi-1.10.2-13.el7.x86_64 125/165
\ Cleanup : 1:NetworkManager-team-1.10.2-13.el7.x86_64 126/165
\ Cleanup : 1:NetworkManager-1.10.2-13.el7.x86_64 127/165
\ Cleanup : 1:NetworkManager-libnm-1.10.2-13.el7.x86_64 128/165
\ Cleanup : sudo-1.8.19p2-13.el7.x86_64 129/165
\ Cleanup : 12:dhcp-common-4.2.5-68.el7.centos.x86_64 130/165
\ Cleanup : 12:dhcp-libs-4.2.5-68.el7.centos.x86_64 131/165
\ Cleanup : python-2.7.5-68.el7.x86_64 132/165
\ Cleanup : krb5-libs-1.15.1-18.el7.x86_64 133/165
\ Cleanup : procps-ng-3.3.10-17.el7.x86_64 134/165
\ Cleanup : e2fsprogs-libs-1.42.9-11.el7.x86_64 135/165
\ Cleanup : libss-1.42.9-11.el7.x86_64 136/165
\ Cleanup : 2:microcode_ctl-2.1-29.el7.x86_64 137/165
\ Verifying : iwl3945-firmware-15.32.2.9-62.el7.noarch 153/165
\ Verifying : libss-1.42.9-11.el7.x86_64 154/165
\ Verifying : procps-ng-3.3.10-17.el7.x86_64 155/165
\ Verifying : libblkid-2.23.2-52.el7.x86_64 156/165
\ Verifying : kpartx-0.4.9-119.el7.x86_64 157/165
\ Verifying : krb5-libs-1.15.1-18.el7.x86_64 158/165
\ Verifying : nss-3.34.0-4.el7.x86_64 159/165
\ Verifying : 1:mariadb-libs-5.5.56-2.el7.x86_64 160/165
\ Verifying : iwl5000-firmware-8.83.5.1_1-62.el7.noarch 161/165
\ Verifying : systemd-219-57.el7.x86_64 162/165
\ Verifying : yum-plugin-fastestmirror-1.1.31-45.el7.noarch 163/165
\ Verifying : systemd-libs-219-57.el7.x86_64 164/165
\ Verifying : e2fsprogs-1.42.9-11.el7.x86_64 165/165
\
\ Installed:
\ kernel.x86_64 0:3.10.0-862.14.4.el7



\
\ Updated:
\ NetworkManager.x86_64 1:1.10.2-16.el7_5
\ NetworkManager-libnm.x86_64 1:1.10.2-16.el7_5
\ NetworkManager-team.x86_64 1:1.10.2-16.el7_5
\ systemd.x86_64 0:219-57.el7_5.3
\ systemd-libs.x86_64 0:219-57.el7_5.3
\ systemd-sysv.x86_64 0:219-57.el7_5.3
\ tuned.noarch 0:2.9.0-1.el7_5.2
\ tzdata.noarch 0:2018f-2.el7
\ util-linux.x86_64 0:2.23.2-52.el7_5.1
\ yum-plugin-fastestmirror.noarch 0:1.1.31-46.el7_5
\
\ Complete!
\ [root@localhost ~]# sudo yum install -y centos-release-openstack-rocky
\ Loaded plugins: fastestmirror
\ Loading mirror speeds from cached hostfile
\ * base: ftp-srv2.kddilabs.jp
\ * extras: ftp-srv2.kddilabs.jp
\ * updates: ftp-srv2.kddilabs.jp
\ Resolving Dependencies
\ --> Running transaction check
\ ---> Package centos-release-virt-common.noarch 0:1-1.el7.centos will be installed
\ --> Finished Dependency Resolution
\
\ Dependencies Resolved
\
\ =============================================================================
\ Package Arch Version Repository
\ Size
\ =============================================================================
\ Installing:
\ centos-release-openstack-rocky noarch 1-1.el7.centos extras 5.2 k
\ Installing for dependencies:
\ centos-release-ceph-luminous noarch 1.1-2.el7.centos extras 4.4 k
\ centos-release-qemu-ev noarch 1.0-3.el7.centos extras 11 k
\ centos-release-storage-common noarch 2-2.el7.centos extras 5.1 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: 30 k
\ Installed size: 24 k
\ Downloading packages:
\ (1/5): centos-release-ceph-luminous-1.1-2.el7.centos.no | 4.4 kB 00:00
\ -----------------------------------------------------------------------------
\ Total 36 kB/s | 30 kB 00:00
\ Running transaction check
\ Running transaction test
\ Transaction test succeeded
\ Running transaction
\ Installing : centos-release-storage-comm [ ] 1/5
\ Installing : centos-release-storage-comm [################# ] 1/5
\ Verifying : centos-release-qemu-ev-1.0-3.el7.centos.noarch 3/5
\ Verifying : centos-release-virt-common-1-1.el7.centos.noarch 4/5
\ Verifying : centos-release-storage-common-2-2.el7.centos.noarch 5/5
\
\ Installed:
\ centos-release-openstack-rocky.noarch 0:1-1.el7.centos
\
\ Dependency Installed:
\ centos-release-ceph-luminous.noarch 0:1.1-2.el7.centos
\ centos-release-qemu-ev.noarch 0:1.0-3.el7.centos
\ centos-release-storage-common.noarch 0:2-2.el7.centos
\ centos-release-virt-common.noarch 0:1-1.el7.centos
\
\ Complete!
\ [root@localhost ~]# sudo yum -y update
\ Loaded plugins: fastestmirror
\ Loading mirror speeds from cached hostfile
\ * base: ftp-srv2.kddilabs.jp
\ * extras: ftp-srv2.kddilabs.jp
\ * updates: ftp-srv2.kddilabs.jp



\ centos-ceph-luminous | 2.9 kB 00:00
\ centos-openstack-rocky | 2.9 kB 00:00
\ centos-qemu-ev | 2.9 kB 00:00
\ --> Processing Dependency: mariadb-common(x86-64) = 3:10.1.20-2.el7 for package: 3:mariadb-libs-10.1.20-2.el7.x86_64
\ --> Running transaction check
\ ---> Package mariadb-common.x86_64 3:10.1.20-2.el7 will be installed
\ --> Processing Dependency: /etc/my.cnf for package: 3:mariadb-common-10.1.20-2.el7.x86_64
\ --> Running transaction check
\ ---> Package mariadb-config.x86_64 3:10.1.20-2.el7 will be installed
\ ---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be updated
\ ---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be updated
\ --> Finished Dependency Resolution
\
\ Dependencies Resolved
\
\ =============================================================================
\ Package Arch Version Repository Size
\ =============================================================================
\ Updating:
\ mariadb-libs x86_64 3:10.1.20-2.el7 centos-openstack-rocky 643 k
\ Installing for dependencies:
\ mariadb-common x86_64 3:10.1.20-2.el7 centos-openstack-rocky 63 k
\ mariadb-config x86_64 3:10.1.20-2.el7 centos-openstack-rocky 26 k
\
\ Transaction Summary
\ =============================================================================
\ Install ( 2 Dependent packages)
\ Upgrade 1 Package
\
\ Total download size: 732 k
\ Downloading packages:
\ -----------------------------------------------------------------------------
\ Total 136 kB/s | 732 kB 00:05
\ Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
\ Importing GPG key 0x764429E6:
\ Userid : "CentOS Cloud SIG (http://wiki.centos.org/SpecialInterestGroup/Cloud) security@centos.org"
\ Fingerprint: 736a f511 6d9c 40e2 af6b 074b f9b9 fee7 7644 29e6
\ Package : centos-release-openstack-rocky-1-1.el7.centos.noarch (@extras)
\ From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
\ Running transaction check
\ Running transaction test
\ Transaction test succeeded
\ Running transaction
\ Installing : 3:mariadb-config-10.1.20-2. [ ] 1/4
\ Verifying : 1:mariadb-libs-5.5.60-1.el7_5.x86_64 4/4
\
\ Dependency Installed:
\ mariadb-common.x86_64 3:10.1.20-2.el7
\ mariadb-config.x86_64 3:10.1.20-2.el7
\
\ Updated:
\ mariadb-libs.x86_64 3:10.1.20-2.el7
\
\ Complete!
\ [root@localhost ~]# sudo yum install -y openstack-packstack
\ Loaded plugins: fastestmirror
\ Loading mirror speeds from cached hostfile
\ * base: ftp-srv2.kddilabs.jp
\ * extras: ftp-srv2.kddilabs.jp
\ * updates: ftp-srv2.kddilabs.jp
\ Resolving Dependencies
\ --> Running transaction check
\ ---> Package openstack-packstack.noarch 1:13.0.0-0.1.0rc1.el7 will be installed
\ --> Processing Dependency: python-ipaddress for package: python2-cryptography-2.1.4-2.el7.x86_64
\ --> Processing Dependency: python-enum34 for package: python2-cryptography-2.1.4-2.el7.x86_64
\ ---> Package python2-pillow.x86_64 0:4.0.0-2.el7 will be installed
\ --> Processing Dependency: python2-olefile for package: python2-pillow-4.0.0-2.el7.x86_64
\ --> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: python2-pillow-4.0.0-2.el7.x86_64
\ --> Running transaction check
\ ---> Package rubygem-io-console.x86_64 0:0.4.2-33.el7_4 will be installed
\ ---> Package rubygem-psych.x86_64 0:2.0.0-33.el7_4 will be installed
\ ---> Package rubygem-rdoc.noarch 0:4.0.0-33.el7_4 will be installed
\ --> Finished Dependency Resolution
\
\ Dependencies Resolved
\
\ =============================================================================
\ Package Arch Version Repository Size
\ =============================================================================
\ Installing:
\ openstack-packstack
\ noarch 1:13.0.0-0.1.0rc1.el7 centos-openstack-rocky 190 k
\ Installing for dependencies:
\ PyYAML x86_64 3.10-11.el7 base 153 k
\ augeas-libs x86_64 1.4.0-5.el7_5.1 updates 355 k
\ facter x86_64 1:2.4.4-4.el7 centos-openstack-rocky 101 k
\ hiera noarch 1:1.3.4-5.el7 centos-openstack-rocky 25 k
\ jbigkit-libs x86_64 2.0-11.el7 base 46 k
\ lcms2 x86_64 2.6-3.el7 base 150 k
\ libimagequant x86_64 2.8.2-2.el7 centos-openstack-rocky 52 k
\ libjpeg-turbo x86_64 1.2.90-5.el7 base 134 k
\ libselinux-ruby x86_64 2.5-12.el7 base 121 k
\ libtiff x86_64 4.0.3-27.el7_3 base 170 k
\ libwebp x86_64 0.3.0-7.el7 base 170 k
\ libyaml x86_64 0.1.4-11.el7_0 base 55 k
\ net-tools x86_64 2.0-0.22.20131004git.el7
\ base 305 k
\ openjpeg2 x86_64 2.1.2-1.el7 centos-openstack-rocky 112 k
\ openstack-packstack-puppet
\ noarch 1:13.0.0-0.1.0rc1.el7 centos-openstack-rocky 60 k
\ pciutils x86_64 3.5.1-3.el7 base 93 k
\ python2-pyOpenSSL
\ noarch 17.3.0-3.el7 centos-openstack-rocky 92 k
\ python2-setuptools
\ noarch 38.4.0-3.el7 centos-openstack-rocky 618 k
\ python2-six noarch 1.11.0-4.el7 centos-openstack-rocky 32 k
\ ruby x86_64 2.0.0.648-33.el7_4 base 71 k
\ ruby-augeas x86_64 0.5.0-1.el7 centos-openstack-rocky 23 k
\ ruby-irb noarch 2.0.0.648-33.el7_4 base 92 k
\ ruby-libs x86_64 2.0.0.648-33.el7_4 base 2.8 M
\ ruby-shadow x86_64 1.4.1-23.el7 centos-openstack-rocky 13 k
\ rubygem-bigdecimal
\ x86_64 1.2.0-33.el7_4 base 83 k
\ rubygem-io-console
\ x86_64 0.4.2-33.el7_4 base 54 k
\ rubygem-json x86_64 1.7.7-33.el7_4 base 79 k
\ rubygem-psych x86_64 2.0.0-33.el7_4 base 82 k
\ rubygem-rdoc noarch 4.0.0-33.el7_4 base 322 k
\ rubygem-rgen noarch 0.6.6-2.el7 centos-openstack-rocky 84 k
\ rubygems noarch 2.0.14.1-33.el7_4 base 219 k
\



\ Transaction Summary
\ =============================================================================
\ Install 1 Package (+89 Dependent packages)
\
\ Total download size: 17 M
\ Installed size: 64 M
\ Downloading packages:
\ (2/90): augeas-libs-1.4.0 0% [ ] 0.0 B/s | 0 B --:-- ETA
\ (1/90): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00
\ (2/90): jbigkit-libs-2.0-11.el7.x86_64.rpm | 46 kB 00:00
\ (3/90): hiera-1.3.4-5.el7.noarch.rpm | 25 kB 00:00
\ (5/90): facter-2.4.4-4.el 2% [ ] 0.0 B/s | 414 kB --:-- ETA
\ (90/90): ruby-libs-2.0.0 98% [==============-] 1.1 MB/s | 17 MB 00:00 ETA
\ (90/90): ruby-libs-2.0.0.648-33.el7_4.x86_64.rpm | 2.8 MB 00:02
\ -----------------------------------------------------------------------------
\ Total 704 kB/s | 17 MB 00:25
\ Running transaction check
\ Running transaction test
\ Transaction test succeeded
\ Running transaction
\ Installing : ruby-libs-2.0.0.648-33.el7 [ ] 1/90
\ Installing : ruby-libs-2.0.0.648-33.el7 [# ] 1/90
\ Installing : ruby-libs-2.0.0.648-33.el7 [## ] 1/90
\ Installing : 1:openstack-packstack-13.0 [############## ] 90/90
\ Installing : 1:openstack-packstack-13.0 [############### ] 90/90
\ Installing : 1:openstack-packstack-13.0 [################ ] 90/90
\ Installing : 1:openstack-packstack-13.0 [######################## ] 90/90
\ Installing : 1:openstack-packstack-13.0 [######################### ] 90/90
\ Installing : 1:openstack-packstack-13.0.0-0.1.0rc1.el7.noarch 90/90
\ Verifying : ruby-libs-2.0.0.648-33.el7_4.x86_64 1/90
\ Verifying : libtiff-4.0.3-27.el7_3.x86_64 2/90
\ Verifying : puppet-remote-10.0.0-1.7420908git.el7.noarch 3/90
\ Verifying : python-docutils-0.11-0.3.20130715svn7687.el7.noarch 4/90
\ Verifying : python2-olefile-0.44-1.el7.noarch 5/90
\ Verifying : puppet-xinetd-3.0.0-1.b95c79cgit.el7.noarch 6/90
\ Verifying : python2-cryptography-2.1.4-2.el7.x86_64 7/90
\ Verifying : puppet-rsync-1.1.0-1.f85532fgit.el7.noarch 8/90
\ Verifying : puppet-nssdb-1.0.1-1.2ed2a2dgit.el7.noarch 9/90
\ Verifying : python-pycparser-2.14-1.el7.noarch 10/90
\ Verifying : 1:openstack-packstack-puppet-13.0.0-0.1.0rc1.el7.noar 11/90
\ Verifying : python2-setuptools-38.4.0-3.el7.noarch 12/90
\ Verifying : libyaml-0.1.4-11.el7_0.x86_64 13/90
\ Verifying : python2-idna-2.5-1.el7.noarch 87/90
\ Verifying : openjpeg2-2.1.2-1.el7.x86_64 88/90
\ Verifying : python2-pillow-4.0.0-2.el7.x86_64 89/90
\ Verifying : python2-pyOpenSSL-17.3.0-3.el7.noarch 90/90
\
\ Installed:
\ openstack-packstack.noarch 1:13.0.0-0.1.0rc1.el7
\
\ Dependency Installed:
\ PyYAML.x86_64 0:3.10-11.el7
\ augeas-libs.x86_64 0:1.4.0-5.el7_5.1
\ facter.x86_64 1:2.4.4-4.el7
\ rubygem-rgen.noarch 0:0.6.6-2.el7
\ rubygems.noarch 0:2.0.14.1-33.el7_4
\
\ Complete!
\ [root@localhost ~]# packstack --gen-answer-file=answer.txt
\ Packstack changed given value to required value /root/.ssh/id_rsa.pub
\ [root@localhost ~]# vi answer.txt
\ "answer.txt" 1359L, 51773C[general]
\
\ # Path to a public key to install on servers. If a usable key has not
\ # been installed on the remote servers, the user is prompted for a
\ # password and this key is installed so the password will not be
\ # required again.
\ CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
\
\ # Default password to be used everywhere (overridden by passwords set
\ # for individual services or users).
\ CONFIG_DEFAULT_PASSWORD=



\
\ # The amount of service workers/threads to use for each service.
\ # Useful to tweak when you have memory constraints. Defaults to the
\ # amount of cores on the system.
\ CONFIG_SERVICE_WORKERS=%{::processorcount}
\
\ # Specify 'y' to install MariaDB. ['y', 'n']
\ CONFIG_MARIADB_INSTALL=y
\
\ # Specify 'y' to install OpenStack Image Service (glance). ['y', 'n']
\ CONFIG_GLANCE_INSTALL=y
\
\ # Specify 'y' to install OpenStack Block Storage (cinder). ['y', 'n']
\ CONFIG_CINDER_INSTALL=y
\
\ # Specify 'y' to install OpenStack Shared File System (manila). ['y',
\ # 'n']
\ CONFIG_MANILA_INSTALL=n
\
\ # Specify 'y' to install OpenStack Compute (nova). ['y', 'n']
\ CONFIG_NOVA_INSTALL=y:%s/10.0.2.15/192.168.56.150/gc# should not install ntpd on instances.
\ CONFIG_NTP_SERVERS=
\
\ # Comma-separated list of servers to be excluded from the
\ # installation. This is helpful if you are running Packstack a second
\ # time with the same answer file and do not want Packstack to
\ # overwrite these server's configurations. Leave empty if you do not
\ # need to exclude any servers.
\ EXCLUDE_SERVERS=
\
\ # Specify 'y' if you want to run OpenStack services in debug mode;
\ # otherwise, specify 'n'. ['y', 'n']
\ CONFIG_DEBUG_MODE=n
\
\ # Server on which to install OpenStack services specific to the
\ # controller role (for example, API servers or dashboard).
\ CONFIG_CONTROLLER_HOST=10.0.2.15
\
\ # List the servers on which to install the Compute service.
\ CONFIG_COMPUTE_HOSTS=10.0.2.15
\
\ # List of servers on which to install the network service such as
\ # Compute networking (nova network) or OpenStack Networking (neutron).
\ CONFIG_NETWORK_HOSTS=10.0.2.15
\
\ # Specify 'y' if you want to use VMware vCenter as hypervisor and
\ # storage; otherwise, specify 'n'. ['y', 'n']
\ CONFIG_VMWARE_BACKEND=n
\
\ # Specify 'y' if you want to use unsupported parameters. This should
\ # be used only if you know what you are doing. Issues caused by using
\ # unsupported options will not be fixed before the next major release.
\ # ['y', 'n']
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?192.168.56.15010.0.2.15replace with 192.168.56.150
\ CONFIG_VCENTER_HOST=
\
\ # User name for VMware vCenter server authentication.
\ CONFIG_VCENTER_USER=
\
\ # Password for VMware vCenter server authentication.
\ CONFIG_VCENTER_PASSWORD=
\
\ # Comma separated list of names of the VMware vCenter clusters. Note:
\ # if multiple clusters are specified each one is mapped to one
\ # compute, otherwise all computes are mapped to same cluster.
\ CONFIG_VCENTER_CLUSTER_NAMES=
\
\ # (Unsupported!) Server on which to install OpenStack services
\ # specific to storage servers such as Image or Block Storage services.
\ CONFIG_STORAGE_HOST=10.0.2.15
\
\ # (Unsupported!) Server on which to install OpenStack services
\ # specific to OpenStack Data Processing (sahara).
\ CONFIG_SAHARA_HOST=10.0.2.15
\
\ # Comma-separated list of URLs for any additional yum repositories,
\ # to use for installation.
\ CONFIG_REPO=
\
\ # Specify 'y' to enable the RDO testing repository. ['y', 'n']
\ CONFIG_ENABLE_RDO_TESTING=n
\
\ # To subscribe each server with Red Hat Subscription Manager, include
\ # this with CONFIG_RH_PW.
\ CONFIG_RH_USER=
\
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?192.168.56.15010.0.2.15replace
\ CONFIG_SSL_CERT_SUBJECT_O=openstack
\
\ # Enter the ssl certificates subject organizational unit.
\ CONFIG_SSL_CERT_SUBJECT_OU=packstack
\
\ # Enter the ssl certificates subject common name.
\ CONFIG_SSL_CERT_SUBJECT_CN=localhost.localdomain
\
\ CONFIG_SSL_CERT_SUBJECT_MAIL=admin@localhost.localdomain
\
\ # Service to be used as the AMQP broker. Allowed values are: rabbitmq
\ # ['rabbitmq']
\ CONFIG_AMQP_BACKEND=rabbitmq
\



\ # IP address of the server on which to install the AMQP service.
\ CONFIG_AMQP_HOST=10.0.2.15
\
\ # Specify 'y' to enable SSL for the AMQP service. ['y', 'n']
\ CONFIG_AMQP_ENABLE_SSL=n
\
\ # Specify 'y' to enable authentication for the AMQP service. ['y',
\ # 'n']
\ CONFIG_AMQP_ENABLE_AUTH=n
\
\ # Password for the NSS certificate database of the AMQP service.
\ CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
\
\ # User for AMQP authentication.
\ CONFIG_AMQP_AUTH_USER=amqp_user
\
\ # Password for AMQP authentication.
\ CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?192.168.56.150# IP address of the server on which to install MariaDB. If a MariaDB
\ # installation was not specified in CONFIG_MARIADB_INSTALL, specify
\ # the IP address of an existing database server (a MariaDB cluster can
\ # also be specified).
\ CONFIG_MARIADB_HOST=10.0.2.15
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?CONFIG_KEYSTONE_ADMIN_PW=22b64e9247f14648
\
\ # Password to use for the Identity service 'demo' user.
\ CONFIG_KEYSTONE_DEMO_PW=ded6a41dc92646b2
\
\ # Identity service API version string. ['v2.0', 'v3']
\ CONFIG_KEYSTONE_API_VERSION=v3
\
\ # Identity service token format (FERNET). Since Rocky, only FERNET is
\ # supported. ['FERNET']
\ CONFIG_KEYSTONE_TOKEN_FORMAT=FERNET
\
\ # Type of Identity service backend (sql or ldap). ['sql', 'ldap']
\ CONFIG_KEYSTONE_IDENTITY_BACKEND=sql
\
\ # URL for the Identity service LDAP backend.
\ CONFIG_KEYSTONE_LDAP_URL=ldap://10.0.2.15
\
\ # User DN for the Identity service LDAP backend. Used to bind to the
\ # LDAP server if the LDAP server does not allow anonymous
\ # authentication.
\ CONFIG_KEYSTONE_LDAP_USER_DN=
\
\ # User DN password for the Identity service LDAP backend.
\ CONFIG_KEYSTONE_LDAP_USER_PASSWORD=
\
\ # Base suffix for the Identity service LDAP backend.
\ CONFIG_KEYSTONE_LDAP_SUFFIX=
\
\ # Query scope for the Identity service LDAP backend. Use 'one' for
\ # onelevel/singleLevel or 'sub' for subtree/wholeSubtree ('base' is
\ # not actually used by the Identity service and is therefore
\ # deprecated). ['base', 'one', 'sub']
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?# Password to use for Telemetry to authenticate with the Identity
\ # service.
\ CONFIG_CEILOMETER_KS_PW=e012cf7f3a05477c
\
\ # Ceilometer service name. ['httpd', 'ceilometer']
\ CONFIG_CEILOMETER_SERVICE_NAME=httpd
\
\ # Backend driver for Telemetry's group membership coordination.
\ # ['redis', 'none']
\ CONFIG_CEILOMETER_COORDINATION_BACKEND=redis
\
\ # Whether to enable ceilometer middleware in swift proxy. By default
\ # this should be false to avoid unnecessary load.
\ CONFIG_ENABLE_CEILOMETER_MIDDLEWARE=n
\
\ # IP address of the server on which to install the Redis server.
\ CONFIG_REDIS_HOST=10.0.2.15
\
\ # Port on which the Redis server listens.
\ CONFIG_REDIS_PORT=6379
\
\ # Password to use for Telemetry Alarming to authenticate with the
\ # Identity service.
\ CONFIG_AODH_KS_PW=2278db46bae14413
\
\ # Password to use for Telemetry Alarming (AODH) to access the
\ # database.
\ CONFIG_AODH_DB_PW=c4c31846c5ca4587
\
\ # Password to use for Panko to access the database.
\ CONFIG_PANKO_DB_PW=PW_PLACEHOLDER
\
\ # Password to use for Panko to authenticate with the Identity
\ replace with 192.168.56.150 (y/n/a/q/l/^E/^Y)?9 substitutions on 9 lines192.168.56.150:wq"answer.txt" 1359L, 51818C written
\ [root@localhost ~]# packstack --answer-file=answer.txt
\ Welcome to the Packstack setup utility
\
\ The installation log file is available at: /var/tmp/packstack/20181110-195847-_6aAQ0/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 Gnocchi 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.56.150_controller.pp
\ Testing if puppet apply is finished: 192.168.56.150_controller.pp [ / ]_
\ 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.56.150. To use the command line tools you need to source the file.
\ * To access the OpenStack Dashboard browse to http://192.168.56.150/dashboard .
\ Please, find your login credentials stored in the keystonerc_admin in your home directory.
\ * Because of the kernel update the host 192.168.56.150 requires reboot.
\ * The installation log file is available at: /var/tmp/packstack/20181110-195847-_6aAQ0/openstack-setup.log
\ * The generated manifests are available at: /var/tmp/packstack/20181110-195847-_6aAQ0/manifests
\ [root@localhost ~]#
\ [root@localhost ~]#
\ [root@localhost ~]# cat keystonerc_admin
\ unset OS_SERVICE_TOKEN
\ export OS_USERNAME=admin
\ export OS_PASSWORD='22b64e9247f14648'
\ export OS_AUTH_URL=http://192.168.56.150:5000/v3
\ export PS1='[\u@\h \W(keystone_admin)]\$ '
\
\ export OS_PROJECT_NAME=admin
\ export OS_USER_DOMAIN_NAME=Default
\ export OS_PROJECT_DOMAIN_NAME=Default
\ export OS_IDENTITY_API_VERSION=3
\ [root@localhost ~]#


投稿者:

mame

都内20代前半ITエンジニア 見た目は女性、性格は男・・・ 品のある女性になりたいT_T 既婚子持ち 趣味の:IT、DIY、投資 などについてのメモblog

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です