Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Component/s: FABulous
-
Labels:None
Description
Hi there Pasquale,
I have already asked for a community account upgrade just in case this was
the problem, but I still cannot get past step3 (sending the
passwordCredentials with the tenantName)
I have also tried with the two tenant names i have (the "normal" one and
the one ending with "cloud") but I always get this message
{"error": {"message": "The request you have made requires authentication.",
"code": 401, "title": "Unauthorized"}}
What could I do?
Thanks
Miquel
Edificio M3 · Planta 1 Oficina 107 · C/ Adaja 10 · 37185 · Villamayor (
Salamanca)
On 8 May 2015 at 16:36, Pasquale Vitale <pvitale@eng.it> wrote:
> Hi Miquel,
> the steps are these (but if you have got the "401 Unauthorized" status,
> probably they are assigning new resources and you cannot access to fiware
> lab.
> Let me know if you can access in to fiware lab):
>
> 1. Initial Token (POST)
> header: content-type = aplication/json
> body: {"auth": {"passwordCredentials":
}}
> url: https://cloud.lab.fiware.org/keystone/v2.0/tokens
>
> retrieve the token id "TOKEN_ID*" *(Ex:
> A1lEWgTJjyi_Gdafoc1L2oCsGYbCMGXi_-b0Vh6QOC0gLiIWWGkSrSKJ7V86dgJsqvWExy4QvK521QviTiQNyw)
>
> 2. Tenant (GET)
> header: x-auth-token = TOKEN_ID
> url: https://cloud.lab.fiware.org/keystone/v2.0/tenants
>
> retrieve the token id "TENANT_ID" (Ex: 00000000000000000000000000000460)
>
> 3. Token for Object Storage (POST)
> header: content-type = aplication/json
> body: {"auth": {"passwordCredentials":
,"tenantName":"TENANT_ID"}}
> url: https://cloud.lab.fiware.org/keystone/v2.0/tokens
>
> *retrieve the token for Object Storage "ID" *(Ex:
> 3a5cffde6dddec7691a22e182f4e28de)
>
> 4. Call (GET) - list of object storage
> header: X-Auth-Token = 3a5cffde6dddec7691a22e182f4e28de
> header: Accept = application/cdmi-object
> header: X-CDMI-Specification-Version= 1.0.1
>
> url:
> https://cloud.lab.fiware.org/Spain/object-store/v1/AUTH_00000000000000000000000000000460/
>
> retrive the list
>
> * of object storage *Regards,
> Pasquale
>
> Il 07/05/2015 18:38, Miquel Ferrer ha scritto:
>
> I suppose i must have missed one warning email or something, but all of a
> sudden i cannot get my access token to access Object Storage.
>
> By the way, i am in spain.
>
> Here is what I do:
>
> 1.- I get the initial token
> POST http://cloud.lab.fi-ware.org:4730/v2.0/tokens
> sending
> {
> "auth": {"passwordCredentials":{"username": "[MY_USERNAME]",
> "password":"[MY_PASSWORD]"}}
> }
>
> 2.- I get the tenant id by calling
> GET http://cloud.lab.fi-ware.org:4730/v2.0/tenants
> including the header X-auth-token filled with the access->token->id from
> the previous call result
>
> this returns a list of tenants, i get my tenant id, that has a format
> like so:
> 0000000000000000000000000000XXXX
>
> 3.- I try to get the access token to be used later on the Object Storage
> GE calling
> POST http://cloud.lab.fi-ware.org:4730/v2.0/tokens
> including the header Content-Type : application/json
> sending
> {
> "auth":
> {
> "tenantName": "[MY_TENANT_ID]",
> "passwordCredentials":
>
> }
> }
>
> and the error occurs....
> {"error": {"message": "The request you have made requires
> authentication.", "code": 401, "title": "Unauthorized"}}
>
> I've tried to use the other tenant id i received on step 2 with the same
> result
>
> also, including the X-auth-token header doesn't make a change.
>
>
> What could i possibly be doing wrong?
>
> Thanks!
>
>
>
>
>
>
>
> Edificio M3 · Planta 1 Oficina 107 · C/ Adaja 10 · 37185 · Villamayor (
> Salamanca)
>
>
>
> _______________________________________________
> Fiware-fabulous-coaching mailing listFiware-fabulous-coaching@lists.fi-ware.orghttps://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
>
>
>
> _______________________________________________
> Fiware-fabulous-coaching mailing list
> Fiware-fabulous-coaching@lists.fi-ware.org
> https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
>
>
_______________________________________________
Fiware-fabulous-coaching mailing list
Fiware-fabulous-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
[Created via e-mail received from: Miquel Ferrer <miquel@carbonbyte.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions