Hello,
Thank you for your help.
It seems that it's not the good URL.
But the URL is not "classic" and I have got this message instead "Invalid
storage URL" (because it's not well parse by python script I guess).
This is an example of URL :
<<
swiftks://storage.fr1.cloudwatt.com/v1/AUTH_abcd1234efgh5678/region:container
>>
Like you see, the "hostname" is
"storage.fr1.cloudwatt.com/v1/AUTH_abcd1234efgh5678" and it's a problem.
I have read your code, and it's seems to be this part of code (line 31 of
"swiftks.py") :
<<
hit = re.match(r'^[a-zA-Z0-9]+://' # Backend
r'([^/:]+)' # Hostname
r'(?::([0-9]+))?' # Port
r'/([a-zA-Z0-9._-]+):' # Region
r'([^/]+)' # Bucketname
r'(?:/(.*))?$', # Prefix
storage_url)
if not hit:
raise QuietError('Invalid storage URL', exitcode=2)
>>
Have you got a workaround to resolve this please ?
Thank you.
Le mardi 9 décembre 2014 04:52:16 UTC+1, Nikolaus Rath a écrit :
>
> [email protected] <javascript:> writes:
> > Hello,
> >
> > I would like to connect s3ql to Cloudwatt S3 :
> > http://support.cloudwatt.com/debuter/stock-index.html
> >
> > Does anybody know how to do that (configuration file
> > ~/.s3ql/authinfo2) ?
>
> I don't speak french well enough, but I'm pretty sure the information
> that you need is on
> http://support.cloudwatt.com/debuter/cli-1-authentification.html and
> http://dev.cloudwatt.com/fr/doc/sdk/sdk-python.html.
>
>
> You'll need to use the OpenStack backend with keystone authentication,
> that means for the example from the page above, your storage should look
> like this
>
> swiftks://identity.fr1.cloudwatt.com/fr1/your_container_name
>
> and the authinfo file:
>
> [cloudwatt]
> storage-url: swiftks://identify.fr1.cloudwatt.com/
> backend-login <http://identify.fr1.cloudwatt.com/backend-login>:
> votre-tenant-name:votre.compte@cloudwatt
> backend-password: votremotdepasse
>
>
> Hope that helps,
> -Nikolaus
>
> --
> GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
> Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
>
> »Time flies like an arrow, fruit flies like a Banana.«
>
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.