[Openstack] Openstack - cinder - volume driver NFS

Pádraig Brady P at draigBrady.com
Tue Jan 15 20:40:42 UTC 2013


On 01/15/2013 10:41 AM, Benoit ML wrote:
> Hello,
>
> (plz ignore my previous mail)
>
> I'm sorry because I probabably misunderstand something.
> I have :
> - configured cinder like the file you show (thank you again)  (apport
> the nfs_mount_point_base = /etc/cinder/volumes and volumes_dir =
> /etc/cinder/volumes )
> - mounted the nfs share in /etc/cinder/volumes
> - echo '/etc/cinder/volumes' > /var/lib/cinder/nfsshare && chown
> cinder /var/lib/cinder/nfsshare
>
> And when I try to create a volume, it doesn't work. The volume is in
> "error" state and in the log  (with debug/verbose activated) :
> - cinder try to create a lv  : why create a lv ? not create a file on the nfs ?
> - cinder try to "stat" a directory inside the nfs_share but failed
> because it doesn't existe (of course does not create it before)
>

> /usr/lib/python2.6/site-packages/cinder/utils.py:180
> 2013-01-15 11:32:08 WARNING cinder.volume.driver
> [req-0ed3bc1e-d5a1-43c6-8b88-3401734695ca
> 108305fe03e24aa98626344b0f47e3a3 295b7cf015664e02ab54eb56eb95ee0c]
> Exception during mounting Unexpected error while running command.
> Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf stat
> /etc/cinder/volumes/6614325979630346338
> Exit code: 1
> Stdout: ''
> Stderr: "/usr/bin/stat: impossible d'\xc3\xa9valuer
> \xc2\xab\xc2\xa0/etc/cinder/volumes/6614325979630346338\xc2\xa0\xc2\xbb:
> Aucun fichier ou dossier de ce type\n"

I guessed that the following might fix your issue on the Fedora cloud list:

https://review.openstack.org/#/c/17761/
https://review.openstack.org/#/c/17762/

And with the extra info provided above, gives greater possibility
they will fix your issue. These should be backported to stable/folsom.

thanks,
Pádraig.




More information about the Openstack mailing list