← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1295601] [NEW] Allow for different Cephx users for Cinder and Nova (images_type=rbd)

 

Public bug reported:

Right now, there's only one set of options for rbd_user and
rbd_secret_uuid in nova.conf.  When it is set, it will be used

- for images when images_type=rbd is set: https://github.com/openstack/nova/blob/c15dff2e9978fe851c73e92ab7f9b46e27de81ba/nova/virt/libvirt/imagebackend.py#L79-L80
- for volumes, it will override whatever glance has provided: https://github.com/openstack/nova/blob/c15dff2e9978fe851c73e92ab7f9b46e27de81ba/nova/virt/libvirt/volume.py#L217-L229

Therefore, when you intend to use RBD for images and for volumes, you'd
have to use the same user for _both_.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: ceph ephemeral rbd volumes

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1295601

Title:
  Allow for different Cephx users for Cinder and Nova (images_type=rbd)

Status in OpenStack Compute (Nova):
  New

Bug description:
  Right now, there's only one set of options for rbd_user and
  rbd_secret_uuid in nova.conf.  When it is set, it will be used

  - for images when images_type=rbd is set: https://github.com/openstack/nova/blob/c15dff2e9978fe851c73e92ab7f9b46e27de81ba/nova/virt/libvirt/imagebackend.py#L79-L80
  - for volumes, it will override whatever glance has provided: https://github.com/openstack/nova/blob/c15dff2e9978fe851c73e92ab7f9b46e27de81ba/nova/virt/libvirt/volume.py#L217-L229

  Therefore, when you intend to use RBD for images and for volumes,
  you'd have to use the same user for _both_.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1295601/+subscriptions


Follow ups

References