Wrong ceph auth client when disable telemetry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Giulio Fidente |
Bug Description
Description
===========
Deploying with ceph-ansible and disable-telemetry environment enabled causes a bad ceph auth osd capabilities for client.openstack.
This is a regression introduced by https:/
Because the GnocchiRbdPoolName parameter is set to '', then the osd capabilities gets an empty value for this pool.
As a result glance is not able to upload an image (and probably the other services using rbd too like nova and cinder).
Steps to reproduce
==================
* Deploy the overcloud with environments/
$ openstack overcloud deploy --templates -e /usr/share/
* Try to upload an image into glance.
$ openstack image create --public --file cirros-
Expected result
===============
The image is correctly uploaded into glance and stored in ceph
Actual result
=============
A RBD permissions error in glance logs (see logs below)
# cat /etc/ceph/
[client.openstack]
key = AQApqCJbAAAAABA
caps mds = ""
caps mgr = "allow *"
caps mon = "allow r"
caps osd = "allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=backups, allow rwx pool=vms, allow rwx pool=images, allow rwx pool="
As you can see at the end of the osd auth, there's an empty value after pool=
Efter updating the client.openstack osd capabilities by removing the extra ", allow rwx pool=" I don't see the error anymore
Environment
===========
os: RHEL 7.5
release: Rocky
storage: Ceph 12.2.4-6 (for nova, glance, cinder, rgw)
network: Openvswitch 2.9.0-19
nodes: 1 controler, 1 compute, 1 ceph
containers: enabled
Logs & Configs
==============
http://
Changed in tripleo: | |
assignee: | nobody → John Fulton (jfulton-org) |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → rocky-3 |
tags: | added: queens-backport-potential |
Changed in tripleo: | |
assignee: | John Fulton (jfulton-org) → Giulio Fidente (gfidente) |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
tags: |
added: rocky-backport-potential removed: in-stable-queens |
Fix proposed to branch: master /review. openstack. org/575571
Review: https:/