Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error Installation by Packstack allinone on CentOS 6.5

I made a vm(CentOS 6.5) by vmware 6

yum update -y

yum install -y http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm

yum install -y openstack packstack

packstack --allinone

and then, I typed above command. But, below Error Messages occured

ERROR : Error appeared during Puppet run: 10.0.0.12_mariadb.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb-galera-server' returned 1: Error Downloading Packages:
You will find full trace in log /var/tmp/packstack/20150203-233323-NPb4g7/manifests/10.0.0.12_mariadb.pp.log

I attach openstack-setup.log

rm -rf /var/tmp/packstack/20150203-233323-NPb4g7/manifests/*pp
2015-02-03 23:33:24::INFO::shell::81::root:: [localhost] Executing script:
mkdir -p ~/.ssh
chmod 500 ~/.ssh
grep 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArIzatWz6pdTzSTsQLOnA07AH/6fwLqMqvPQXU+r1Q3EH/8uMAt8sStw/B2elJ81KY+1EBvfoFK6PL4cNJ8fPeWJf2egPDOEBGKVhG33mP/IfN087vvFadwFrHd2RZw1wxh1hGMFwsB+gnvhrTENDuwnHth9YLtP/iurh2ZKf/9CaSjxIw6FG6hYCs3SEZqlP23v9lKMj+/NAvxNTzUafUJO0wJdzPh2zW/+leHgctUTX99iNPn4x6Y2rtdYsNBNjLcqWAxMl/DenbUnSL/2Sact5fmzHRc8GsiDFVtpqnDtXYVJ0jIVUxO9exa23gf+BtxOVUaShN6bxOjQOtNQCVw== root@localhost.localdomain' ~/.ssh/authorized_keys > /dev/null 2>&1 || echo ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArIzatWz6pdTzSTsQLOnA07AH/6fwLqMqvPQXU+r1Q3EH/8uMAt8sStw/B2elJ81KY+1EBvfoFK6PL4cNJ8fPeWJf2egPDOEBGKVhG33mP/IfN087vvFadwFrHd2RZw1wxh1hGMFwsB+gnvhrTENDuwnHth9YLtP/iurh2ZKf/9CaSjxIw6FG6hYCs3SEZqlP23v9lKMj+/NAvxNTzUafUJO0wJdzPh2zW/+leHgctUTX99iNPn4x6Y2rtdYsNBNjLcqWAxMl/DenbUnSL/2Sact5fmzHRc8GsiDFVtpqnDtXYVJ0jIVUxO9exa23gf+BtxOVUaShN6bxOjQOtNQCVw== root@localhost.localdomain >> ~/.ssh/authorized_keys
chmod 400 ~/.ssh/authorized_keys
restorecon -r ~/.ssh
2015-02-03 23:33:24::INFO::shell::81::root:: [10.0.0.12] Executing script:
cat /etc/redhat-release
2015-02-03 23:33:45::INFO::shell::81::root:: [10.0.0.12] Executing script:
mkdir -p /var/tmp/packstack
mkdir --mode 0700 /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba
mkdir --mode 0700 /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba/modules
mkdir --mode 0700 /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba/resources
2015-02-03 23:33:45::INFO::shell::81::root:: [10.0.0.12] Executing script:
rpm -q --whatprovides yum-utils || yum install -y yum-utils
yum list available rhos-log-collector && yum -y install rhos-log-collector sos sos-plugins-openstack || echo "no rhos-log-collector available"
2015-02-03 23:33:51::INFO::shell::35::root:: Executing command:
rpm -q rdo-release --qf='%{version}-%{release}.%{arch}
'
2015-02-03 23:33:51::INFO::shell::81::root:: [10.0.0.12] Executing script:
(rpm -q 'rdo-release-icehouse' || yum install -y --nogpg http://rdo.fedorapeople.org/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm) || true
2015-02-03 23:33:52::INFO::shell::81::root:: [10.0.0.12] Executing script:
yum-config-manager --enable openstack-icehouse
2015-02-03 23:33:53::INFO::shell::81::root:: [10.0.0.12] Executing script:
yum install -y yum-plugin-priorities || true
rpm -q epel-release && yum-config-manager --setopt="rhel-server-ost-6-4-rpms.priority=1" --save rhel-server-ost-6-4-rpms
yum clean metadata
2015-02-03 23:34:05::INFO::shell::81::root:: [10.0.0.12] Executing script:
vgdisplay cinder-volumes
2015-02-03 23:34:16::INFO::shell::81::root:: [10.0.0.12] Executing script:
[[ -f /etc/lvm/lvm.conf ]] && sed -i -r "s/^ *snapshot_autoextend_threshold +=.*/    snapshot_autoextend_threshold = 80/" /etc/lvm/lvm.conf || echo "No /etc/lvm/lvm.conf file found"
[[ -f /etc/lvm/lvm.conf ]] && sed -i -r "s/^ *snapshot_autoextend_percent +=.*/    snapshot_autoextend_percent = 20/" /etc/lvm/lvm.conf || echo "No /etc/lvm/lvm.conf file found"
2015-02-03 23:34:17::INFO::shell::81::root:: [localhost] Executing script:
ssh-keygen -t rsa -b 2048 -f "/var/tmp/packstack/20150203-233323-NPb4g7/nova_migration_key" -N ""
2015-02-03 23:34:17::INFO::shell::81::root:: [localhost] Executing script:
ssh-keyscan 10.0.0.12
2015-02-03 23:34:17::INFO::shell::81::root:: [10.0.0.12] Executing script:
systemctl
2015-02-03 23:34:23::INFO::shell::81::root:: [10.0.0.12] Executing script:
service NetworkManager status
2015-02-03 23:34:51::INFO::shell::81::root:: [10.0.0.12] Executing script:
echo $HOME
2015-02-03 23:34:52::INFO::shell::81::root:: [localhost] Executing script:
rpm -q --requires openstack-puppet-modules | egrep -v "^(rpmlib|\/|perl)"
2015-02-03 23:34:52::INFO::shell::81::root:: [10.0.0.12] Executing script:
yum install -y puppet openssh-clients tar nc rubygem-json
yum update -y puppet openssh-clients tar nc rubygem-json
rpm -q --whatprovides puppet
rpm -q --whatprovides openssh-clients
rpm -q --whatprovides tar
rpm -q --whatprovides nc
rpm -q --whatprovides rubygem-json
2015-02-03 23:35:50::INFO::shell::81::root:: [localhost] Executing script:
cd /usr/lib/python2.6/site-packages/packstack/puppet
cd /var/tmp/packstack/20150203-233323-NPb4g7/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@10.0.0.12 tar -C /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance heat horizon inifile keystone memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq remote rsync ssh stdlib swift sysctl tempest vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@10.0.0.12 tar -C /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba/modules -xpzf -
2015-02-03 23:37:22::ERROR::run_setup::921::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 916, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 605, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 584, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 44, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 10.0.0.12_mariadb.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb-galera-server' returned 1: Error Downloading Packages:
You will find full trace in log /var/tmp/packstack/20150203-233323-NPb4g7/manifests/10.0.0.12_mariadb.pp.log

2015-02-03 23:37:22::INFO::shell::81::root:: [10.0.0.12] Executing script:
rm -rf /var/tmp/packstack/937789a531c6445e8ef16be90056b9ba

How do I solve this problem? Help Me!