packstack : redhat 계열 openstack 자동화 설치 툴
h/w
cpu :2
ram : 8g
hdd : 30g
nic :1
가상화 :지원
hostname : packstack.park.com
ip :192.168.100.110/24
role : controller
os : centos 7.3
openstack release : queen
centos : minimal 설치
방화벽 설정
#systemctl disable firewalld
#systemctl stop firewalld
#setenforce 0
#systemctl disable NetworkManager
#systemctl stop NetworkManager
#systemctl enable network
#systemctl start network
#cat /etc/centos-release
#ip a
packstack 패키지 설치
#yum -y update
#yum -y install bash-completion centos-release-openstack-queens epel-release
# setenforce 0 //재부팅할때 ping이나 web 접속 안되면 확인해보기
# yum list centos-release-openstack-* //openstack release 버전 확인해보기
#yum -y install openstack-packstack
#rpm -qa | grep openstack //확인
answer file 만들기
#packstack --gen-answer-file my.txt
# vi my.txt //packstack 편집
CONFIG_PROVISION_DEMO_FLOATRANGE=192.168.100.0/24
.....
CONFIG_PROVISION_TEMPEST_FLOATRANGE=192.168.100.0/24
......
wq!
packstack 설치
#packstack --answer-file my.txt
문제시 로그확인
#cat /var/tmp/packstack/2021..../openstack-setup.log
1)증상 및 해결
#packstack --answer-file my.txt
Pre installing Puppet and discovering hosts' details[ ERROR ]
ERROR : Failed to run remote script, stdout:
stderr: Warning: Permanently added '10.43.166.180' (ECDSA) to the list of known hosts.
+ trap t ERR
+ facter -p
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory
++ t
++ exit 127
해결
# yum list | grep leatherman
leatherman.x86_64 1.10.0-1.el7 @epel
leatherman-devel.x86_64 1.10.0-1.el7 epel
# facter -p
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory
# yum downgrade leatherman
# facter -p
2020-03-16 10:15:19.462412 WARN puppetlabs.facter - skipping external facts for "/var/lib/puppet/facts.d": No such file or directory
disks => {
sda => {
model => "ST1200MM0129",
....
설치 후 ping 이 안나가거나 리부팅후 ping이 안나가면..
#setenforce 0
설치완료 확인
#source keystonerc_admin
#openstack service list
#openstack endpoint list
#cat /root/keystonerc_admin //여기서 id/passwd 찾기
www.programmersought.com/article/68485349963/
'openstack' 카테고리의 다른 글
openstack - glance 설치 (0) | 2021.01.18 |
---|---|
openstack - keystone 설치 (0) | 2021.01.16 |
openstack - host vm setting (0) | 2021.01.12 |
openstack - ubuntu 16.04 devstack 설치 (0) | 2021.01.12 |
오픈스택 -구성종류 (0) | 2021.01.11 |