Bug 1392140 - rhsop 8 undercloud install fails with selinux policy load [NEEDINFO]
Summary: rhsop 8 undercloud install fails with selinux policy load
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-05 05:32 UTC by bigswitch
Modified: 2017-11-16 22:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-16 22:16:51 UTC
Target Upstream Version:
bfournie: needinfo? (rhosp-bugs-internal)


Attachments (Terms of Use)

Description bigswitch 2016-11-05 05:32:52 UTC
Description of problem:
RHOSP 8 undercloud installation fails with latest RHEL 7.2 with yum update

Version-Release number of selected component (if applicable):
RHSOP 8 director installation

How reproducible:


Steps to Reproduce:
1. Install RHEL 7.2 
2. Follow the RHOSP 8.0 Undercloud installation procedure
3. start the openstack undercloud install 

Installation fails with following error

+ '[' -x /usr/sbin/semanage ']'
+ mkdir -p /opt/stack/selinux-policy
++ dirname /tmp/tmp8Ff3MC/post-install.d/86-selinux
+ checkmodule -M -m -o /tmp/ipxe.mod /tmp/tmp8Ff3MC/post-install.d/../selinux/ipxe.te
checkmodule:  Module name ironic-ipxe is different than the output base filename ipxe
checkmodule:  loading policy configuration from /tmp/tmp8Ff3MC/post-install.d/../selinux/ipxe.te
INFO: 2016-11-04 22:26:39,168 -- ############### End stdout/stderr logging ###############
ERROR: 2016-11-04 22:26:39,168 --     Hook FAILED.
ERROR: 2016-11-04 22:26:39,168 -- Failed running command ['dib-run-parts', u'/tmp/tmp8Ff3MC/post-install.d']
  File "/usr/lib/python2.7/site-packages/instack/main.py", line 163, in main
    em.run()
  File "/usr/lib/python2.7/site-packages/instack/runner.py", line 79, in run
    self.run_hook(hook)
  File "/usr/lib/python2.7/site-packages/instack/runner.py", line 172, in run_hook
    raise Exception("Failed running command %s" % command)
ERROR: 2016-11-04 22:26:39,170 -- None
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 808, in install
    _run_instack(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 692, in _run_instack
    _run_live_command(args, instack_env, 'instack')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 370, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: instack failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1

Actual results:


Expected results:


Additional info:

Comment 1 bigswitch 2016-11-05 06:17:40 UTC
Package python-tripleoclient-0.3.4-6.el7ost.noarch

Comment 2 bigswitch 2016-11-05 20:32:01 UTC
latest yum update will install : rpm -qa | grep selinux-policy-devel-3.13.1-102.el7_3.4.noarch
selinux-policy-devel-3.13.1-102.el7_3.4.noarch

Comment 3 bigswitch 2016-11-05 20:35:43 UTC
[stack@rhosp8 log]$ sudo cat /var/log/messages | grep abrt
Nov  5 13:06:21 rhosp8 abrtd: Init complete, entering main loop
Nov  5 13:17:19 rhosp8 yum[14533]: Updated: abrt-libs-2.1.11-45.el7.x86_64
Nov  5 13:17:33 rhosp8 yum[14533]: Updated: abrt-dbus-2.1.11-45.el7.x86_64
Nov  5 13:17:33 rhosp8 yum[14533]: Updated: abrt-python-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-kerneloops-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-pstoreoops-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-vmcore-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-tui-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-ccpp-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-python-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-addon-xorg-2.1.11-45.el7.x86_64
Nov  5 13:17:34 rhosp8 yum[14533]: Updated: abrt-cli-2.1.11-45.el7.x86_64
Nov  5 13:17:51 rhosp8 yum[14533]: Updated: abrt-console-notification-2.1.11-45.el7.x86_64
Nov  5 13:19:01 rhosp8 abrtd: Got signal 15, exiting
Nov  5 13:19:01 rhosp8 abrtd: Init complete, entering main loop
Nov  5 13:19:11 rhosp8 abrtd: Got signal 15, exiting
Nov  5 13:19:11 rhosp8 abrtd: Init complete, entering main loop

Comment 5 Bob Fournier 2017-09-03 15:26:56 UTC
Is this problem still occurring?  Is it just with RHEL 7.2 or also 7.3/7.4?

Comment 7 Bob Fournier 2017-11-16 22:16:51 UTC
Thanks Ollie for pointing that out.

The fix is in OSP-9.  There aren't plans to backport this to OSP-8.


Note You need to log in before you can comment on or make changes to this bug.