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
Field | Original Value | New Value |
---|---|---|
Component/s | FABulous [ 10359 ] |
Assignee | Pasquale Vitale [ pasquale.vitale ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | Re: [Fiware-fabulous-coaching] Cannot get access token | FIWARE.Request.Coach.FABulous.Re: Cannot get access token |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2d 45m | 1 | Pasquale Vitale | 15/May/15 12:28 PM | |||||
|
54d 4h 22m | 1 | Pasquale Vitale | 08/Jul/15 4:50 PM | |||||
|
4m 55s | 1 | Pasquale Vitale | 08/Jul/15 4:55 PM |
dear miquel,
thank you very much for your help and for sending your feedback and so
detiled issue explanations so we are able to identify the problem and solve
it
on which node you are allocated?
as you know we are experienceing some issues after the deployment fo the
new idm (this was needed to support the new fiware user policy).
in addition some node are also migrating their openstack version. so all
together the situation is a bit complex, but we are working hard to
everythin back to full operation within few days.
ciao,
stefano
ciao,
stefano
2015-05-13 11:42 GMT+02:00 Miquel Ferrer <miquel@carbonbyte.com>:
> Hi there Pasquale,
{"username":"your_email", >> "password":"your_password"}>
> 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":
}}
{"username":"your_email", >> "password":"your_password"}>> 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"}}
{"username": "[MY_USERNAME]", "password": "[MY_PASSWORD]"}>> 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
>
>
–
Stefano De Panfilis
Chief Innovation Officer
Engineering Ingegneria Informatica S.p.A.
via Riccardo Morandi 32
00148 Roma
Italy
tel (direct): +39-06-8759-4253
tel (secr.): +39-068307-4513
fax: +39-068307-4200
cell: +39-335-7542-567
skype: depa01
twitter: @depa01
_______________________________________________
Fiware-fabulous-coaching mailing list
Fiware-fabulous-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching