yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58002
[Bug 1635008] [NEW] rbd credentials in nova.conf overwrite connection_info from cinder
Public bug reported:
Description
===========
When rbd_user and rbd_secret_uuid are set in nova.conf, they overwrite
the values returned from Cinder in the connection_info object.
Therefore both ephemeral storage in Ceph, and multiple Cinder volume
Ceph backends can't be used at the same time.
Steps to reproduce
==================
* In nova.conf, set rbd_user, rbd_secret_uuid, images_rbd_pool, etc.
* Booting a VMs. SUCCESS
* Try attaching a volume from a pool with different credentials than
the ephemeral one. FAILS
* Unset rbd_user, rbd_secret_uuid
* Try attaching a volume from a pool with different credentials than
the ephemeral one. SUCCESS
* Try booting a VM. FAILS
Expected result
===============
Both ephemeral and multiple ceph backends should work at the same time.
Actual result
=============
Either ephemeral or multiple ceph backends works at the same time.
https://github.com/openstack/nova/blob/4f91ed3a547965ed96a22520edcfb783e7936e95/nova/virt/libvirt/volume/net.py#L89-L95
Environment
===========
1. Exact version of OpenStack you are running.
Liberty
Name : openstack-nova
Arch : noarch
Epoch : 1
Version : 12.0.4
Release : 8.el7ost
Size : 14 k
Repo : rhel-7-server-openstack-8-rpms-local
2. Which hypervisor did you use?
Compiled against library: libvirt 1.2.17
Using library: libvirt 1.2.17
Using API: QEMU 1.2.17
Running hypervisor: QEMU 2.3.0
2. Which storage type did you use?
Ceph, not sure on version.
3. Which networking type did you use?
Neutron with OpenVSwitch
Logs & Configs
==============
--
** Affects: nova
Importance: Undecided
Status: New
--
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/1635008
Title:
rbd credentials in nova.conf overwrite connection_info from cinder
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
When rbd_user and rbd_secret_uuid are set in nova.conf, they overwrite
the values returned from Cinder in the connection_info object.
Therefore both ephemeral storage in Ceph, and multiple Cinder volume
Ceph backends can't be used at the same time.
Steps to reproduce
==================
* In nova.conf, set rbd_user, rbd_secret_uuid, images_rbd_pool, etc.
* Booting a VMs. SUCCESS
* Try attaching a volume from a pool with different credentials than
the ephemeral one. FAILS
* Unset rbd_user, rbd_secret_uuid
* Try attaching a volume from a pool with different credentials than
the ephemeral one. SUCCESS
* Try booting a VM. FAILS
Expected result
===============
Both ephemeral and multiple ceph backends should work at the same time.
Actual result
=============
Either ephemeral or multiple ceph backends works at the same time.
https://github.com/openstack/nova/blob/4f91ed3a547965ed96a22520edcfb783e7936e95/nova/virt/libvirt/volume/net.py#L89-L95
Environment
===========
1. Exact version of OpenStack you are running.
Liberty
Name : openstack-nova
Arch : noarch
Epoch : 1
Version : 12.0.4
Release : 8.el7ost
Size : 14 k
Repo : rhel-7-server-openstack-8-rpms-local
2. Which hypervisor did you use?
Compiled against library: libvirt 1.2.17
Using library: libvirt 1.2.17
Using API: QEMU 1.2.17
Running hypervisor: QEMU 2.3.0
2. Which storage type did you use?
Ceph, not sure on version.
3. Which networking type did you use?
Neutron with OpenVSwitch
Logs & Configs
==============
--
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1635008/+subscriptions
Follow ups