[Openstack-operators] Problems to create EC2 credentials in Havana

Anne Gentle anne at openstack.org
Sat Sep 13 01:42:59 UTC 2014


The easiest way to get all the creds you need is to download them from the
dashboard as described in
http://docs.openstack.org/openstack-ops/content/lay_of_the_land.html#get_creds

You get cacert.pem, cert.pem, ec2rc.sh, and pk.pem in a bundle that way.


On Fri, Sep 12, 2014 at 2:04 AM, Miguel A Diaz Corchero <
miguelangel.diaz at externos.ciemat.es> wrote:

>  Hi all
>
> I'm facing difficulties to create the EC2 admin credentials. I've done the
> following tries:
>
> 1) Exporting OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT
> *keystone user-list ---> OK*
> *keystone ec2-credentials-create
> --tenant-id=6b30ac57ffa64b19a82ab7d0ca046aad
> --user-id=01ea712f08834cffaca81ec741797f13*
> *WARNING: Bypassing authentication using a token & endpoint
> (authentication credentials are being ignored).*
> *Invalid OpenStack Identity credentials.*
>
> So, I decided to unset OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT and try 2).
>
> 2) Exporting OS_AUTH_URL, OS_PASSWORD
>
> *keystone user-list and keystone ec2-credentials-create report the same
> error Unable to establish connection to https:// ....*.
>
>
There's a difference between
"Invalid OpenStack Identity credentials" and "Unable to establish
connection to..." -- I see you triple-checked the configuration, is the
keystone service running?


> I've already configured *admin_user* and *admin_password* inside
> keystone.conf but it doesn't take effect.
>

You do have to restart the service to get the configuration to change.

Could be a few things... but definitely look into the dashboard approach
for getting those EC2 creds.

Anne

>
> Any idea?
>
> Regards
> Miguel.
>
>
> --
> *Miguel Angel Díaz Corchero*
> *System Administrator / Researcher*
> *c/ Sola nº 1; 10200 TRUJILLO, SPAIN*
> *Tel: +34 927 65 93 17 Fax: +34 927 32 32 37 <%2B34%20927%2032%2032%2037>*
>
> [image: CETA-Ciemat logo] <http://www.ceta-ciemat.es/>
>
> *
> ----------------------------
> Confidencialidad:
> Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener información privilegiada o
> confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está
> prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique
> inmediatamente respondiendo al mensaje y proceda a su destrucción.
>
> Disclaimer:
> This message and its attached files is intended exclusively for its recipients and may contain confidential information. If you received
> this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and
> may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately.
> ----------------------------
> *
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140912/da030c20/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 26213 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140912/da030c20/attachment-0001.png>


More information about the OpenStack-operators mailing list