Bug 1047156
| Summary: | packstack fail to install openstack ice-house version | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Nir Magnezi <nmagnezi> | ||||||
| Component: | openstack-nova | Assignee: | Pádraig Brady <pbrady> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ami Jeain <ajeain> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | unspecified | CC: | ajeain, aortega, derekh, fpercoco, hateya, mmagr, ndipanov, pbrady, p, rbryant, whayutin, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-nova-2014.1-0.5.b1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-01-07 02:57:39 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Nir Magnezi
2013-12-29 15:13:57 UTC
Created attachment 843083 [details]
The faulty nova.conf file
Created attachment 843084 [details]
glance api.log file
Glance has some large changes with icehouse, including use of python-oslo-messaging which might be related. I see this error in glance.log:
2013-12-25 14:17:55.042 25202 ERROR glance.common.config [-] Unable to load glance-api-keystone from configuration file /usr/share/glance/glance-api-dist-paste.ini.
Got: ImportError('No module named notify',)
The issue was with the new python-oslo-messaging package:
# python -c 'from oslo import messaging'
Traceback (most recent call last):
File "/usr/lib/...oslo/messaging/__init__.py", line 18, in <module>
from .notify import *
ImportError: No module named notify
I've fixed this with an updated python-oslo-messaging-1.3.0 package in the test repo. Please update to that and try again.
thanks!
BTW we need a python-oslo-messaging RDO component.
BTW I've not looked into the nova.conf issue yet, but this workaround should work: sed -i '/^nil$/d' /etc/nova/nova.conf packstack --answer-file ...to resume Looks like the same issue occurs in the heat conf 14:21:37 ERROR : Error appeared during Puppet run: 192.168.129.8_heat.pp 14:21:37 Notice: /Stage[main]/Heat::Db/Exec[heat-dbsync]/returns: oslo.config.cfg.ConfigFileParseError: Failed to parse /etc/heat/heat.conf: at /etc/heat/heat.conf:866, No ':' or '=' found in assignment: 'nil' 14:21:37 You will find full trace in log /var/tmp/packstack/20140103-080205-RbevL6/manifests/192.168.129.8_heat.pp.log 14:21:37 Please check log file /var/tmp/packstack/20140103-080205-RbevL6/openstack-setup.log for more information The flash thought of mine: it seems that 'nil' values are added by the latest Puppet (3.4 probably?). After downgrade it did not appear. If you will try to install Icehouse RDO on clean machine with downgraded Puppet as first step, will it pass? I'm asking because from following part of error message "[Errno 111] Connection refused" it seems that you ran "packstack --allinone" twice and hence the second time packstack used invalid password. I just successfully installed on clean VM with Nir's repos and Puppet downgraded to 3.3.2, but looking at the openstack* installed packages, they are from Havana repo. Icehouse RDO repo [1] is currently empty (except repo packages). If this is intentional, then I'm doing something wrong. [1] http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/ So after reproducing the issue I noticed that Icehouse nova-common package has [keystone_authtoken] section twice in it's default nova.conf. This probably makes Puppet remove those two section headers and paste "nil" instead. Will check also Heat default config file if this is the similar case. For heat-common package it's the same case. There is [keystone_authtoken] section duplication in heat.conf (line 813 and 1004). I've rebuilt nova and heat with the default config adjusted as Martin suggests in comment 11. These are currently in place in the RDO icehouse repos Passes CI without "nil" issue presenting itself. |