On Nov 15 2016, Randy Rue <[email protected]> wrote:
> Hi Again All, more newbie questions!
>
> For testing I'm trying to configure for our SwiftStack cluster on the
> back end, first using the builtin pytest.

I thought you wanted to use S3QL with Amazon S3?

>
> Having trouble finding the right syntax for ~/.s3ql/.authinfo2.
>
> We're using v1 authentication.
>
> Should the storage URL in the config file be just the cluster name and
> container i.e.
> swift://cluster.domain.com/container/prefix
>
> or the swift "auth" URL i.e.
> swift://cluster.domain.com/auth/v1.0/container/prefix

The first one.

> I've tried both with no luck, I get to:
> tests/t4_fuse.py::TestFuse::test FAILED
>
> and a skip for t1_backends.py:
> SKIP [1] t1_backends.py:362: got empty parameter set ['backend']
>
> that I'm guessing means it couldn't connect to a backend with those
> auth settings?

No, it means that you haven't told the test runner that it should
connect to this container. It would be a little inconvenient if it
picked a random service from your authinfo2 file and filled it with test
data, right? 

For testing, add an entry like this:

[swift-test]
test-fs: swift://cluster.domain.com/container/prefix_for_testing
backend-login: bla
backend-password: foo

For regular usage (or non-automated testing), use something like:

[my-swift-account]
storage-url: swift://cluster.domain.com/
backend-login: bla
backend-password: foo


Best,
-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.

Reply via email to