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 ...
It says, "error downloading packages". Are your yum repositories configured correctly and accessible? Sometimes there are transient errors from remote yum repository servers; do you get the same error if you run packstack again?
Oh my god. larsks very thank you so much, your comment is very helpful to me. Because other packages were downloaded well, I tried to just input command 'yum install -y mariadb-galera-server'. I tried to install again mairadb.pp step passed.
But, ERROR : Error appeared during Puppet run: 10.0.0.12_keystone.pp Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone' returned 1: Error You will find full trace in log /var/tmp/packstack/20150204-103420-NVkaVO/manifests/10.0.0.1 above error was occured.
I repeat the same routine that occur error and yum install package directly. Until now, I directly installed 'mariadb-galera-server', 'openstack-keystone', 'openstack-cinder', 'openstack-nova-common' and 'openstack-nova-api'.