Bug 965620 - openstack-packstack: UX - installation fails a lot due to 'yum' missing dependency towards end of installation (would like to get an error in the beginning and save time)
Summary: openstack-packstack: UX - installation fails a lot due to 'yum' missing depen...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 4.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.0
Assignee: RHOS Maint
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-21 12:18 UTC by Haim
Modified: 2016-04-26 14:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 12:42:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
packstack logs (67.18 KB, text/plain)
2013-05-21 12:24 UTC, Haim
no flags Details

Description Haim 2013-05-21 12:18:52 UTC
Description of problem:

RHOS 3.0 installation fails a lot due to missing dependency, according to the logs, we can see that pack-stack starts with configuration first (of puppet scripts), and then move to installing missing dependency.

I suggest is to reverse the order, first install all needed packages according to answer file, then move to needed configuration, if yum will fail, user will get a quick note about it and can fix it, and not waste 20 minutes, and then find out that i'm missing a package.

Comment 1 Haim 2013-05-21 12:24:07 UTC
Created attachment 751097 [details]
packstack logs

Comment 2 Derek Higgins 2013-05-27 21:44:38 UTC
Packstack searches puppet logs for errors, from the looks of it the first error in your logs was

[1;35merr: /Stage[main]/Horizon/Package[openstack-dashboard]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-dashboard' returned 1: Error: Django14 conflicts with Django-1.3.7-1.el6.noarch

packstack should have found this and stopped running, perhapes the regex searching for errors needs to be updated.

Comment 3 Derek Higgins 2013-05-28 16:52:46 UTC
hmm scratch that theory on comment 2, the log file appears to be from multiple runs is this correct? If so it explains why I thought packstack ignored the error and continued on.

Comment 4 Martin Magr 2013-10-01 12:42:50 UTC
Packstack is using Puppet modules to install OpenStack components. Puppet modules are using yum to install necessary dependency. If Puppet fails on that, Packstack then just propagates error to user. There's no way how to revert this process.


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