What is the problem you are having with rclone?
Failed to create file system for "incd-covid-oidc:": HTTP Error: 404: 404 NOT FOUND
What is your rclone version (output from rclone version
)
rclone v1.54.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
ubuntu 20.04 LTS
Which cloud storage system are you using? (eg Google Drive)
Openstack Swift (provided by ceph radogw), community cloud (I am the sys admin)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone -vv --dump auth lsd incd-covid-oidc:
The rclone config contents with secrets removed.
[incd-covid-oidc]
type = swift
env_auth = true
The following environment variables are set:
OS_ACCESS_TOKEN=e...
OS_AUTH_TYPE=v3oidcaccesstoken
OS_AUTH_URL=https://stratus.ncg.ingrid.pt:5000/v3
OS_IDENTITY_PROVIDER=egi.eu
OS_PROJECT_ID=
OS_PROTOCOL=openid
A log from the command with the -vv
flag
rclone -vv --dump auth lsd incd-covid-oidc:
<7>DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "--dump" "auth" "lsd" "incd-covid-oidc:"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Using config file from "/home/david/.config/rclone/rclone.conf"
<7>DEBUG : Creating backend with remote "incd-covid-oidc:"
<7>DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
<7>DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<7>DEBUG : HTTP REQUEST (req 0xc000123c00)
<7>DEBUG : POST /v3/auth/tokens HTTP/1.1
Host: stratus.ncg.ingrid.pt:5000
User-Agent: rclone/v1.54.0
Content-Length: 61
Content-Type: application/json
Accept-Encoding: gzip
<7>DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<7>DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<7>DEBUG : HTTP RESPONSE (req 0xc000123c00)
<7>DEBUG : HTTP/1.1 404 NOT FOUND
Content-Length: 79
Content-Type: application/json
Date: Fri, 26 Feb 2021 12:49:47 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5
Vary: X-Auth-Token
X-Openstack-Request-Id: req-6776150e-f98d-44c9-8a5d-4e1eafea11f9
<7>DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Failed to create file system for "incd-covid-oidc:": HTTP Error: 404: 404 NOT FOUND
And
rclone -vv --dump bodies lsd incd-covid-oidc:
<7>DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "--dump" "bodies" "lsd" "incd-covid-oidc:"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Using config file from "/home/david/.config/rclone/rclone.conf"
<7>DEBUG : Creating backend with remote "incd-covid-oidc:"
<7>DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
<7>DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<7>DEBUG : HTTP REQUEST (req 0xc000176e00)
<7>DEBUG : POST /v3/auth/tokens HTTP/1.1
Host: stratus.ncg.ingrid.pt:5000
User-Agent: rclone/v1.54.0
Content-Length: 61
Content-Type: application/json
Accept-Encoding: gzip
{"auth":{"identity":{"methods":["token"],"token":{"id":""}}}}
<7>DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<7>DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<7>DEBUG : HTTP RESPONSE (req 0xc000176e00)
<7>DEBUG : HTTP/1.1 404 NOT FOUND
Content-Length: 79
Content-Type: application/json
Date: Fri, 26 Feb 2021 12:50:36 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5
Vary: X-Auth-Token
X-Openstack-Request-Id: req-ee8d220f-6c4e-4cc2-b9e8-cfb5508e340c
{"error":{"code":404,"message":"No token in the request","title":"Not Found"}}
<7>DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Failed to create file system for "incd-covid-oidc:": HTTP Error: 404: 404 NOT FOUND
Further information
I have searched the github issues and this forum, and tried a few more options on
the rclone.conf such as access_key_id
and secret_access_key
. The error is always the same
And of course I might be missing something very simple.
Openstack client with these variables (same terminal)
openstack object list somedir
+--------------------------------+
| Name |
+--------------------------------+
| rclone-v1.54.0-linux-amd64.deb |
+--------------------------------+
rclone with remote to same swift but another project and using keystone3 local user, works perfectly:
[incd-swift-lip]
type = swift
env_auth = false
user = myusername
key = xxx
auth = https://stratus.ncg.ingrid.pt:5000/v3
domain = Default
tenant = lip
tenant_domain = Default
storage_url = https://stratus-stor.ncg.ingrid.pt:8080/swift/v1/AUTH_<projectID>
endpoint_type = public
rclone lsd incd-swift-lip:
24368884 2021-02-26 12:59:51 1 test
33701454 2021-02-26 12:59:51 2 tt2
53678763 2021-02-26 12:59:51 6072 udenv2