dumpling "ceph" cli tool breaks openstack cinder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just noticed that in dumpling the "ceph" cli tool no longer utilises the "CEPH_ARGS" environment variable.  This is used by openstack cinder to specifiy the cephx user.   Ref: http://ceph.com/docs/next/rbd/rbd-openstack/#configure-openstack-to-use-ceph

I modifiied this line in /usr/share/pyshared/cinder/volume/driver.py

<         stdout, _ = self._execute('ceph', 'fsid')
>         stdout, _ = self._execute('ceph', '--id', 'volumes', 'fsid')

For my particular setup this seems to be sufficient as a quick workaround.  Is there a proper way to do this with the new tool?

Note: This only hit when i tried to create a volume from an image (i'm using copy on write cloning).  creating a fresh volume didnt invoke the "ceph fsid" command in the openstack script, so i guess some openstack users will not be affected.

Thanks,

Øystein
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux