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

Bug 1616238

Summary: Undercloud installation fails due to broken selinux rpm
Product: Red Hat OpenStack Reporter: Gurenko Alex <agurenko>
Component: openstack-selinuxAssignee: Zoli Caplovic <zcaplovi>
Status: CLOSED NOTABUG QA Contact: Jon Schlueter <jschluet>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: agurenko, lhh, mburns, mgrepl, zcaplovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-28 08:33:34 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
undercloud install log none

Description Gurenko Alex 2018-08-15 11:08:49 UTC
Created attachment 1476114 [details]
undercloud install log

Description of problem: trying to deploy undercloud RHOS 10 puddle


Version-Release number of selected component (if applicable): 2018-08-14.1, 2018-08-04.1


How reproducible: 100% out of 3 deployments


Steps to Reproduce:
1. try deploying undercloud with Infrared

Actual results:

[2018-08-15 05:13:45,393] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

[2018-08-15 05:13:45,393] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1259, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1023, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 522, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1

Expected results:

Undercloud deployed successfully

Additional info:

Error: Execution of '/bin/yum -d 0 -e 0 -y install openstack-selinux' returned 1: Error: Package: openstack-selinux-0.8.14-13.el7ost.noarch (rhelosp-10.0-puddle)

Comment 1 Gurenko Alex 2018-08-15 12:12:25 UTC
Same problem with our passed_phase2 puddle - 2018-07-24.1

Comment 2 Zoli Caplovic 2018-08-17 14:20:34 UTC
Hello, 

what goal are you trying to achieve? Are you deploying a new environment, then you should use RHEL 7.5 (which has the right version of selinux-policy-base). 

If you are testing upgrade a patch to rhos-release will be needed. 


Thank you in advance for your response

Zoli Caplovic

Comment 3 Mike Burns 2018-08-22 12:15:50 UTC
Can you provide the full output of the yum install command?  There is not enough info here to figure out the packaging conflict.

Comment 5 Gurenko Alex 2018-08-28 08:33:34 UTC
My mistake, I had a logic in the script that deployed with RHEL7.4 images for RHOS10. Thanks, fixed it now.