Closed mkissam closed 10 years ago
A fresh devstack installation fails with Permission denied error:
notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + rm -f /tmp/tmp.Hd2y3r9bWb notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + is_service_enabled mysql postgresql notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ set +o notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ grep xtrace notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + local 'xtrace=set -o xtrace' notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + set +o xtrace notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + return 0 notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + install_database notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + install_database_mysql notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + is_ubuntu notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ -z deb ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + '[' deb = deb ']' notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + cat notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + sudo debconf-set-selections notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ ! -e /root/.my.cnf ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + cat notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: /home/vagrant/devstack/lib/databases/mysql: line 136: /root/.my.cnf: Permission denied notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + exit_trap notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + local r=1 notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ jobs -p notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + jobs= notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ -n '' ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + exit 1 err: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: change from notrun to 0 failed: /home/vagrant/devstack/stack.sh returned 1 instead of one of [0] at /tmp/vagrant-puppet/manifests/site.pp:74
This appears to be a failure that occurs within the DevStack script
A fresh devstack installation fails with Permission denied error:
notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + rm -f /tmp/tmp.Hd2y3r9bWb notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + is_service_enabled mysql postgresql notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ set +o notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ grep xtrace notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + local 'xtrace=set -o xtrace' notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + set +o xtrace notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + return 0 notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + install_database notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + install_database_mysql notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + is_ubuntu notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ -z deb ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + '[' deb = deb ']' notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + cat notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + sudo debconf-set-selections notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ ! -e /root/.my.cnf ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + cat notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: /home/vagrant/devstack/lib/databases/mysql: line 136: /root/.my.cnf: Permission denied notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + exit_trap notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + local r=1 notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: ++ jobs -p notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + jobs= notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + [[ -n '' ]] notice: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: + exit 1 err: /Stage[main]//Node[devstack]/Exec[/home/vagrant/devstack/stack.sh]/returns: change from notrun to 0 failed: /home/vagrant/devstack/stack.sh returned 1 instead of one of [0] at /tmp/vagrant-puppet/manifests/site.pp:74