Rbd connector fails if cluster_name not set
Bug #1861960 reported by
Mark Kirkwood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
New
|
Low
|
Unassigned |
Bug Description
The rbd connector accepts a cluster_name parameter and then uses it like:
str(cluster_name)
This results in it trying to use a non existent key file:
None.client.
instead of ceph.client.
Changed in os-brick: | |
importance: | Undecided → Wishlist |
importance: | Wishlist → Low |
tags: | added: rbd |
To post a comment you must log in.
We are running into this issue due to using quite an old version of Cinder (Mitaka), which does not set 'cluster_name" in its connection dict. We are looking at solving this by patching Cinder to include this (Cinder upgrade is TODO).
Having said that - defaulting to a cluster name of 'None' is *never* going to be correct, so the os0brick code behaviour is undesirable.