Bug 1404220

Summary: install openstack-selinux' returned 1: Error: Package: openstack-selinux-0.7.13-1.el7ost.noarch (rhelosp-10.0-puddle)
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: openstack-selinuxAssignee: Ryan Hallisey <rhallise>
Status: CLOSED NOTABUG QA Contact: Udi Shkalim <ushkalim>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: lhh, mgrepl, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-13 13:58:38 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:
Attachments:
Description Flags
packstack logs none

Description Tzach Shefi 2016-12-13 11:57:56 UTC
Created attachment 1231172 [details]
packstack logs

Description of problem:

Ran a quick packstack install rhos10 (Dec 13) inorder to test some minor thing.
Hit openstack-selinux install issue:

Applying 10.35.70.38_controller.pp
10.35.70.38_controller.pp:                        [ ERROR ]         
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.35.70.38_controller.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-selinux' returned 1: Error: Package: openstack-selinux-0.7.13-1.el7ost.noarch (rhelosp-10.0-puddle)
You will find full trace in log /var/tmp/packstack/20161213-132554-tDhn_n/manifests/10.35.70.38_controller.pp.log

---> Package setools-libs.x86_64 0:3.3.7-46.el7 will be installed
--> Finished Dependency Resolution
Error: Package: openstack-selinux-0.7.13-1.el7ost.noarch (rhelosp-10.0-puddle)
           Requires: selinux-policy-targeted >= 3.13.1-93.el7
           Installed: selinux-policy-targeted-3.13.1-60.el7.noarch (@anaconda/7.2)
               selinux-policy-targeted = 3.13.1-60.el7
           Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhelosp-rhel-7.2-z)
               selinux-policy-targeted = 3.13.1-60.el7_2.9
Error: Package: openstack-selinux-0.7.13-1.el7ost.noarch (rhelosp-10.0-puddle)
           Requires: selinux-policy-base >= 3.13.1-93.el7
           Installed: selinux-policy-targeted-3.13.1-60.el7.noarch (@anaconda/7.2)
               selinux-policy-base = 3.13.1-60.el7
           Available: selinux-policy-minimum-3.13.1-60.el7.noarch (rhel-server)
               selinux-policy-base = 3.13.1-60.el7
           Available: selinux-policy-minimum-3.13.1-60.el7_2.9.noarch (rhelosp-rhel-7.2-z)
               selinux-policy-base = 3.13.1-60.el7_2.9
           Available: selinux-policy-mls-3.13.1-60.el7.noarch (rhel-server)
               selinux-policy-base = 3.13.1-60.el7
           Available: selinux-policy-mls-3.13.1-60.el7_2.9.noarch (rhelosp-rhel-7.2-z)
               selinux-policy-base = 3.13.1-60.el7_2.9
           Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhelosp-rhel-7.2-z)
               selinux-policy-base = 3.13.1-60.el7_2.9


Version-Release number of selected component (if applicable):
Date Dec13 
RHEL7.3 
openstack-packstack-puppet-9.0.0-3.el7ost.noarch
openstack-packstack-9.0.0-3.el7ost.noarch


How reproducible:
Probably every time, as I used default answer file no changes. 

Steps to Reproduce:
1. Packstack 
2.
3.

Actual results:
Failed to install
Manually running yum install openstack-selinux same problem. 

Expected results:
Should pass without errors. 

Additional info:

Attached includes: 
packstack logs 
yum.log
answer.file

Comment 1 Tzach Shefi 2016-12-13 12:01:03 UTC
yum install openstack-selinux --skip-broken ->

Packages skipped because of dependency problems:
    audit-libs-python-2.4.1-5.el7.x86_64 from rhel-server
    checkpolicy-2.1.12-6.el7.x86_64 from rhel-server
    libsemanage-python-2.1.10-18.el7.x86_64 from rhel-server
    openstack-selinux-0.7.13-1.el7ost.noarch from rhelosp-10.0-puddle
    policycoreutils-python-2.2.5-20.el7.x86_64 from rhel-server
    python-IPy-0.75-6.el7.noarch from rhel-server
    setools-libs-3.3.7-46.el7.x86_64 from rhel-server

Comment 2 Tzach Shefi 2016-12-13 13:58:38 UTC
My bad (credit to Tosky!) it was a rhel7.2 not 7.3! 
RHOS10 only supported on RHEL7.3 and beyond.  

Closing as NOTABUG.