Activity log for bug #1563889

Date Who What changed Old value New value Message
2016-03-30 14:19:40 Eric bug added bug
2016-03-30 20:38:15 Sean McGinnis tags drivers rdb
2016-03-30 21:58:00 Eric description Steps to reproduce: 1. Configure a ceph cluster using an alternative cluster name (e.g. 'my-ceph') instead of the default (ceph) 2. Configure two ceph backends using this cluster to use in cinder 3. Add the appropriate volume type(s) 4. Create a volume 5. Change the volume type of the volume Expected result: Migration of the volume Actual result: Exception in cinder-volume: Error: error calling conf_read_file: errno EINVAL Cause: The os-brick RBDConnector initiates a RBDClient only specifying user and pool. This causes the client to default to configuration file "/etc/ceph/ceph.conf" The cinder rbd volume driver specifies all required information for a connection (while to me it seems to be tailored to nova/libvirt) but it is not used by os-brick. If the data specified by the volume driver cannot be used by the os-brick RBDClient, either the ceph cluster name or full path to the appropriate ceph configfile should be added to the connection data which in turn should be used by the os-brick connector. Steps to reproduce: 1. Configure a ceph cluster using an alternative cluster name (e.g. 'my-ceph') instead of the default (ceph) 2. Configure two ceph backends using this cluster to use in cinder 3. Add the appropriate volume type(s) 4. Create a volume 5. Change the volume type of the volume Expected result: Migration of the volume Actual result: Exception in cinder-volume: Error: error calling conf_read_file: errno EINVAL Cause: The os-brick RBDConnector initiates a RBDClient only specifying user and pool. This causes the client to default to configuration file "/etc/ceph/ceph.conf" The cinder rbd volume driver specifies all required information for a connection (while to me it seems to be tailored to nova/libvirt) but it is not used by os-brick. If the data specified by the volume driver cannot be used by the os-brick RBDClient, either the ceph cluster name or full path to the appropriate ceph configfile should be added to the connection data which in turn should be used by the os-brick connector. PS. I wouldn't mind writing a patch, but since I'm relatively new to cinder I'm not aware of the bigger picture. Because of that I would need to know what the desired fix should be. Either adapting os-brick to use the already available connection info or appending either the cluster name or config full path to the connection info.
2016-03-31 18:35:03 Danny Al-Gaaf bug added subscriber Danny Al-Gaaf
2016-04-01 15:45:33 Danny Al-Gaaf cinder: status New Confirmed
2016-04-01 15:45:38 Danny Al-Gaaf cinder: assignee Danny Al-Gaaf (danny-al-gaaf)
2016-04-01 15:45:42 Danny Al-Gaaf cinder: status Confirmed In Progress
2016-04-11 12:25:47 Eric attachment added Stacktrace of error https://bugs.launchpad.net/cinder/+bug/1563889/+attachment/4632618/+files/cinder-volume-stacktrace.txt
2016-10-04 19:00:58 Sean McGinnis cinder: importance Undecided Medium
2016-12-09 14:43:04 jcat attachment added cinder-backup-error.txt https://bugs.launchpad.net/cinder/+bug/1563889/+attachment/4789535/+files/cinder-backup-error.txt
2017-09-01 16:14:40 Sean McGinnis cinder: assignee Danny Al-Gaaf (danny-al-gaaf)
2017-09-26 21:40:45 Sean McGinnis cinder: status In Progress New