<div dir="ltr">Hi<div><br></div><div>I have created the ec2 credential for a given user with</div><div>$  keystone ec2-credentials-create --user-id <user-id> --tenant-id <tentant-id></div><div><br></div><div>I verified the credentials have been registered in the ec2_credential table of the keystone database</div>

<div><br></div><div>but when trying to sue such credential with the 'boto' libraries (please note that we do use 'boto' libraries extensively and successfully with pretty much all of our 100 users on the same infrastructure),</div>

<div>I get the following:</div><div><br></div><div><div><div>EC2ResponseError: 400 Bad Request</div><div><?xml version="1.0"?></div><div><Response><Errors><Error><Code>Unauthorized</Code><Message>Failure communicating with keystone</Message></Error></Errors><RequestID>req-a9706686-0161-4dee-b3ee-9c50c67c7f2a</RequestID></Response>.</div>

</div><div><br></div><div>on the server side (nova-api.log), I get:</div><div><div><br></div><div>2014-03-20 09:18:44 23633 ERROR nova.api.ec2 [-] Unauthorized: Failure communicating with keystone</div><div>2014-03-20 09:18:44 23633 INFO nova.api.ec2 [-] 0.77128s 130.60.24.9 POST /services/Cloud/ None:None 400 [Boto/2.26.1 Python/2.7.3 Linux/3.2.0-59-generic] application/x-www-form-urlencoded text/xml</div>

<div>2014-03-20 09:18:44 23633 INFO nova.ec2.wsgi.server [-] 130.60.24.9 - - [20/Mar/2014 09:18:44] "POST /services/Cloud/ HTTP/1.1" 400 327 0.078316</div></div><div><br></div><div><br></div><div>I also tried with a different version of the boto libraries, but got the same result:</div>

<div><div>2014-03-20 09:22:42 23633 INFO nova.api.ec2 [-] 0.84472s 130.60.40.14 POST /services/Cloud/ None:None 400 [Boto/2.15.0 Python/2.6.6 Linux/2.6.32-5-amd64] application/x-www-form-urlencoded text/xml</div></div><div>

<br></div><div>any clue ?<br></div><div><br></div><div>S.</div>-- <br><div dir="ltr"><span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small"><a href="mailto:sergio.maffioletti@gc3.uzh.ch" target="_blank">sergio.maffioletti@gc3.uzh.ch</a></span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">GC3: Grid Computing Competence Center</span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<a href="http://www.gc3.uzh.ch/" style="color:rgb(0,0,255);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small" target="_blank">http://www.gc3.uzh.ch/</a><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">University of Zurich</span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">Winterthurerstrasse 190</span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">CH-8057 Zurich Switzerland</span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">Tel: +41 44 635 4222</span><br style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">

<span style="color:rgb(0,0,0);font-family:'Vorgabe feste Breite','Courier New',Courier,'Feste Breite';font-size:small">Fax: +41 44 635 6888</span><br></div>
</div></div>