Bug 949549
| Summary: | openstack-packstack: failure during applying nova manifest - Could not evaluate: undefined method `[]=' for nil:NilClass | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> | ||||||||||||||
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Nir Magnezi <nmagnezi> | ||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||
| Priority: | high | ||||||||||||||||
| Version: | 2.0 (Folsom) | CC: | aortega, apevec, derekh, mmagr, sandro, ykaul | ||||||||||||||
| Target Milestone: | --- | Keywords: | Regression, Reopened, Triaged | ||||||||||||||
| Target Release: | 3.0 | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2013-04-09 15:30:27 UTC | Type: | Bug | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Bug Depends On: | |||||||||||||||||
| Bug Blocks: | 928101 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
Created attachment 732667 [details]
packstack.log
Created attachment 732669 [details]
openstack-setup.log
I have the same issue but it appeared when applying mysql manifest.
Created attachment 732707 [details]
answer-file
The problem is puppet-2.6.18. With older release puppet-2.6.17-2.el6ost.noarch packstack works normally. This worked for me with the current puppet/packstack RPMs deploying an all-inn-one installation. Created attachment 732832 [details]
my answers file; worked fine
Long shot: were there any cap_sys_admin / cap_sys_resource AVC denials? 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. Created attachment 733105 [details]
Installed packages
List of installed packages on RHEL-6.4 machine.
Created attachment 733265 [details]
Installed packages
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 Ok, will check it with 2.6.18-1. 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 :) *** This bug has been marked as a duplicate of bug 908655 *** |
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