Bug 1218744

Summary: packstack fails to install openstack-selinux via yum
Product: [Community] RDO Reporter: Boris Derzhavets <bderzhavets>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: KiloCC: aortega, apevec, derekh, yeylon
Target Milestone: ---   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-08 18:44:49 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 Boris Derzhavets 2015-05-05 18:12:02 UTC
Description of problem:

prescript.pp fails immediately on CentOS 7.1 attempting
yum -y install openstack-selinux ( not on the list ) 

Version-Release number of selected component (if applicable):

openstack-packstack-2015.1-0.1.dev1537.gba5183c.el7.noarch
openstack-packstack-puppet-2015.1-0.1.dev1537.gba5183c.el7.noarch

How reproducible:

run packstack following https://www.rdoproject.org/RDO_test_day_Kilo#How_To_Test

Steps to Reproduce:

Follow https://www.rdoproject.org/RDO_test_day_Kilo#How_To_Test

Actual results:

prescript.pp fails immedially

Expected results:

should work for every node of deployment

Additional info:

Workaround

Edit /usr/lib/python2.7/site-packages/packstack/puppet/templates/prescript.pp

# We don't have openstack-selinux package for Fedora
# if $::operatingsystem != 'Fedora' {
#  package{ 'openstack-selinux':
#    ensure => present,
#  }
# }

:wq

Set SELINUX to permissive and proceed as usual.

Comment 1 Boris Derzhavets 2015-05-07 14:25:33 UTC
As of yesterday issue seems to be fixed.

Comment 2 Boris Derzhavets 2015-05-07 17:38:37 UTC
I am hit again by same issue

Comment 3 Boris Derzhavets 2015-05-07 17:41:29 UTC
192.169.142.137_prescript.pp:                     [ ERROR ]             
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.169.142.137_prescript.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-selinux' returned 1: Error: No matching Packages to list

Comment 4 Boris Derzhavets 2015-05-07 18:11:35 UTC
Moreover, actually , running on Compute :-
 yum install http://rdoproject.org/repos/openstack-kilo/rdo-testing-kilo.rpm
is another workaround for this bug

Comment 5 Alan Pevec (Fedora) 2015-05-08 18:44:49 UTC

*** This bug has been marked as a duplicate of bug 1218750 ***