<div>After successfully spinning up instances on Essex under Ubuntu 12.04 B1 using nova tool I'm now looking at the EC2 API / euca2ools but I'm hitting an error</div><div><br></div><div>$ euca-describe-instances </div>
<div>Unauthorized: Failure communicating with keystone</div><div><br></div><div>/etc/nova/nova.conf:</div><div><div>--ec2_url=<a href="http://172.15.0.2:8773/services/Cloud">http://172.15.0.2:8773/services/Cloud</a></div>
</div><div><br></div><div><div>==> /var/log/nova/nova-api.log <==</div><div>2012-03-16 15:57:08 ERROR nova.api.ec2 [-] Unauthorized: Failure communicating with keystone</div><div>2012-03-16 15:57:08 INFO nova.api.ec2 [-] 0.123742s 172.15.0.254 POST /services/Cloud/ None:None 400 [Boto/2.0 (linux2)] application/x-www-form-urlencoded text/xml</div>
</div><div><br></div><div>environment:</div><div><div>NOVA_API_HOST=172.15.0.2</div><div>GLANCE_API_HOST=172.15.0.2</div><div>KEYSTONE_API_HOST=172.15.0.2</div><div><br></div><div>NOVA_REGION="nova"</div><div><br>
</div><div>export NOVA_USERNAME=demo</div><div>export NOVA_PROJECT_ID=demo</div><div>export NOVA_PASSWORD=openstack</div><div>export NOVA_API_KEY=openstack</div><div>export NOVA_REGION_NAME=$NOVA_REGION</div><div>export NOVA_URL="http://$NOVA_API_HOST:5000/v2.0/"</div>
<div>export NOVA_VERSION="1.1"</div><div><br></div><div>export OS_AUTH_USER=demo</div><div>export OS_AUTH_KEY=openstack</div><div>export OS_AUTH_TENANT=demo</div><div>export OS_AUTH_URL="http://$KEYSTONE_API_HOST:5000/v2.0/"</div>
<div>export OS_AUTH_STRATEGY="keystone"</div><div><br></div><div>export EC2_URL="http://$NOVA_API_HOST:8773/services/Cloud"</div><div>export EC2_ACCESS_KEY="026744a35b8e44788f59c2f3224a80a5"</div>
<div>export EC2_SECRET_KEY="e4616ab54551488f9a786b88fa31214c"</div><div>export S3_URL="http://$GLANCE_API_HOST:3333"</div></div><div><br></div><div><div>keystone --token 999888777666 --endpoint <a href="http://172.15.0.2:35357/v2.0">http://172.15.0.2:35357/v2.0</a> endpoint-list</div>
<div>+----------------------------------+--------+----------------------------------------------+----------------------------------------------+----------------------------------------------+</div><div>|                id                | region |                  publicurl                   |                 internalurl                  |                  publicurl                   |</div>
<div>+----------------------------------+--------+----------------------------------------------+----------------------------------------------+----------------------------------------------+</div><div>| 54df67d675f64995848a58f547fe2e0a | nova   | <a href="https://172.15.0.2:443/v1/AUTH_$(tenant_id)s">https://172.15.0.2:443/v1/AUTH_$(tenant_id)s</a> | <a href="https://172.15.0.2:443/v1/AUTH_$(tenant_id)s">https://172.15.0.2:443/v1/AUTH_$(tenant_id)s</a> | <a href="https://172.15.0.2:443/v1/AUTH_$(tenant_id)s">https://172.15.0.2:443/v1/AUTH_$(tenant_id)s</a> |</div>
<div>| 8742d47bb7e1438d8efb56cbac29dd1d | nova   | <a href="http://172.15.0.2:8776/v1/$(tenant_id)s">http://172.15.0.2:8776/v1/$(tenant_id)s</a>      | <a href="http://172.15.0.2:8776/v1/$(tenant_id)s">http://172.15.0.2:8776/v1/$(tenant_id)s</a>      | <a href="http://172.15.0.2:8776/v1/$(tenant_id)s">http://172.15.0.2:8776/v1/$(tenant_id)s</a>      |</div>
<div>| 9b5cc98f8654403dbd0a8ae7b71ca3d9 | nova   | <a href="http://172.15.0.2:9292/v1">http://172.15.0.2:9292/v1</a>                    | <a href="http://172.15.0.2:9292/v1">http://172.15.0.2:9292/v1</a>                    | <a href="http://172.15.0.2:9292/v1">http://172.15.0.2:9292/v1</a>                    |</div>
<div>| e091a85dde53436cbfdaf90d69376e21 | nova   | <a href="http://172.15.0.2:8774/v2/$(tenant_id)s">http://172.15.0.2:8774/v2/$(tenant_id)s</a>      | <a href="http://172.15.0.2:8774/v2/$(tenant_id)s">http://172.15.0.2:8774/v2/$(tenant_id)s</a>      | <a href="http://172.15.0.2:8774/v2/$(tenant_id)s">http://172.15.0.2:8774/v2/$(tenant_id)s</a>      |</div>
<div>| effe286bcc2a42b7a7f6da0ebccb24ca | nova   | <a href="http://172.15.0.2:8773/services/Cloud">http://172.15.0.2:8773/services/Cloud</a>        | <a href="http://172.15.0.2:8774/v2/$(tenant_id)s">http://172.15.0.2:8774/v2/$(tenant_id)s</a>      | <a href="http://172.15.0.2:8773/services/Cloud">http://172.15.0.2:8773/services/Cloud</a>        |</div>
<div>| fe4faf319c6e43419efa086e4fd3f1db | nova   | <a href="http://172.15.0.2:5000/v2.0">http://172.15.0.2:5000/v2.0</a>                  | <a href="http://172.15.0.2:5000/v2.0">http://172.15.0.2:5000/v2.0</a>                  | <a href="http://172.15.0.2:5000/v2.0">http://172.15.0.2:5000/v2.0</a>                  |</div>
<div>+----------------------------------+--------+----------------------------------------------+----------------------------------------------+----------------------------------------------+</div></div><div><br></div><div>
Any pointers as to what I've done wrong is appreciated.</div><div>Weird entry in the "internalurl" list for my EC2 endpoint - its listing the endpoint for Nova instead (I'll raise a bug on that - looks like a copy and paste in code typo) but only thing that looks odd to me.</div>
<div><br></div><div>Cheers,</div><div>Kev</div>-- <br>Kevin Jackson<br>@itarchitectkev<br>