Bug 1108005 - Packstack installation fail: Error: Could not find resource 'File_line[httpd_listen_on_bind_address_80]..
Summary: Packstack installation fail: Error: Could not find resource 'File_line[httpd_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 5.0 (RHEL 6)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 5.0 (RHEL 6)
Assignee: Martin Magr
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On: 1109079 1112372
Blocks: 1105094
TreeView+ depends on / blocked
 
Reported: 2014-06-11 09:30 UTC by Petr Matousek
Modified: 2014-09-08 05:20 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2014.1.1-0.21.dev1116.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-28 18:58:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0950 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Packstack 2014-07-28 22:56:56 UTC

Description Petr Matousek 2014-06-11 09:30:58 UTC
Description of problem:


10.16.64.67_horizon.pp:                           [ ERROR ]        
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.16.64.67_horizon.pp
Error: Could not find resource 'File_line[httpd_listen_on_bind_address_80]' for relationship on 'File_line[undo_httpd_listen_on_bind_address_80]' on node <hostname>


Version-Release number of selected component (if applicable):
openstack-packstack-2014.1.1-0.13.dev1068.el6ost.noarch
openstack-packstack-puppet-2014.1.1-0.13.dev1068.el6ost.noarch
openstack-puppet-modules-2014.1-14.1.el6ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. yum -y install http://team.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm
2. rhos-release 5
3. yum -y install openstack-packstack
4. setenforce 0
5. packstack --allinone

Actual results:
Packstack installation fail

Expected results:
Packstack installation succeeds

Additional info:

# cat /var/tmp/packstack/20140609-170639-XYh_xX/openstack-setup.log

2014-06-09 17:11:10::ERROR::run_setup::892::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 887, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 574, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 553, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 84, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 96, in run
    step.run(config=config)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 43, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 10.16.64.67_horizon.pp
Error: Could not find resource 'File_line[httpd_listen_on_bind_address_80]' for relationship on 'File_line[undo_httpd_listen_on_bind_address_80]' on node <hostname>
You will find full trace in log /var/tmp/packstack/20140609-170639-XYh_xX/manifests/10.16.64.67_horizon.pp.log


# cat /var/tmp/packstack/20140609-170639-XYh_xX/manifests/10.16.64.67_horizon.pp.log
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Horizon]): The keystone_host parameter is deprecated, use keystone_url instead.
Warning: Scope(Class[Horizon]): The can_set_mount_point parameter is deprecated, use hypervisor_options instead.
Warning: Variable access via 'tcp_port' is deprecated. Use '@tcp_port' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:1
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:1:in `result')
Warning: Variable access via 'user' is deprecated. Use '@user' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:2
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:2:in `result')
Warning: Variable access via 'max_connections' is deprecated. Use '@max_connections' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:3
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:3:in `result')
Warning: Variable access via 'max_memory' is deprecated. Use '@max_memory' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:5
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:5:in `result')
Warning: Variable access via 'listen_ip' is deprecated. Use '@listen_ip' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:15
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:15:in `result')
Warning: Variable access via 'udp_port' is deprecated. Use '@udp_port' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:18
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:18:in `result')
Warning: Variable access via 'processorcount' is deprecated. Use '@processorcount' instead. template[/var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb]:20
   (at /var/tmp/packstack/e39e843cb2af4890a0da2559bdd07faf/modules/memcached/templates/memcached_sysconfig.erb:20:in `result')
Error: Could not find resource 'File_line[httpd_listen_on_bind_address_80]' for relationship on 'File_line[undo_httpd_listen_on_bind_address_80]' on node <hostname>
Error: Could not find resource 'File_line[httpd_listen_on_bind_address_80]' for relationship on 'File_line[undo_httpd_listen_on_bind_address_80]' on node <hostname>

Comment 1 Martin Magr 2014-06-12 10:54:30 UTC
This is fixed in more recent version.

Comment 2 Petr Matousek 2014-06-16 12:13:40 UTC
Note: The issue is fixed, installation completed successfully, suggesting to move to verified.

packages under tests:
openstack-packstack-puppet-2014.1.1-0.24.dev1120.el6ost.noarch
openstack-packstack-2014.1.1-0.24.dev1120.el6ost.noarch
openstack-puppet-modules-2014.1-14.4.el6ost.noarch

Comment 4 Tzach Shefi 2014-07-09 08:01:32 UTC
Ran into same problem with below versions:
RHEL 6.5 
openstack-packstack-2014.1.1-0.13.dev1068.el6ost.noarch
openstack-packstack-puppet-2014.1.1-0.13.dev1068.el6ost.noarch


Having found this bug updated packstack: 
openstack-packstack-puppet-2014.1.1-0.32.1.dev1209.el6ost.noarch
openstack-packstack-2014.1.1-0.32.1.dev1209.el6ost.noarch

Problem appears to be resolved as packstack passed Horizon.pp this time, only to fail on heat.pp. 

Opened a new bug about packstack heat issue
https://bugzilla.redhat.com/show_bug.cgi?id=1117667

Ami wasn't sure if OK to verify based on my output, you device.

Comment 8 Ido Ovadia 2014-07-21 11:30:31 UTC
Verified
=========
openstack-packstack-puppet-2014.1.1-0.35.dev1220.el6ost.noarch
openstack-packstack-2014.1.1-0.35.dev1220.el6ost.noarch
openstack-puppet-modules-2014.1-19.1.el6ost.noarch

Comment 10 errata-xmlrpc 2014-07-28 18:58:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0950.html


Note You need to log in before you can comment on or make changes to this bug.