RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1151892 - packstack icehouse doesn't install anything because of repo
Summary: packstack icehouse doesn't install anything because of repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: Icehouse
Assignee: Javier Peña
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-13 02:01 UTC by Michael Clarkson
Modified: 2016-04-18 07:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-06 10:10:29 UTC
Embargoed:


Attachments (Terms of Use)
log immediately after running packstack --allinone (6.30 KB, text/plain)
2014-10-13 02:01 UTC, Michael Clarkson
no flags Details

Description Michael Clarkson 2014-10-13 02:01:33 UTC
Created attachment 946198 [details]
log immediately after running packstack --allinone

Description of problem: packstack --allinone fails to install anything but gives messages indicating success. On further investigation it actually fails to find puppet because the repo is disabled by the packstack script but the yum command does not re-enable it for that install. Manually install puppet and try again and it consistently fails for anything not in the base repo as the scripts disable the others but none of the yum commands enable them. Hence rabbitmq is the next to fail, then keystone, and right down the line. 


Version-Release number of selected component (if applicable): 
OS CentOS 7.0.1406
RDO Release 4
openstack-packstack 0.29.dev1251.el7


How reproducible:
yum -y install openstack-packstack
packstack --allinone

or

packstack --gen-answer-file /root/answers.txt #then fill out file to your liking
packstack --answer-file /root/answers.txt

Either way, it fails at: 

yum install -y puppet openssh-clients tar nc rubygem-json

It never tells you that in the logs either. But puppet, nor any subsequent package gets installed. If you manually enable puppet repo, install puppet, and run again it fails one erlang as that is from the epel repo, also disabled. Manually install that and it fails on each subsequent package not from the base repo.

Actual results:
Nothing actually installs after the puppet install fails, but the logs don't even reflect puppet failing.

Expected results:
OpenStack allinone install should either succeed and give me a running installation or if anything fails it should notify.

Notes:
Attached is a log immediately after running packstack --allinone on a fresh centos 7 server running only @Base and "@Virtualization Host" package groups.

Comment 1 Javier Peña 2014-10-27 15:33:49 UTC
There are two issues here:

- First, EPEL should be enabled (https://bugzilla.redhat.com/show_bug.cgi?id=1153384) when installing RDO

- Second, Packstack should not silently ignore failures to install a package via YUM. This has already been handled for Icehouse as part of https://review.openstack.org/129559.

Comment 2 Javier Peña 2014-10-27 15:37:39 UTC
*** Bug 1153296 has been marked as a duplicate of this bug. ***

Comment 3 Eric Harney 2014-10-27 15:42:19 UTC
> - Second, Packstack should not silently ignore failures to install a package via YUM. This has already been handled for Icehouse as part of https://review.openstack.org/129559.

This handles one symptom but the problem hit in bug 1153296 is still there I think.  If the rpm database says puppet is installed but puppet commands fail for some unexpected reason, it appears that the error still won't be caught and you'll get the same result?

Comment 4 Javier Peña 2014-10-27 16:12:44 UTC
(In reply to Eric Harney from comment #3)
> > - Second, Packstack should not silently ignore failures to install a package via YUM. This has already been handled for Icehouse as part of https://review.openstack.org/129559.
> 
> This handles one symptom but the problem hit in bug 1153296 is still there I
> think.  If the rpm database says puppet is installed but puppet commands
> fail for some unexpected reason, it appears that the error still won't be
> caught and you'll get the same result?

Yes, you're absolutely right, I had not thought of that. I'm reopening the bug and fixing it there.

Comment 5 Alan Pevec (Fedora) 2014-10-28 23:38:24 UTC
https://review.openstack.org/129559 has been merged, please build new RDO Icehouse openstack-packstack which includes this fix.


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