Ceph OSDs on compute/control fails to deploy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When deploying with stable/newton and including CephOSD on the control and compute roles, the deployment fails with:
Oct 13 10:59:49 localhost os-collect-config: #033[1;31mError: semanage fcontext -a -t ceph_var_lib_t '/srv/data(/.*)?' && restorecon -R /srv/data returned 1 instead of one of [0]#033[0m
Oct 13 10:59:49 localhost os-collect-config: #033[1;31mError: /Stage[
Oct 13 10:59:49 localhost os-collect-config: #033[1;31mWarning: /Stage[
The error is from this part of osd.pp:
https:/
Manually executing the semanage command results in:
ValueError: Type ceph_var_lib_t is invalid, must be a file or device type
According to this bz https:/
I can attach my environment files if those help.
Packages: -controller- 0 ~]# rpm -qa | grep ceph 10.2.2- 0.el7.x86_ 64 10.2.2- 0.el7.x86_ 64 release- ceph-jewel- 1.0-1.el7. centos. noarch 10.2.2- 0.el7.x86_ 64 10.2.2- 0.el7.x86_ 64 10.2.2- 0.el7.x86_ 64 cephfs- 10.2.2- 0.el7.x86_ 64 10.2.2- 0.el7.x86_ 64 2.2-0.el7. x86_64 ceph-2. 2.0-0.201610062 35119.a9818a2. el7.centos. noarch 10.2.2- 0.el7.x86_ 64
[root@overcloud
ceph-common-
ceph-mds-
centos-
libcephfs1-
ceph-selinux-
ceph-osd-
python-
ceph-base-
ceph-10.
puppet-
ceph-mon-