Error: Could not find class firewall for localhost.localdomain on node localhost.localdomain

Bug #1362849 reported by Igor Milovanović
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
Invalid
Undecided
Unassigned

Bug Description

When trying packstack on Fedora 20 pulled from commit abaf325d093527fd95b2e81b63aa265926b63a58 I've encountered an isssue.

Here's the relevant log and answer file is attached:

2014-08-28 23:38:50::INFO::shell::81::root:: [localhost] Executing script:
rm -rf /var/tmp/packstack/20140828-233850-c87n3R/manifests/*pp
2014-08-28 23:38:50::INFO::shell::81::root:: [192.168.122.150] Executing script:
mkdir -p ~/.ssh
chmod 500 ~/.ssh
grep 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70+1ipPIYxds+WeVH7zcgdupA5If9MNYtXJ/t4XsNMU/EQn/JA2NOIscDCvOWbbtF5sfkJ06SYkczA9Egw2293K+8HgohVTec/3LUGv0oAuXWbD9Ew1mlKBAMkZlenmJDd9AjY11Art91wBLtL/wjfIZlUERPFdkW0BRDDRTsqoPCgrYkWbXhi4Fjv6f3Gr0KhoAaguYk1vie8O+C4HrbNv5vZDFJVCcWYEi6xiaZgn6TPzQ+BfPCf11bTlcPnbFYTIPnnlcP9nVUwfb7smSeiKgwtvYzTkaEm8DsiA5y7WCq5hbCTls5mcEmbqtLiMpDJivzNYE5+Fxv/tf9I9Il <email address hidden>' ~/.ssh/authorized_keys > /dev/null 2>&1 || echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70+1ipPIYxds+WeVH7zcgdupA5If9MNYtXJ/t4XsNMU/EQn/JA2NOIscDCvOWbbtF5sfkJ06SYkczA9Egw2293K+8HgohVTec/3LUGv0oAuXWbD9Ew1mlKBAMkZlenmJDd9AjY11Art91wBLtL/wjfIZlUERPFdkW0BRDDRTsqoPCgrYkWbXhi4Fjv6f3Gr0KhoAaguYk1vie8O+C4HrbNv5vZDFJVCcWYEi6xiaZgn6TPzQ+BfPCf11bTlcPnbFYTIPnnlcP9nVUwfb7smSeiKgwtvYzTkaEm8DsiA5y7WCq5hbCTls5mcEmbqtLiMpDJivzNYE5+Fxv/tf9I9Il <email address hidden> >> ~/.ssh/authorized_keys
chmod 400 ~/.ssh/authorized_keys
restorecon -r ~/.ssh
2014-08-28 23:38:50::INFO::shell::81::root:: [192.168.122.150] Executing script:
cat /etc/redhat-release
2014-08-28 23:38:51::INFO::shell::81::root:: [192.168.122.150] Executing script:
mkdir -p /var/tmp/packstack
mkdir --mode 0700 /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4
mkdir --mode 0700 /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4/modules
mkdir --mode 0700 /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4/resources
2014-08-28 23:38:51::INFO::shell::81::root:: [192.168.122.150] 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"
2014-08-28 23:39:07::INFO::shell::35::root:: Executing command:
rpm -q rdo-release --qf='%{version}-%{release}.%{arch}
'
2014-08-28 23:39:07::INFO::shell::81::root:: [192.168.122.150] 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
2014-08-28 23:39:09::INFO::shell::81::root:: [localhost] Executing script:
ssh-keygen -t rsa -b 2048 -f "/var/tmp/packstack/20140828-233850-c87n3R/nova_migration_key" -N ""
2014-08-28 23:39:09::INFO::shell::81::root:: [localhost] Executing script:
ssh-keyscan 192.168.122.150
2014-08-28 23:39:10::INFO::shell::81::root:: [192.168.122.150] Executing script:
systemctl
2014-08-28 23:39:10::INFO::shell::81::root:: [192.168.122.150] Executing script:
systemctl is-enabled NetworkManager
2014-08-28 23:39:10::INFO::shell::81::root:: [192.168.122.150] Executing script:
systemctl is-active NetworkManager
2014-08-28 23:39:11::INFO::shell::81::root:: [192.168.122.150] Executing script:
echo $HOME
2014-08-28 23:39:11::INFO::shell::81::root:: [localhost] Executing script:
rpm -q --requires openstack-puppet-modules | egrep -v "^(rpmlib|\/|perl)"
2014-08-28 23:39:11::INFO::shell::81::root:: [192.168.122.150] Executing script:
yum install -y puppet openssh-clients tar nc
yum update -y puppet openssh-clients tar nc
2014-08-28 23:39:45::INFO::shell::81::root:: [localhost] Executing script:
cd /usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/puppet
cd /var/tmp/packstack/20140828-233850-c87n3R/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.122.150 tar -C /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4 -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@192.168.122.150 tar -C /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4/modules -xpzf -
2014-08-28 23:39:56::ERROR::run_setup::921::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/run_setup.py", line 916, in main
    _main(confFile)
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/run_setup.py", line 605, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/run_setup.py", line 584, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/setup_controller.py", line 68, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack-2014.1.1devNone-py2.7.egg/packstack/installer/core/sequences.py", line 44, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 192.168.122.150_prescript.pp
Error: Could not find class firewall for localhost.localdomain on node localhost.localdomain
You will find full trace in log /var/tmp/packstack/20140828-233850-c87n3R/manifests/192.168.122.150_prescript.pp.log

2014-08-28 23:39:56::INFO::shell::81::root:: [192.168.122.150] Executing script:
rm -rf /var/tmp/packstack/3becb40d5da84aa3bb9fc195bf18b1c4

Revision history for this message
Igor Milovanović (igormilovanovic) wrote :
Revision history for this message
Lukas Bezdicka (social-b) wrote :

packstack from source:

# install repo for icehouse packages
sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
# clone packstack source
git clone https://github.com/stackforge/packstack.git
# install python-setuptools
yum -y instal python-setuptools
# clone openstack puppet modules
cd packstack ; python setup.py install_puppet_modules
# deploy packstack
python setup.py install

I guess you missed the install_puppet_modules

Revision history for this message
Igor Milovanović (igormilovanovic) wrote :

I haven't tried this again.
I have successfully used yum installed packstack on CentOS 7.
I think this can be closed.

Changed in packstack:
status: New → Invalid
Revision history for this message
Robbie Harwood (rharwood) wrote :

To anyone who finds this as a result of a search and is installing openstack-puppet-modules from source: it is possible that you have not set up the submodules correctly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.