<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>I am trying to test out "nova" installation per the instruction in "OpenStack Deploy and Install Manual". ( <a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/configure-creds.html">http://docs.openstack.org/trunk/openstack-compute/install/apt/content/configure-creds.html</a> ). However, when I issue "nova image-list", I get the prompt - "password for your new keyring". Can someone please help me understand what this keyring password is all about? Did I make a mistake somewhere along the way in my setup?</div><div><br></div><div><div>root@bodega:/etc/nova# env | grep OS_</div><div>OS_REGION_NAME=RegionOne</div><div>OS_PASSWORD=admin</div><div>OS_AUTH_URL=http://10.176.20.158:5000/v2.0/</div><div>OS_USERNAME=admin</div><div>OS_TENANT_NAME=openstackDemo</div><div><div>root@bodega:/etc/nova# </div><div>root@bodega:/etc/nova# glance index</div><div>ID Name Disk Format Container Format Size </div><div>------------------------------------ ------------------------------ -------------------- -------------------- --------------</div><div>48cc3352-dff3-4625-87b1-143ba1953c57 tty-linux ami ami 25165824</div><div>c0f6a4df-5051-49d3-855e-8627c6c15ba6 tty-linux-ramdisk ari ari 96629</div><div>14652b05-0c27-45d1-b614-a059c9f4f7dc tty-linux-kernel aki aki 4404752</div><div>root@bodega:/etc/nova# </div></div><div>root@bodega:/etc/nova# nova image-list</div><div>Please set a password for your new keyring</div><div>Password (again): </div><div>Error: blank passwords aren't allowed.</div><div>Please set a password for your new keyringTraceback (most recent call last):</div><div> File "/usr/bin/nova", line 9, in <module></div></div><div>…….</div><div><br></div><div><br></div><div><br></div><div><br></div><div>I googled the web, it seems setting environment "OS_NO_CACHE=1" should avoid this issue. However, now I am getting an authentication error, even though the username/password = admin/admin is correct.</div><div><br></div><div><br></div><div>root@bodega:/etc/nova# export OS_NO_CACHE=1</div><div><div>root@bodega:/etc/nova# nova image-list</div><div>ERROR: n/a (HTTP 401)</div></div><div><br></div><div><br></div><div>/var/log/nova-api.log:</div><div><br></div><div><div>2012-11-13 12:36:54 WARNING keystone.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Not Authorized'}}</div><div>2012-11-13 12:36:54 WARNING keystone.middleware.auth_token [-] Authorization failed for token 94a69471564f492bb590b549a63870c9</div><div>2012-11-13 12:36:54 INFO keystone.middleware.auth_token [-] Invalid user token - rejecting request</div><div>2012-11-13 12:36:54 INFO nova.osapi_compute.wsgi.server [-] 10.176.20.158 - - [13/Nov/2012 12:36:54] "GET /v2/ce1e819636744dc680fa5515f6475e87/images/detail HTTP/1.1" 401 461 0.011898</div><div><br></div><div>2012-11-13 12:36:54 WARNING keystone.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Not Authorized'}}</div><div>2012-11-13 12:36:54 WARNING keystone.middleware.auth_token [-] Authorization failed for token 8afc24d31b454a6a8a2a0e2331231071</div><div>2012-11-13 12:36:54 INFO keystone.middleware.auth_token [-] Invalid user token - rejecting request</div><div>2012-11-13 12:36:54 INFO nova.osapi_compute.wsgi.server [-] 10.176.20.158 - - [13/Nov/2012 12:36:54] "GET /v2/ce1e819636744dc680fa5515f6475e87/images/detail HTTP/1.1" 401 461 0.012803</div></div><div><br></div><div>I ran "nova —debug image-list"" and pasted the output on paste bin - <a href="http://pastebin.com/JyCvBVmY">http://pastebin.com/JyCvBVmY</a>. I am going through the logs but not able to understand the cause of the authentication failure. Any help would be highly appreciated.</div><div><br></div><div>Thank you,</div><div>Ahmed.</div><div><br></div><div><br></div></body></html>