서비스들이야 필요한 곳에 적재적소 설치해주면 되지만, 기본적으로 설치해야하는 패키지들은
compute,contorller,block node 모두 동일하게 각각 설치해줘야함스
참고
다음 단계는 RHEL에만 적용됩니다. CentOS는 해당 단계를 필요로 하지 않습니다.
-
RHEL을 사용하는 경우, Red Hat 구독 관리를 사용하여 시스템이 등록되어 있으며 rhel-7-server-rpms 저장소가 디폴트로 활성화되어 있음을 가정합니다.
시스템 등록에 대한 보다 자세한 정보는 Red Hat Enterprise Linux 7 System Administrator's Guide 를 살펴 봅니다.
-
rhel-7-server-rpms 뿐만 아니라, rhel-7-server-optional-rpms, rhel-7-server-extras-rpms, 그리고 rhel-7-server-rh-common-rpms 저장소가 활성화될 필요가 있습니다:
# subscription-manager repos --enable=rhel-7-server-optional-rpms \ --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-rh-common-rpms
https://docs.openstack.org/ko_KR/install-guide/environment-packages-rdo.html
라는 주의사항을 슬적 보고 나는 centos 니깐 넘어가본다.
라고 생각해보면서 EPEL과 RDO 가 뭘까에 대한 궁금증이 생긴다.
EPEL 은 Extra packages for enterprise linux 라는 의미로, 좀 더 많은 패키지들이 보관된 곳 정도로 이해해도 될 것 같고
RDO 는 레드햇관련 녀석들(centos,fedora,rhel) 에서 오븐스댁관련 커뮤니티 및 배포를 하는 곳, 대표적인게
한방에 쉽게 오븐스댁 설치를 돕는 팩스택(packstack) 이 RDO 의 대표작
여튼 패키지를 설치해본다 스데인
아무것도 건드리지 않았더니 /etc/resolve.conf 에 아무것도 없다
추가해준다.
/etc/resolve.conf
nameserver 8.8.8.8
[root@7compute ~]# yum install centos-release-openstack-stein
어쩌고 저쩌고
Dependencies Resolved
===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Installing:
centos-release-openstack-stein noarch 1-1.el7.centos extras 5.3 k
Installing for dependencies:
centos-release-ceph-nautilus noarch 1.1-6.el7.centos extras 4.8 k
centos-release-qemu-ev noarch 1.0-4.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: 31 k
Installed size: 24 k
Is this ok [y/d/N]: y
Total 75 kB/s | 31 kB 00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-6.1810.2.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
[root@7compute ~]# yum upgrade
Dependencies Resolved
===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Installing:
kernel x86_64 3.10.0-957.12.2.el7 updates 48 M
Updating:
NetworkManager x86_64 1:1.12.0-10.el7_6 updates 1.7 M
NetworkManager-libnm x86_64 1:1.12.0-10.el7_6 updates 1.4 M
NetworkManager-team x86_64 1:1.12.0-10.el7_6 updates 159 k
NetworkManager-tui x86_64 1:1.12.0-10.el7_6 updates 239 k
NetworkManager-wifi x86_64 1:1.12.0-10.el7_6 updates 187 k
bind-libs-lite x86_64 32:9.9.4-73.el7_6 updates 741 k
bind-license noarch 32:9.9.4-73.el7_6 updates 87 k
cronie x86_64 1.4.11-20.el7_6 updates 91 k
cronie-anacron x86_64 1.4.11-20.el7_6 updates 36 k
dbus x86_64 1:1.10.24-13.el7_6 updates 245 k
dbus-libs x86_64 1:1.10.24-13.el7_6 updates 169 k
device-mapper x86_64 7:1.02.149-10.el7_6.7 updates 293 k
device-mapper-event x86_64 7:1.02.149-10.el7_6.7 updates 189 k
device-mapper-event-libs x86_64 7:1.02.149-10.el7_6.7 updates 188 k
device-mapper-libs x86_64 7:1.02.149-10.el7_6.7 updates 320 k
freetype x86_64 2.8-12.el7_6.1 updates 380 k
glibc x86_64 2.17-260.el7_6.5 updates 3.7 M
glibc-common x86_64 2.17-260.el7_6.5 updates 12 M
grub2 x86_64 1:2.02-0.76.el7.centos.1 updates 31 k
grub2-common noarch 1:2.02-0.76.el7.centos.1 updates 728 k
grub2-pc x86_64 1:2.02-0.76.el7.centos.1 updates 31 k
grub2-pc-modules noarch 1:2.02-0.76.el7.centos.1 updates 846 k
grub2-tools x86_64 1:2.02-0.76.el7.centos.1 updates 1.8 M
grub2-tools-extra x86_64 1:2.02-0.76.el7.centos.1 updates 995 k
grub2-tools-minimal x86_64 1:2.02-0.76.el7.centos.1 updates 172 k
iproute x86_64 4.11.0-14.el7_6.2 updates 764 k
ipset x86_64 6.38-3.el7_6 updates 43 k
ipset-libs x86_64 6.38-3.el7_6 updates 50 k
kernel-tools x86_64 3.10.0-957.12.2.el7 updates 7.1 M
kernel-tools-libs x86_64 3.10.0-957.12.2.el7 updates 7.0 M
kexec-tools x86_64 2.0.15-21.el7_6.3 updates 343 k
krb5-libs x86_64 1.15.1-37.el7_6 updates 803 k
libblkid x86_64 2.23.2-59.el7_6.1 updates 181 k
libgcc x86_64 4.8.5-36.el7_6.2 updates 102 k
libgomp x86_64 4.8.5-36.el7_6.2 updates 158 k
libmount x86_64 2.23.2-59.el7_6.1 updates 182 k
libsmartcols x86_64 2.23.2-59.el7_6.1 updates 140 k
libssh2 x86_64 1.4.3-12.el7_6.2 updates 135 k
libstdc++ x86_64 4.8.5-36.el7_6.2 updates 305 k
libuuid x86_64 2.23.2-59.el7_6.1 updates 82 k
lvm2 x86_64 7:2.02.180-10.el7_6.7 updates 1.3 M
lvm2-libs x86_64 7:2.02.180-10.el7_6.7 updates 1.1 M
mariadb-libs x86_64 3:10.3.10-1.el7.0.0.rdo2 centos-openstack-stein 155 k
microcode_ctl x86_64 2:2.1-47.2.el7_6 updates 1.9 M
nss x86_64 3.36.0-7.1.el7_6 updates 835 k
nss-pem x86_64 1.0.3-5.el7_6.1 updates 74 k
nss-sysinit x86_64 3.36.0-7.1.el7_6 updates 62 k
nss-tools x86_64 3.36.0-7.1.el7_6 updates 515 k
nss-util x86_64 3.36.0-1.1.el7_6 updates 78 k
openldap x86_64 2.4.44-21.el7_6 updates 356 k
openssl x86_64 1:1.0.2k-16.el7_6.1 updates 493 k
openssl-libs x86_64 1:1.0.2k-16.el7_6.1 updates 1.2 M
policycoreutils x86_64 2.5-29.el7_6.1 updates 916 k
polkit x86_64 0.112-18.el7_6.1 updates 168 k
python x86_64 2.7.5-77.el7_6 updates 94 k
python-libs x86_64 2.7.5-77.el7_6 updates 5.6 M
python-perf x86_64 3.10.0-957.12.2.el7 updates 7.1 M
selinux-policy noarch 3.13.1-229.el7_6.12 updates 484 k
selinux-policy-targeted noarch 3.13.1-229.el7_6.12 updates 6.9 M
shadow-utils x86_64 2:4.1.5.1-25.el7_6.1 updates 1.1 M
systemd x86_64 219-62.el7_6.6 updates 5.1 M
systemd-libs x86_64 219-62.el7_6.6 updates 407 k
systemd-sysv x86_64 219-62.el7_6.6 updates 84 k
tuned noarch 2.10.0-6.el7_6.3 updates 254 k
tzdata noarch 2019a-1.el7 updates 494 k
util-linux x86_64 2.23.2-59.el7_6.1 updates 2.0 M
xfsprogs x86_64 4.5.0-19.el7_6 updates 897 k
Installing for dependencies:
mariadb-common x86_64 3:10.3.10-1.el7.0.0.rdo2 centos-openstack-stein 62 k
mariadb-config x86_64 3:10.3.10-1.el7.0.0.rdo2 centos-openstack-stein 37 k
Transaction Summary
===============================================================================================================
Install 1 Package (+2 Dependent packages)
Upgrade 67 Packages
Total download size: 131 M
Is this ok [y/d/N]: y
[root@7compute ~]# yum install python-openstackclient
Dependencies Resolved
===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Installing:
python2-openstackclient noarch 3.18.0-1.el7 centos-openstack-stein 1.1 M
Installing for dependencies:
PyYAML x86_64 3.10-11.el7 base 153 k
git x86_64 1.8.3.1-20.el7 updates 4.4 M
libyaml x86_64 0.1.4-11.el7_0 base 55 k
perl x86_64 4:5.16.3-294.el7_6 updates 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-Error noarch 1:0.17020-2.el7 base 32 k
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-3.el7 base 56 k
perl-Git noarch 1.8.3.1-20.el7 updates 55 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-294.el7_6 updates 51 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-4.el7 base 49 k
perl-Storable x86_64 2.45-3.el7 base 77 k
perl-TermReadKey x86_64 2.30-20.el7 base 31 k
perl-Text-ParseWords noarch 3.29-4.el7 base 14 k
perl-Time-HiRes x86_64 4:1.9725-3.el7 base 45 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-294.el7_6 updates 688 k
perl-macros x86_64 4:5.16.3-294.el7_6 updates 44 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-backports x86_64 1.0-8.el7 base 5.8 k
python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k
python-beaker noarch 1.5.4-10.el7 base 80 k
python-enum34 noarch 1.0.4-1.el7 base 52 k
python-inotify noarch 0.9.4-4.el7 base 49 k
python-keyring noarch 5.7.1-1.el7 centos-openstack-stein 116 k
python-mako noarch 0.8.1-2.el7 base 307 k
python-netifaces x86_64 0.10.4-3.el7 base 17 k
python-openstackclient-lang noarch 3.18.0-1.el7 centos-openstack-stein 53 k
python-oslo-i18n-lang noarch 3.23.1-1.el7 centos-openstack-stein 9.5 k
python-oslo-log-lang noarch 3.42.3-1.el7 centos-openstack-stein 8.7 k
python-oslo-utils-lang noarch 3.40.3-1.el7 centos-openstack-stein 8.5 k
python-paste noarch 1.7.5.1-9.20111221hg1498.el7 base 866 k
python-ply noarch 3.4-11.el7 base 123 k
python-pycparser noarch 2.14-1.el7 base 104 k
python-repoze-lru noarch 0.4-3.el7 centos-openstack-stein 12 k
python-tempita noarch 0.5.1-8.el7 centos-openstack-stein 32 k
python-unicodecsv noarch 0.14.1-1.el7 centos-openstack-stein 25 k
python-warlock noarch 1.0.1-1.el7 centos-openstack-stein 14 k
python2-appdirs noarch 1.4.0-4.el7 centos-openstack-stein 16 k
python2-asn1crypto noarch 0.23.0-2.el7 centos-openstack-stein 172 k
python2-babel noarch 2.6.0-4.el7 centos-openstack-stein 5.7 M
python2-cffi x86_64 1.11.2-1.el7 centos-openstack-stein 229 k
python2-chardet noarch 3.0.4-7.el7 centos-openstack-stein 186 k
python2-cinderclient noarch 4.2.0-1.el7 centos-openstack-stein 258 k
python2-cliff noarch 2.14.1-1.el7 centos-openstack-stein 89 k
python2-cmd2 noarch 0.8.8-5.el7 centos-openstack-stein 105 k
python2-contextlib2 noarch 0.5.5-8.el7 centos-openstack-stein 20 k
python2-cryptography x86_64 2.5-1.el7 centos-openstack-stein 544 k
python2-dateutil noarch 1:2.8.0-1.el7 centos-openstack-stein 290 k
python2-debtcollector noarch 1.21.0-1.el7 centos-openstack-stein 27 k
python2-dogpile-cache noarch 0.6.8-1.el7 centos-openstack-stein 73 k
python2-funcsigs noarch 1.0.2-1.el7 centos-ceph-nautilus 24 k
python2-futures noarch 3.1.1-5.el7 base 29 k
python2-glanceclient noarch 1:2.16.0-1.el7 centos-openstack-stein 141 k
python2-idna noarch 2.5-1.el7 centos-openstack-stein 94 k
python2-ipaddress noarch 1.0.18-5.el7 centos-openstack-stein 35 k
python2-iso8601 noarch 0.1.11-1.el7 centos-openstack-stein 19 k
python2-jmespath noarch 0.9.0-5.el7 centos-openstack-stein 39 k
python2-jsonpatch noarch 1.21-1.el7 centos-openstack-stein 21 k
python2-jsonpointer noarch 1.10-4.el7 centos-openstack-stein 14 k
python2-jsonschema noarch 2.6.0-2.el7 centos-openstack-stein 76 k
python2-keystoneauth1 noarch 3.13.1-1.el7 centos-openstack-stein 407 k
python2-keystoneclient noarch 1:3.19.0-1.el7 centos-openstack-stein 242 k
python2-markupsafe x86_64 1.1.0-2.el7 centos-openstack-stein 29 k
python2-monotonic noarch 1.5-1.el7 centos-openstack-stein 14 k
python2-msgpack x86_64 0.6.1-2.el7 centos-openstack-stein 87 k
python2-munch noarch 2.2.0-2.el7 centos-openstack-stein 16 k
python2-netaddr noarch 0.7.19-5.el7 centos-openstack-stein 1.5 M
python2-neutronclient noarch 6.12.0-1.el7 centos-openstack-stein 301 k
python2-novaclient noarch 1:13.0.0-1.el7 centos-openstack-stein 218 k
python2-openstacksdk noarch 0.27.0-1.el7 centos-openstack-stein 662 k
python2-os-client-config noarch 1.32.0-2.el7 centos-openstack-stein 49 k
python2-os-service-types noarch 1.6.0-2.el7 centos-openstack-stein 31 k
python2-osc-lib noarch 1.12.1-2.el7 centos-openstack-stein 69 k
python2-oslo-config noarch 2:6.8.1-1.el7 centos-openstack-stein 221 k
python2-oslo-context noarch 2.22.1-1.el7 centos-openstack-stein 21 k
python2-oslo-i18n noarch 3.23.1-1.el7 centos-openstack-stein 52 k
python2-oslo-log noarch 3.42.3-1.el7 centos-openstack-stein 59 k
python2-oslo-serialization noarch 2.28.2-1.el7 centos-openstack-stein 28 k
python2-oslo-utils noarch 3.40.3-1.el7 centos-openstack-stein 73 k
python2-pbr noarch 5.1.2-2.el7 centos-ceph-nautilus 1.1 M
python2-prettytable noarch 0.7.2-12.el7 centos-ceph-nautilus 38 k
python2-pyOpenSSL noarch 19.0.0-1.el7 centos-openstack-stein 98 k
python2-pyparsing noarch 2.3.1-1.el7 centos-openstack-stein 141 k
python2-pyperclip noarch 1.6.4-1.el7 centos-openstack-stein 17 k
python2-pysocks noarch 1.5.6-3.el7 centos-openstack-stein 20 k
python2-requests noarch 2.21.0-2.el7 centos-openstack-stein 119 k
python2-requestsexceptions noarch 1.4.0-1.el7 centos-openstack-stein 11 k
python2-rfc3986 noarch 1.2.0-1.el7 centos-openstack-stein 42 k
python2-setuptools noarch 40.8.0-1.el7 centos-openstack-stein 652 k
python2-simplejson x86_64 3.10.0-7.el7 centos-openstack-stein 274 k
python2-six noarch 1.12.0-1.el7 centos-openstack-stein 33 k
python2-stevedore noarch 1.30.1-1.el7 centos-openstack-stein 56 k
python2-subprocess32 x86_64 3.2.6-13.el7 base 47 k
python2-urllib3 noarch 1.24.1-3.el7 centos-openstack-stein 169 k
python2-wcwidth noarch 0.1.7-8.el7 centos-openstack-stein 28 k
python2-wrapt x86_64 1.11.1-1.el7 centos-openstack-stein 48 k
pytz noarch 2016.10-2.el7 base 46 k
rsync x86_64 3.1.2-6.el7_6.1 updates 404 k
Transaction Summary
===============================================================================================================
Install 1 Package (+113 Dependent packages)
Total download size: 34 M
Installed size: 142 M
Is this ok [y/d/N]:
[root@7compute ~]# yum install openstack-selinux
Dependencies Resolved
===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Installing:
openstack-selinux noarch 0.8.18-1.el7 centos-openstack-stein 183 k
Installing for dependencies:
audit-libs-python x86_64 2.8.4-4.el7 base 76 k
checkpolicy x86_64 2.5-8.el7 base 295 k
container-selinux noarch 2:2.95-2.el7_6 extras 39 k
libcgroup x86_64 0.41-20.el7 base 66 k
libsemanage-python x86_64 2.5-14.el7 base 113 k
policycoreutils-python x86_64 2.5-29.el7_6.1 updates 456 k
python-IPy noarch 0.75-6.el7 base 32 k
setools-libs x86_64 3.3.8-4.el7 base 620 k
Transaction Summary
===============================================================================================================
Install 1 Package (+8 Dependent packages)
Total download size: 1.8 M
Installed size: 5.6 M
Is this ok [y/d/N]: y
당연한 말이지만, compute,controller 모두에서 하면되는데 block node 도해야함,
근데 난 아직 block node 를 만들 생각이 없으니 난 패스
명령어 요약
# yum install centos-release-openstack-stein
# yum upgrade
# yum install python-openstackclient
**selinux 사용중이면
# yum install openstack-selinux
'IT > LINUX' 카테고리의 다른 글
오븐스댁 메시지큐 MQ 설치 (0) | 2019.06.04 |
---|---|
오븐스댁 SQL 설치 (0) | 2019.06.04 |
오븐스댁 네드워그 레이아웃 (0) | 2019.06.03 |
스데인 최소 배포 서비스 (0) | 2019.05.30 |
오븐스댁 compute /controller OS 설치 (0) | 2019.05.30 |