Ask Your Question
0

Packstack installation problem

asked 2017-04-18 08:46:45 -0500

Kyi Soe Thin gravatar image

Hi I had posted a question related with this question. I install openstack via "packstack --allinone".

I found error but it says successfully installed. Below is the setup log file from /var/tmp/packstack.

2017-04-18 03:57:05::INFO::shell::94::root:: [localhost] Executing script:
rm -rf /var/tmp/packstack/20170418-035704-UX9IHD/manifests/*pp
2017-04-18 03:57:05::INFO::shell::94::root:: [localhost] Executing script:
mkdir -p ~/.ssh
chmod 500 ~/.ssh
grep 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmoYVBJkXyNthWVwDZd0cqssW3upTihCPMCcvCYqGnJsDaTxOqSgUKOUsbhwwzGvQnWXby2M/LxfpEp7EZ6uscBuCMnD6fVk3T8liw2F9JOlpqHkRU9tF6VqYHSHeZCCu99jyHpZX3iXm3k8xTHTF1G+IwzB7SNDx6vMdmZCq+wRLtJFvEOdl0U1NFodH8lZp5lh05NfONKaBbZal2CQtJeuCJiFO8dWCJzq5JRqNzERKyCMFsePA94UKt6E6LtnkMp0w4HnkmTozyVr8owiOTCCfuQs/W2/XoKD9zzU4s4L+DP3+SY5fvxCw0m3Ms4KUkj6tRC1aJvGKc5Dd00IrT root@localhost.localdomain' ~/.ssh/authorized_keys > /dev/null 2>&1 || echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmoYVBJkXyNthWVwDZd0cqssW3upTihCPMCcvCYqGnJsDaTxOqSgUKOUsbhwwzGvQnWXby2M/LxfpEp7EZ6uscBuCMnD6fVk3T8liw2F9JOlpqHkRU9tF6VqYHSHeZCCu99jyHpZX3iXm3k8xTHTF1G+IwzB7SNDx6vMdmZCq+wRLtJFvEOdl0U1NFodH8lZp5lh05NfONKaBbZal2CQtJeuCJiFO8dWCJzq5JRqNzERKyCMFsePA94UKt6E6LtnkMp0w4HnkmTozyVr8owiOTCCfuQs/W2/XoKD9zzU4s4L+DP3+SY5fvxCw0m3Ms4KUkj6tRC1aJvGKc5Dd00IrT root@localhost.localdomain >> ~/.ssh/authorized_keys
chmod 400 ~/.ssh/authorized_keys
restorecon -r ~/.ssh
2017-04-18 03:57:06::INFO::shell::94::root:: [192.168.42.170] Executing script:
rpm -q --whatprovides yum-utils || yum install -y yum-utils
2017-04-18 03:57:11::INFO::shell::48::root:: Executing command:
rpm -qa --qf='%{name}-%{version}-%{release}.%{arch}
' | grep centos-release-openstack
2017-04-18 03:57:12::INFO::shell::48::root:: Executing command:
rpm -q rdo-release --qf='%{version}-%{release}.%{arch}
'
2017-04-18 03:57:12::INFO::shell::94::root:: [192.168.42.170] Executing script:
(rpm -q 'rdo-release-ocata' || yum install -y --nogpg https://www.rdoproject.org/repos/openstack-ocata/rdo-release-ocata.rpm) || true
2017-04-18 03:57:13::INFO::shell::94::root:: [192.168.42.170] Executing script:
yum-config-manager --enable openstack-ocata
2017-04-18 03:57:14::INFO::shell::94::root:: [192.168.42.170] Executing script:
python -c "import platform; print platform.linux_distribution(full_distribution_name=0)[0]+','+platform.linux_distribution()[1]"
2017-04-18 03:57:14::INFO::shell::94::root:: [192.168.42.170] Executing script:
python -c "import platform; print platform.linux_distribution(full_distribution_name=0)[0]+','+platform.linux_distribution()[1]"
2017-04-18 03:57:15::INFO::shell::94::root:: [192.168.42.170] Executing script:
rpm -q yum-utils || yum -y install yum-utils
yum-config-manager --disable epel
2017-04-18 03:57:15::INFO::shell::94::root:: [192.168.42.170] Executing script:
rpm -q --whatprovides yum-utils || yum install -y yum-utils
yum clean metadata
2017-04-18 03:57:16::INFO::shell::94::root:: [192.168.42.170] Executing script:
yum install -y puppet hiera openssh-clients tar nc rubygem-json
yum update -y puppet hiera openssh-clients tar nc rubygem-json
rpm -q --whatprovides puppet
rpm -q --whatprovides hiera
rpm -q --whatprovides openssh-clients
rpm -q --whatprovides tar
rpm -q --whatprovides nc
rpm -q --whatprovides rubygem-json
2017-04-18 03:58:59::INFO::shell::94::root:: [192.168.42.170] Executing script:
mkdir -p /var/tmp/packstack
mkdir --mode 0700 /var/tmp/packstack/9537b366dfc74847b3e88270ef5e51c8
mkdir --mode 0700 /var/tmp/packstack/9537b366dfc74847b3e88270ef5e51c8/modules
mkdir --mode 0700 /var/tmp/packstack/9537b366dfc74847b3e88270ef5e51c8/resources
2017-04-18 03:58:59::INFO::shell::94::root:: [192.168.42.170] Executing script:
facter -p
2017-04-18 03:59:05::INFO::shell::94::root:: [192.168.42.170] Executing script:
[[ -f /etc/hiera.yaml ]] && [[ ! -L /etc/puppet/hiera.yaml ]] && ln -s /etc/hiera.yaml /etc/puppet/hiera.yaml || echo "skipping creation of  hiera.yaml symlink"
sed -i 's;:datadir:.*;:datadir: /var/tmp/packstack/9537b366dfc74847b3e88270ef5e51c8/hieradata;g' $(puppet config print hiera_config)
2017-04-18 03:59:06::INFO::shell::94::root:: [192.168.42.170] Executing ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-18 19:43:55 -0500

imacdonn gravatar image

Did you try to run packstack multiple times? If you do this, you must edit/use the answer-file (you'll find it in your home directory, and can use it with "packstack --answer-file <filename>"), otherwise each invocation will try to use different randomly-generated passwords for the database.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-18 08:46:45 -0500

Seen: 204 times

Last updated: Apr 18 '17