It seems that after the token has expired, a new token is never fetched and stored in the keyring. Removing the keyring and trying again succeeds.
root@compute:~# rm crypted_pass.cfg root@compute:~# nova credentials Please set a password for your new keyring Password (again): Please input your password for the keyring +------------------+----------------------------------+ | User Credentials | Value | +------------------+----------------------------------+ | id | a3d198538d4b4fbc87c1469ac6ebffe9 | | name | myadmin | | roles | [{u'name': u'admin'}] | | roles_links | [] | | username | myadmin | +------------------+----------------------------------+ +---------+------------------------------------------------------------------------------------------------------------+ | Token | Value | +---------+------------------------------------------------------------------------------------------------------------+ | expires | 2012-08-22T15:03:49Z | | id | 7716e1a942664a159966fd9d93e3617a | | tenant | {u'enabled': True, u'id': u'9bec454755c64d42a6d55157064dd26c', u'name': u'MyTenant', u'description': None} | +---------+------------------------------------------------------------------------------------------------------------+
It seems that after the token has expired, a new token is never fetched and stored in the keyring. Removing the keyring and trying again succeeds.
root@compute:~# rm crypted_pass.cfg ------- -----+- ------- ------- ------- ------- -----+ ------- -----+- ------- ------- ------- ------- -----+ c87c1469ac6ebff e9 | ------- -----+- ------- ------- ------- ------- -----+ ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + 22T15:03: 49Z | 59966fd9d93e361 7a | d42a6d55157064d d26c', u'name': u'MyTenant', u'description': None} | ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- +
root@compute:~# nova credentials
Please set a password for your new keyring
Password (again):
Please input your password for the keyring
+------
| User Credentials | Value |
+------
| id | a3d198538d4b4fb
| name | myadmin |
| roles | [{u'name': u'admin'}] |
| roles_links | [] |
| username | myadmin |
+------
+------
| Token | Value |
+------
| expires | 2012-08-
| id | 7716e1a942664a1
| tenant | {u'enabled': True, u'id': u'9bec454755c64
+------