Arf without the quotes of course :)
stdout, _ = self._execute('ceph', '--id', self.configuration.rbd_user, 'fsid')
â??â??â??â?? Sébastien Han Cloud Engineer
"Always give 100%. Unless you're giving blood." Address : 10, rue de la Victoire - 75009 Paris
On August 19, 2013 at 2:35:03 PM, Sébastien Han (sebastien.han@xxxxxxxxxxxx) wrote: Hi,
The new version of the driver (for Havana) doesn't need the CEPH_ARGS argument, the driver now uses the librbd and librados (not the CLI anymore).
I guess a better patch will result in: stdout, _ = self._execute('ceph', '--id', 'self.configuration.rbd_user', 'fsid')
I'll report the bug. Thanks! However I don't know how to fix this with the new CLI.
Cheers.
â??â??â??â?? Sébastien Han Cloud Engineer
"Always give 100%. Unless you're giving blood." Address : 10, rue de la Victoire - 75009 Paris On August 19, 2013 at 1:28:57 PM, �ystein Lønning Nerhus (nerhus@xxxxx) wrote: Hi,
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