Closed ne0ark closed 8 years ago
Hi,
Have you tried like this :
mount -t svfs -o username="[username]",password="[password]",tenant="[tenant]",identity_url="https://lb1047.pcs.ovh.net:5443/v2.0",container=default cdn /mnt/cdn
That seems to work. Is there a way to figure out auth_url and region?
Hello,
Two things here :
storage_url
option since this is only useful when you don't have explicit credentials (i.e. tenant, username, password etc).identity_url
option will be changed to auth_url
in the next release.@ne0ark auth_url
is identity_url
in 0.7.4.
You don't need the region
option since there's only one with CDN.
But if you are curious, you can list available regions and services like this :
curl "https://lb1047.pcs.ovh.net:5443/v2.0/tokens" -H "Content-Type: application/json" -d '
{
"auth": {
"tenantName": "[tenant]",
"passwordCredentials": {
"username": "[username]",
"password": "[password]"
}
}
}
'
Thank you :) Resolved.
Context
Steps to reproduce this issue :
Credential Information was taken from: https://api.ovh.com/console/#/cdn/webstorage/%7BserviceName%7D/credentials#GET
Results you expected :
Mount the Openstack Storage
Results you observed :
Error
Debug log :
2016/08/31 10:20:00 Bad Request