Ask Your Question
0

[RDO][liberty] Error: Could not find class ::firewall

asked 2015-11-08 00:08:12 -0500

idzzy gravatar image

Hello,

I am installing liberty by RDO packstack on 3 nodes(controller, compute, network). but packstack was failed with following error message.

Any ideas would be helpful for me.

# packstack --answer-file=packstack-answer-file.txt
-- omit --
10.32.23.128_prescript.pp:                        [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.32.23.128_prescript.pp
Error: Could not find class ::firewall for ckp221 on node ckp221
You will find full trace in log /var/tmp/packstack/20151108-140407-Nvb7gZ/manifests/10.32.23.128_prescript.pp.log
Please check log file /var/tmp/packstack/20151108-140407-Nvb7gZ/openstack-setup.log for more information

-

# cat /var/tmp/packstack/20151108-140407-Nvb7gZ/manifests/10.32.23.128_prescript.pp.log
Error: NetworkManager is not running.
Error: Could not find class ::firewall for ckp221 on node ckp221
Error: Could not find class ::firewall for ckp221 on node ckp221

-

# less /var/tmp/packstack/20151108-140407-Nvb7gZ/openstack-setup.log
2015-11-08 14:05:20::ERROR::run_setup::1017::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1012, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 123, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 10.32.23.128_prescript.pp
Error: Could not find class ::firewall for ckp221 on node ckp221
You will find full trace in log /var/tmp/packstack/20151108-140407-Nvb7gZ/manifests/10.32.23.128_prescript.pp.log

Version:

# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
# rpm -qa | grep packstack
openstack-packstack-puppet-2015.2-0.1.dev1654.gcbbf46e.el7.noarch
openstack-packstack-2015.2-0.1.dev1654.gcbbf46e.el7.noarch

Thank you.

edit retag flag offensive close merge delete

Comments

It appears that this is an open issue - https://bugs.launchpad.net/packstack/... possibly fixed in https://review.openstack.org/#/c/131067/ - but this is a year ago.

rbowen gravatar imagerbowen ( 2015-11-10 10:07:38 -0500 )edit

Thank you for the comment. I already know about the link https://bugs.launchpad.net/packstack/..., but I didn't know this https://review.openstack.org/#/c/131067/. But there is not such file (setup.py) in packstack package. Hmm... Still not sure how to fix this issue :( Thank you.

idzzy gravatar imageidzzy ( 2015-11-10 19:44:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-11-12 02:35:37 -0500

idzzy gravatar image

Resolved.

It was failed in this part.

cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance galera heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vlan vswitch xinetd openstacklib | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@10.32.23.126 tar -C /var/tmp/packstack/0c79616925f8458a8d90a4f2441117ec/modules -xpzf -

There was no modules in /usr/share/openstack-puppet/modules. So I deleted openstack-packstack and re-installed again. I'm sure why there was not ;(

Thank you.

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: 2015-11-08 00:08:12 -0500

Seen: 627 times

Last updated: Nov 12 '15