Hi Shane,

When replying to emails on this list, please do not put your reply
above the quoted text, and do not quote the entire message you're
answering to. This makes it unnecessarily hard for other readers to
understand the context of your email. Instead, please cut quoted parts
that are not relevant to your reply, and insert your responses right
after the points you're replying to (as I have done below). Thanks!

On Apr 01 2015, Shane Wilson <[email protected]> wrote:
> On Tuesday, March 31, 2015 at 10:50:36 PM UTC-4, Nikolaus Rath wrote:
>> On Mar 31 2015, Shane Wilson <[email protected] <javascript:>> wrote: 
>> > First, I'm very new to Swift, so I'm sure I'm doing something
>> > wrong. I'm trying to mount swift to Ubuntu 14.04 linux using s3ql,
>> > but I getting an error during the mkfs.s3ql.
>> > 
>> > Here is the command line: 
>> > root@owncloud:~/.s3ql# mkfs.s3ql --plain --backend-options no-ssl 
>> > swiftks://192.102.218.230:5000/regionOne:s3ql 
>> > Enter backend login: 
>> > Enter backend passphrase: 
>> > No accessible object storage service found in region regionOne (available 
>> > regions: ) 
>> > root@owncloud:~/.s3ql# 
>> > 
>> > Here is my authinfo2 
>> > [swift] 
>> > backend-login: tenant:demo 
>> > backend-password: 19monza67 
>> > storage-url: swiftks://192.102.218.230:5000/regionOne:s3ql 
>> > 
>> > The s3ql container is there when I do a swift list.  Its as if it
>> > doesn't know about the region.  There should only be one region, my
>> > swift install is from the Juno install docs and only creates
>> > regionOne.  I hope you can point me in the right direction, I'm
>> > sure it something simple I'm missing.  I've read everything and I'm
>> > at a lose for direction.
>>
>> Apply the attached patch and post the contents of the "response.txt" 
>> file that it should create. 
>
> Below is the output:
>
> {"access": {"token": {"issued_at": "2015-04-01T12:19:26.050170", "expires": 
> "2015-04-01T13:19:26Z", "id": "6162b784d4b744409a6968c2cf481593", 
> "audit_ids": ["qfBsgP3OTUK1a01wWZNZ1A"]}, "serviceCatalog": [], "user": 
> {"username": "demo", "roles_links": [], "id": 
> "cde5ff9194b34f30824dcc3b618b18a6", "roles": [], "name": "demo"}, 
> "metadata": {"is_admin": 0, "roles": []}}}

Ops. This wasn't a good idea, the access token included above will give
others access to your bucket for one day if they can reach the
server. Hopefully this didn't allow anyone anything malicious, because
at the moment your server isn't working. But I'll make a mental note for
the future to tell people to remove that information when asking for the
output. Apologies, I messed up here.

Regarding your original problem: your swift server reports that it does
not offer any services at all (note the empty serviceCatalog entry).

It should return something like this (example from Rackspace):

{
 "access": {
  "serviceCatalog": [
   {
    "endpoints": [
     {
      "publicURL": 
"https://cdn1.clouddrive.com/v1/MossoCloudFS_e0f1f364-b0c0-4062-a
      "region": "DFW",
      "tenantId": "MossoCloudFS_e0f1f364-b0c0-4062-ad38-ca87466ee99f"
     },
     {
      "publicURL": 
"https://cdn4.clouddrive.com/v1/MossoCloudFS_e0f1f364-b0c0-4062-a
      "region": "SYD",
      "tenantId": "MossoCloudFS_e0f1f364-b0c0-4062-ad38-ca87466ee99f"
     },
     {
      "publicURL": 
"https://cdn6.clouddrive.com/v1/MossoCloudFS_e0f1f364-b0c0-4062-a
      "region": "HKG",
      "tenantId": "MossoCloudFS_e0f1f364-b0c0-4062-ad38-ca87466ee99f"
     },
     {
      "publicURL": 
"https://cdn5.clouddrive.com/v1/MossoCloudFS_e0f1f364-b0c0-4062-a
      "region": "IAD",
      "tenantId": "MossoCloudFS_e0f1f364-b0c0-4062-ad38-ca87466ee99f"
     },
     {
      "publicURL": 
"https://cdn2.clouddrive.com/v1/MossoCloudFS_e0f1f364-b0c0-4062-a
      "region": "ORD",
      "tenantId": "MossoCloudFS_e0f1f364-b0c0-4062-ad38-ca87466ee99f"
     }
    ],
    "name": "cloudFilesCDN",
    "type": "rax:object-cdn"
   },
   [...]
     ],
  "token": {
   "RAX-AUTH:authenticatedBy": [
    "PASSWORD"
   ],
   "expires": "2015-04-02T21:05:07.979Z",
   "id": "rotfl",
   "tenant": {
    "id": "64067",
    "name": "64067"
   }
  },
[...]



Best,
-Nikolaus

PS: Please remember the first paragraph when replying :-).

-- 
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