Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1131647

Summary: RFE: rhel-osp-installer should install the rhos sos plugins on all nodes
Product: Red Hat OpenStack Reporter: Dave Maley <dmaley>
Component: rhel-osp-installerAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: aberezin, ajeain, aortega, derekh, dmaley, gchamoul, ichavero, mburns, mhulan, mlopes, mmagr, morazi, rhos-maint, sclewis, ukalifon, yeylon
Target Milestone: z2Keywords: FutureFeature, ZStream
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhel-osp-installer-0.3.6-2.el6ost Doc Type: Enhancement
Doc Text:
This enhancement includes sos components by default in deployed systems. This is intended to ease support and debugging activities. As a result, the log collector tooling will now get Red Hat Enterprise Linux OpenStack Platform specific results.
Story Points: ---
Clone Of: 1053734 Environment:
Last Closed: 2014-11-04 17:02:05 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 Flags
patch mhulan: review+

Comment 1 Mike Burns 2014-08-19 19:10:45 UTC
This could be done in kickstart during %post (we don't have repos to do it in %packages) but I think it's cleaner to install during puppet runs.

Comment 3 Jason Guiditta 2014-10-01 19:10:05 UTC
Looking at the patch for the related BZ, the change packstack made was:
https://review.openstack.org/#/c/102481/9/packstack/plugins/serverprep_001.py

This is kind of a pre-puppet step, which makes me think this may belong in the kickstart.  I can certainly add the package via puppet, but I am not sure we can safely guarantee it is installed before all the other components without lots of ordering dependencies or stages (which can cause more trouble than they solve).  One option that could leave it in puppet would be if we set staypuft to assign all new hosts to some default group that included all base configuration like this that may be needed before openstack is configured.  Not sure if this is a good apprach or not, just an idea.

Comment 4 Mike Burns 2014-10-01 19:15:02 UTC
Based on comment 3, moving back to rhel-osp-installer to add this in the kickstart.

must be %post

install these packages:
rhos-log-collector
sos
sos-plugins-openstack

Comment 5 Mike Burns 2014-10-01 19:43:07 UTC
Created attachment 943192 [details]
patch

This is not a valid upstream change, so attaching a downstream only patch.

Marek, can you please review?

Comment 8 Alexander Chuzhoy 2014-10-06 17:53:25 UTC
Verified:rhel-osp-installer-0.4.1-2.el6ost.noarch

The kickstart now has the following line:
# install sos related tools
yum -t -y -e 0 install sos sos-plugins-openstack rhos-log-collector


and the deployed nodes have the rpms installed:

[root@maca25400868097 ~]# rpm -qa|grep "^sos\|rhos-log"
sos-plugins-openstack-2013.2-5.el7ost.noarch
sos-3.0-23.el7.noarch
rhos-log-collector-2013.2-5.el7ost.noarch

Comment 11 errata-xmlrpc 2014-11-04 17:02:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-1800.html