Bug 949549 - openstack-packstack: failure during applying nova manifest - Could not evaluate: undefined method `[]=' for nil:NilClass
Summary: openstack-packstack: failure during applying nova manifest - Could not evalua...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.0 (Folsom)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.0
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks: 928101
TreeView+ depends on / blocked
 
Reported: 2013-04-08 12:55 UTC by Omri Hochman
Modified: 2013-04-09 15:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-09 15:30:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
packstack.log (12.46 KB, text/plain)
2013-04-08 12:58 UTC, Omri Hochman
no flags Details
openstack-setup.log (9.63 KB, text/plain)
2013-04-08 13:02 UTC, Martin Magr
no flags Details
answer-file (7.28 KB, text/plain)
2013-04-08 14:50 UTC, Omri Hochman
no flags Details
my answers file; worked fine (7.31 KB, text/plain)
2013-04-08 20:37 UTC, Lon Hohberger
no flags Details
Installed packages (85.67 KB, text/x-log)
2013-04-09 09:46 UTC, Martin Magr
no flags Details
Installed packages (24.02 KB, text/plain)
2013-04-09 14:55 UTC, Lon Hohberger
no flags Details

Description Omri Hochman 2013-04-08 12:55:22 UTC
openstack-packstack: failure during applying nova manifest - Could not evaluate: undefined method `[]=' for nil:NilClass[0m)

Environment: 
------------
openstack-selinux-0.1.2-10.el6ost.noarch
openstack-utils-2013.1-2.2.el6ost.noarch
openstack-packstack-2012.2.3-0.11.dev475.el6ost.noarch
kernel-2.6.32-358.el6.x86_64
mysql-5.1.67-1.el6_3.x86_64


Description: 
------------
packstack regular installation of 1 controller with 1 compute constantly failed with the following trace:


openstack-setup.log (attached):
-------------------------------
ESC[0;36mnotice: /Stage[main]/Nova::Compute/Nova::Generic_service[compute]/Service[nova-compute]/ensure: ensure changed 'stopped' to 'running'ESC[0m
ESC[0;36mnotice: /Stage[main]//Exec[load_kvm]/returns: executed successfullyESC[0m
ESC[0;36mnotice: /File[/etc/nova/nova.conf]/owner: owner changed 'root' to 'nova'ESC[0m
ESC[0;36mnotice: Finished catalog run in 532.67 secondsESC[0m

2013-04-08 14:18:37::ERROR::run_setup::891::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 885, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 597, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 574, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 77, in runAllSequences
    sequence.run()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 153, in run
    step.run()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run
    function()
  File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 176, in applyPuppetManifest
    waitforpuppet(currently_running)
  File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 163, in waitforpuppet
    validate_puppet_logfile(log)
  File "/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py", line 143, in validate_puppet_logfile
    raise PackStackError(message)
PackStackError: Error during puppet run : err: /Stage[main]//Service[messagebus]: Could not evaluate: undefined method `[]=' for nil:NilClassESC[0m

2013-04-08 14:18:37::INFO::run_setup::618::root:: Removing /var/tmp/packstack/b9b7c98fad1146758d099ad96d4a2fa5 on 10.35.160.11 (if it is a remote host)
2013-04-08 14:18:37::INFO::run_setup::618::root:: Removing /var/tmp/packstack/8b7e9f42be3f44b2a0ebc73aae2fbcd3 on 10.35.160.13 (if it is a remote host)
2013-04-08 14:18:37::INFO::run_setup::539::root::  * A new answerfile was created in: /root/packstack-answers-20130408-134136.txt
2013-04-08 14:18:37::INFO::run_setup::539::root::  * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
2013-04-08 14:18:37::INFO::run_setup::539::root::  * Did not create a cinder volume group, one already existed
2013-04-08 14:18:37::INFO::run_setup::539::root::  * To use the command line tools you need to source the file /root/keystonerc_admin created on 10.35.160.11
2013-04-08 14:18:37::INFO::run_setup::539::root::  * To use the console, browse to http://10.35.160.11/dashboard

Comment 1 Omri Hochman 2013-04-08 12:58:42 UTC
Created attachment 732667 [details]
packstack.log

Comment 2 Martin Magr 2013-04-08 13:02:08 UTC
Created attachment 732669 [details]
openstack-setup.log

I have the same issue but it appeared when applying mysql manifest.

Comment 6 Omri Hochman 2013-04-08 14:50:33 UTC
Created attachment 732707 [details]
answer-file

Comment 8 Martin Magr 2013-04-08 16:02:16 UTC
The problem is puppet-2.6.18. With older release puppet-2.6.17-2.el6ost.noarch packstack works normally.

Comment 10 Lon Hohberger 2013-04-08 18:30:02 UTC
This worked for me with the current puppet/packstack RPMs deploying an all-inn-one installation.

Comment 12 Lon Hohberger 2013-04-08 20:37:12 UTC
Created attachment 732832 [details]
my answers file; worked fine

Comment 13 Lon Hohberger 2013-04-08 21:00:14 UTC
Long shot: were there any cap_sys_admin / cap_sys_resource AVC denials?

Comment 14 Omri Hochman 2013-04-09 09:25:25 UTC
I returned to use puppet-2.6.17-2.el6ost.noarch and :
 **** Installation completed successfully ******

before: when I used puppet.noarch 0:2.6.18-2.el6 the installation failed.

Comment 18 Martin Magr 2013-04-09 09:46:26 UTC
Created attachment 733105 [details]
Installed packages

List of installed packages on RHEL-6.4 machine.

Comment 21 Lon Hohberger 2013-04-09 14:55:35 UTC
Created attachment 733265 [details]
Installed packages

Comment 23 Lon Hohberger 2013-04-09 14:58:11 UTC
Martin, in your list of packages:

puppet.noarch                    2.6.17-2.el6ost         @/puppet-2.6.17-2.el6ost.noarch

I have puppet-2.6.18-1.el6ost

Comment 24 Martin Magr 2013-04-09 15:02:45 UTC
Ok, will check it with 2.6.18-1.

Comment 25 Sandro Mathys 2013-04-09 15:09:57 UTC
FWIW: not being aware of this bug, I opened pretty much the same against Puppet in EPEL: https://bugzilla.redhat.com/show_bug.cgi?id=950066

Really looks more like a Puppet than Packstack issue to me :)

Comment 26 Martin Magr 2013-04-09 15:15:42 UTC

*** This bug has been marked as a duplicate of bug 908655 ***


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