swift 401 unauthorized error

147 views
Skip to first unread message

Pallavi Srinivasareddy

unread,
Mar 23, 2018, 4:26:41 AM3/23/18
to Alluxio Developers
Hi 
             I am using Alluxio with openstack swift. But I am unable to connect to the swift. It is throwing 401 error. Please help me to fix this issue

Pallavi Srinivasareddy

unread,
Mar 26, 2018, 4:02:35 AM3/26/18
to Alluxio Developers


On Friday, March 23, 2018 at 1:56:41 PM UTC+5:30, Pallavi Srinivasareddy wrote:
Hi 
             I am using Alluxio with openstack swift. But I am unable to connect to the swift. It is throwing 401 error. Please help me to fix this issue

Hi , 
             I am using Alluxio 1.7.0 and openstack swift pike. I have used below configuration to connect to swift. 

                           alluxio.underfs.address=swift://test/

fs.swift.user=swift

fs.swift.tenant=admin

fs.swift.password=------

fs.swift.auth.url=http://----------------:8080/v1/AUTH_0566d8a800144d688da0b5ec86cee95f

fs.swift.use.public.url=True

fs.swift.auth.method=keystone

                             fs.swift.region=RegionOne

ad...@alluxio.com

unread,
Mar 26, 2018, 12:42:23 PM3/26/18
to Alluxio Developers
Hi Pallavi,

If you are using v1 auth, i.e. authentication is via the swift server and not the keystone module, `fs.swift.auth.method` should be set to `swiftauth`.

Let me know how that goes.

Thanks,

Adit
Reply all
Reply to author
Forward
0 new messages