packstack stuck at selinux installation

asked 2014-01-14 04:48:36 -0500

Jyu gravatar image

Hi, I use packstack to deploy openstack on multi-node (RHEL6.4) and get stuck at selinux-installation step. The outputs shows: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-selinux' returned 1: Error: Package: openstack-selinux-0.1.3-2.el6ost.noarch (openstack-havana)

Then I find this error after I manually execute command "yum -y install openstack-selinux".It looks like there's no "policycoreutils-python" package in RDO repo : Error: Package: openstack-selinux-0.1.3-2.el6ost.noarch (openstack-havana) Requires: policycoreutils-python You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodiges

Did anyone have a solution?Any comments would be appreciated.Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-01-14 06:04:31 -0500

sgordon gravatar image

The policycoreutils-python package is part of base RHEL/CentOS/SL. It should be provided by the RHEL/CentOS/SL update repositories, do you have them configured?

edit flag offensive delete link more


Thanks,the problem is caused by my yum repo.I've fixed it.

Jyu gravatar imageJyu ( 2014-01-18 01:04:57 -0500 )edit

Hi Jyu, could you provide some details on how did you fix this issue please? I got the same error as you but it was asking me for container-selinux (Error: Package: openstack-selinux-0.8.11-1.el7.noarch (centos-openstack-pike) Requires: container-selinux)

MrQ gravatar imageMrQ ( 2018-03-16 16:41:07 -0500 )edit

Resolve the issue by enabling these repos ( container-selinux is in the extra rpms ) : # subscription-manager repos --enable=rhel-7-server-optional-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-rh-common-rpms

Youssef Sbai Idrissi gravatar imageYoussef Sbai Idrissi ( 2018-07-25 12:16:17 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-01-14 04:48:36 -0500

Seen: 1,000 times

Last updated: Jan 14 '14