Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 996773

Summary: el6-{grizzly,havana} builds should have a patch that installs the openstack-selinux package
Product: [Community] RDO Reporter: Terry Wilson <twilson>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: aortega, derekh, yeylon
Target Milestone: Milestone3   
Target Release: Havana   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2013.1.1-0.29.dev683.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-29 14:03:13 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:

Description Terry Wilson 2013-08-13 22:32:09 UTC
Description of problem:

After installing via packstack, target hosts do not have the openstack-selinux package installed.

Version-Release number of selected component (if applicable):
openstack-packstack-2013.2.1-0.2.dev702.el6
openstack-packstack-2013.1.1-0.24.dev660.el6

How reproducible:

Always

Steps to Reproduce:
0. rhel-6.4 minimal install
1. packstack --allinone
2. rpm -q openstack-selinux

Actual results:
package openstack-selinux is not installed

Expected results:
openstack-selinux-0.1.2-11.el6.noarch

Comment 1 Martin Magr 2013-08-29 12:56:19 UTC
Should the package be installed on all EL distributions or we will enforce the package installation only for RHEL?

In other words is better solution A or B? >>>

A:
if $::operatingsystem == "RedHat" {
    package{'openstack-selinux':
        ensure => present,
    }
}

B:
if $::operatingsystem != "Fedora" {
    package{'openstack-selinux':
        ensure => present,
    }
}

Comment 2 Perry Myers 2013-08-29 14:13:43 UTC
All EL systems will need this package.  CentOS, SL, RHEL, etc

Fedora should not, since as I understand it, the base selinux-policy-targeted contains the correct policies