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

Bug 1111097

Summary: Packstack fails at prescript -> yum -d 0 -e 0 -y list openstack-selinux' returned 1: Error:
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: aortega, derekh, mmagr, yeylon
Target Milestone: ---   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-09 07:31:52 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
Packstack and answer file
none
Packstack answer and audit logs none

Description Tzach Shefi 2014-06-19 08:53:25 UTC
Created attachment 910304 [details]
Packstack and answer file

Description of problem:  Tired to install AIO+compute with packstack which failed at:

ERROR : Error appeared during Puppet run: 10.35.160.71_prescript.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-selinux' returned 1: Error: No matching Packages to list
You will find full trace in log /var/tmp/packstack/20140619-112450-wTWr06/manifests/10.35.160.71_prescript.pp.log
Please check log file /var/tmp/packstack/20140619-112450-wTWr06/openstack-setup.log for more information


Version-Release number of selected component (if applicable):
RHEL7
openstack-packstack-puppet-2014.1.1-0.26.dev1157.el7ost.noarch
openstack-packstack-2014.1.1-0.26.dev1157.el7ost.noarch

Note Got these off brew, needed to test a recent fix

How reproducible:
Everytime

Steps to Reproduce:
1. Install openstack-packstack
2. Create edit answer file
3. Run packstack with answer file

Actual results:
Prescript fails
Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-selinux' returned 1: Error: No matching Packages to list


Expected results:

Packstack should install without errors.

Additional info:

BTW selinux enforcing/permissive/disabled all failed not related to selinux problems. 
Attaching packstack logs and answer file.

Comment 1 Tzach Shefi 2014-06-19 12:31:58 UTC
Recreated the bug again on a VM this time same versions, attached setup2.tar.gz this time added audit.log 

SE enforcing. 

See setup2.tar.gz

Comment 2 Tzach Shefi 2014-06-19 12:32:28 UTC
Created attachment 910370 [details]
Packstack answer and audit logs

Comment 3 Tzach Shefi 2014-06-19 12:35:33 UTC
Just noticed error is a different this last time but also on prescript

ERROR : Error appeared during Puppet run: 10.35.162.22_prescript.pp
Package openstack-selinux has not been found in enabled Yum repos.
You will find full trace in log /var/tmp/packstack/20140619-152434-jiCYra/manifests/10.35.162.22_prescript.pp.log
Please check log file /var/tmp/packstack/20140619-152434-jiCYra/openstack-setup.log for more information

Comment 4 Lon Hohberger 2014-06-19 14:05:13 UTC
openstack-selinux is not available, but will be in next hand-off.

So, you can install it manually prior to running packstack, or add it to a side yum-repo.

Comment 5 Martin Magr 2014-07-09 07:31:52 UTC
Package openstack-selinux is available for RHELOSP-5 now.