Ceph cluster reports: 1 auth entities have invalid capabilities (and HEALTH_ERR) when no profiles are defined for the osds

Bug #1917440 reported by Francesco Pantano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Francesco Pantano

Bug Description

When no pools using Ceph are defined (no services use Ceph as backend), and the pool list is empty,
a wrong osp_client_caps is generated, containing an empty value for the caps osd section.
This results in a Ceph cluster which is not healthy (HEALTH_ERR is reported), because the resulting auth entry has invalid capabilities.

[client.openstack]
        key = <the key>
        caps mgr = "allow *"
        caps mon = "profile rbd"
        caps osd = "" <= ERROR, this sections shouldn't be here

Changed in tripleo:
assignee: nobody → Francesco Pantano (fmount)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 2.2.0

This issue was fixed in the openstack/tripleo-ansible 2.2.0 release.

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.7.0

This issue was fixed in the openstack/tripleo-ansible 0.7.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 1.5.3

This issue was fixed in the openstack/tripleo-ansible 1.5.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 3.1.0

This issue was fixed in the openstack/tripleo-ansible 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.