nova client keeps asking for a keyring password
Bug #1020238 reported by
David Kranz
This bug affects 18 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Undecided
|
Unassigned | ||
python-novaclient (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I installed a recent devstack and now some keyring code asks for a password every time 'nova' is invoked. It seems that uninstalling python-keyring makes it stop, but we can't rely on that package not being installed. If this is not a bug, and there is some intended way to make this work, it should be documented.
affects: | nova → python-novaclient |
Changed in python-novaclient: | |
status: | New → Confirmed |
Changed in python-novaclient: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
assignee: | Eoghan Glynn (eglynn) → nobody |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have the same problem on Ubuntu 12.04 server.
Passing '--no_cache' option to 'nova' avoids the problem (as a workaround):
% nova --no_cache image-list
Following traceback is produced with Ctrl-C:
ubuntu@ t2:~/devstack$ nova image-list bin/nova" , line 9, in <module> entry_point( 'python- novaclient= =2.6.10. 12', 'console_scripts', 'nova')() python- novaclient/ novaclient/ shell.py" , line 460, in main mputeShell( ).main( sys.argv[ 1:]) python- novaclient/ novaclient/ shell.py" , line 390, in main cs.authenticate () python- novaclient/ novaclient/ v1_1/client. py", line 126, in authenticate client. authenticate( ) python- novaclient/ novaclient/ client. py", line 329, in authenticate python2. 7/dist- packages/ keyring/ core.py" , line 39, in set_password backend. set_password( service_ name, username, password) python2. 7/dist- packages/ keyring/ backend. py", line 316, in set_password encrypted = self.encrypt( password. encode( 'utf-8' )) python2. 7/dist- packages/ keyring/ backend. py", line 456, in encrypt crypter( ) python2. 7/dist- packages/ keyring/ backend. py", line 440, in _init_crypter "Please input your password for the keyring") python2. 7/dist- packages/ keyring/ backend. py", line 371, in _getpass getpass( *args, **kwargs) python2. 7/getpass. py", line 71, in unix_getpass python2. 7/getpass. py", line 133, in _raw_input
Please input your password for the keyring
Wrong password for the keyring.
Please input your password for the keyringTraceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
OpenStackCo
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
keyring_key, keyring_value)
File "/usr/lib/
_keyring_
File "/usr/lib/
password_
File "/usr/lib/
crypter = self._init_
File "/usr/lib/
password = self._getpass(
File "/usr/lib/
return getpass.
File "/usr/lib/
passwd = _raw_input(prompt, stream, input=input)
File "/usr/lib/
line = input.readline()
KeyboardInterrupt