Ceph volume cannot be attached/created in case of different cinder rbd_user and pool name
Bug #1324954 reported by
Andrey Grebennikov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Dmitry Borodaenko | ||
4.1.x |
Fix Committed
|
Medium
|
Dmitry Borodaenko | ||
5.0.x |
Fix Committed
|
Medium
|
Dmitry Borodaenko |
Bug Description
If "rbd_user" options in the config files "nova.conf" on the compute node and "cinder.conf" on the controller is not equal to "rbd_pool", ceph volumes cannot be created or attached to the instance.
The reason is that env variable "CEPH_ARGS" takes the priority in case it is defined, but there in the manifests
cinder/
ceph/manifests/
it is defined as "--id ${rbd_pool}'", but it has to be "--id ${user}'" (for nova_compute.pp) and "--id ${rbd_user}'" (for ceph.pp)
Or it can be just excluded from the manifests at all (probably)
Changed in fuel: | |
status: | New → Confirmed |
milestone: | none → 5.1 |
assignee: | nobody → Dmitry Borodaenko (dborodaenko) |
importance: | Undecided → Medium |
tags: | added: customer-found |
tags: | added: in progress |
To post a comment you must log in.
You're right, CEPH_ARGS was only necessary with Grizzly. Starting with Havana, Cinder and Nova consistently use ceph_args() method to add "--id <rbd_user>" parameter to all invokations of rbd and ceph commands, and Glance doesn't use these commands at all.