[Openstack] Cinder SMBFS client mount permission denied

Florian Rommel florian.rommel at datalounges.com
Sat Dec 24 20:48:36 UTC 2016


Hi all and merry xmas to begin with.
I am trying to use Cinder Volumes on a CIFS backend (SAMBA) because NFS 
wont do snapshotting.
Now, I have the samba share setup and I can create volumes to the 
backend and they create and deploy properly.. i can see them in the 
share as they are being built and set to ready. All good. I can see in 
the cinder logs ont he volume server:

2016-12-24 22:29:45.232 22044 INFO cinder.image.image_utils 
[req-a8d74458-59e3-4a5a-9fc8-dde732f2d11e 
17dbc503de764278a06f21951e324f60 726a35f18a064eca877bc916120abfc0 - - -] 
Converted 2252.00 MB image at 337.49 MB/s
2016-12-24 22:29:46.441 22044 INFO 
cinder.volume.flows.manager.create_volume 
[req-a8d74458-59e3-4a5a-9fc8-dde732f2d11e 
17dbc503de764278a06f21951e324f60 726a35f18a064eca877bc916120abfc0 - - -] 
Volume volume-892238fa-c60a-4e91-a7e9-bf1824a3b958 
(892238fa-c60a-4e91-a7e9-bf1824a3b958): created successfully
2016-12-24 22:29:46.445 22044 INFO cinder.volume.manager 
[req-a8d74458-59e3-4a5a-9fc8-dde732f2d11e 
17dbc503de764278a06f21951e324f60 726a35f18a064eca877bc916120abfc0 - - -] 
Created volume successfully.

However whenever I try to launch an instance with that volume as a boot 
volume, i get the following error in the nova conductor log:

"RescheduledException: Build of instance 
1abeba17-6120-4228-94b1-a96760f1de60 was re-scheduled: unable to set 
user and group to '484:485' on ....

on the cinder log i get nothing except this:
2016-12-24 22:32:31.621 22044 INFO cinder.volume.manager 
[req-e66d6b40-b5e1-461d-a06b-3ae57ed98736 
17dbc503de764278a06f21951e324f60 726a35f18a064eca877bc916120abfc0 - - -] 
Terminate volume connection completed successfully.
2016-12-24 22:32:32.077 22044 INFO cinder.volume.manager 
[req-1ce1cb2e-7b25-49b6-9f69-78a0537a7c82 
17dbc503de764278a06f21951e324f60 726a35f18a064eca877bc916120abfc0 - - -] 
Detach volume completed successfully.


What am I missing?.. my NFS share works perfectly fine and my SMB 
options in cinder.conf seem to work.. but somehow the client seems to 
not be able to set permissions..

here is my cinder.conf on the volume server:
smbfs_default_volume_format = raw
smbfs_sparsed_volumes = True
smbfs_shares_config = /etc/cinder/smbfs_shares
smbfs_mount_options = 
noperm,vers=3.0,file_mode=0775,dir_mode=0775,username=smbfs,password=XXXXXXXX

and I do get the mount on the volume server as well...
Any help?

Thanks and bes regards,
//Florian





More information about the Openstack mailing list