← Back to team overview

openstack team mailing list archive

Re: Openstack - cinder - volume driver NFS


On 01/15/2013 10:41 AM, Benoit ML wrote:

(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)

2013-01-15 11:32:08 WARNING cinder.volume.driver
108305fe03e24aa98626344b0f47e3a3 295b7cf015664e02ab54eb56eb95ee0c]
Exception during mounting Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf stat
Exit code: 1
Stdout: ''
Stderr: "/usr/bin/stat: impossible d'\xc3\xa9valuer
Aucun fichier ou dossier de ce type\n"

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


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