-
Notifications
You must be signed in to change notification settings - Fork 54
Bad Request issue when mounting bucket in openstack swift Mitaka #128
Comments
Hello, can you use auth v2 instead ? Authentication v3 is not supported/tested yet. Also make sure you use |
Hai, thanks for the update. I have used keystone v2.0 and later tried svfs mount command after which able to mount swift bucket locally. Then i tried to access this mounted bucket to another client using nfs but getting Steps done -
Server side - Client side - When i tried to create new files getting below error - Previously without svfs nfs was working fine so i think your code is blocking nfs services. Any suggestions or recommendations would be really helpful.. Once again thanks for the above suggestion..... |
root@s3fsvm:~# touch /mnt/april13/system svfs debug log - |
Hello, if you provide an svfs mount through NFS, you have to make sure uid/gid are correctly mapped between the client machine and the server or set up uid/gid squashing. You probably need to tune permissions options, there are several issues in this project where people ask about permissions and I explained quite a few times in these relevant options.
|
[root@centos ~]# svfs mount --device april13 --mountpoint /mnt/april13 --default-mode 777 --allow-other --debug --readdir-extended-attributes --os-auth-url http://192.168.12.175:35357/v2.0 --os-password vedams123 --os-username admin --os-container-name april13 --os-region-name RegionOne --os-tenant-name admin Server side - Client side - We tried with multiple permissions, umask, --default-mode options, allow_other and client side mount options still facing the same issue.. We checked another local NFS share and its working without issues.. |
The root cause is that nfs relies on |
Hai Lucas, Thanks so much for such a quick reply. No-one in git hub replied as quick as you !!!!.. Please let me know if there is any work-around or any changes we can make to achieve the target. |
Hai Lucas, Any update will be really appreciated... :) |
Hai Lucas, Is this issue because mknod is not supported by svfs or its a fuse not supported ?? |
Hi, this is not supported by svfs since this doesn't make sense when you have a storage endpoint like Swift. |
Hi Lucas, Thanks for the answer. Can you let me know if there is any proper gateway for Openstack Swift<-->NFS access. |
Is there any way to change default umask(mount permission for the swift bucket) ? |
Context
Steps to reproduce this issue :
Results you expected :
Bucket should be mounted
Results you observed :
FATA[2017-04-11T16:25:32+05:30] Bad Request
Debug log :
[root@centos ~]# sudo mount -t svfs -o username=$OS_USERNAME,password=$OS_PASSWORD,project=$OS_PROJECT_NAME,url=$OS_AUTH_URL,debug=true dhanu /mnt/svfs/
[root@centos ~]# DEBU[2017-04-11T16:25:30+05:30] Skipping configuration : open : no such file or directory source=svfs
FATA[2017-04-11T16:25:32+05:30] Bad Request
Additional information :
[root@centos ~]# env | grep OS_*
HOSTNAME=centos
OS_REGION_NAME=RegionOne
OS_USER_DOMAIN_NAME=default
OS_IMAGE_API_VERSION=2
OS_PROJECT_NAME=admin
OS_IDENTITY_API_VERSION=3
OS_PASSWORD=vedams123
OS_AUTH_URL=http://192.168.12.175:35357/v3
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_PROJECT_DOMAIN_NAME=default
[root@centos ~]# swift list
con1
dhanu
Is this compatible with swift Mitaka version ?
Please help me with this issue. If need more info will be happy to provide..
The text was updated successfully, but these errors were encountered: