Fix IOError with gnomekeyring.find_network_password_sync
find_network_password_sync throws a gnomekeyring.IOError
when a non-root user tries to run nova client
from a ssh console. If we don't catch this exception nova client
throws the traceback (shown in the bug report) and stops.
If we catch this exception (just like we catch ValueError),
and return None, Nova client executes just fine.
Reviewed: https:/ /review. openstack. org/21690 github. com/openstack/ python- novaclient/ commit/ d1d4f33aca4f975 3dd31972ea53ddc 831b52fbfc
Committed: http://
Submitter: Jenkins
Branch: master
commit d1d4f33aca4f975 3dd31972ea53ddc 831b52fbfc
Author: Davanum Srinivas <email address hidden>
Date: Mon Feb 11 15:55:33 2013 -0500
Fix IOError with gnomekeyring. find_network_ password_ sync
find_ network_ password_ sync throws a gnomekeyring. IOError
when a non-root user tries to run nova client
from a ssh console. If we don't catch this exception nova client
throws the traceback (shown in the bug report) and stops.
If we catch this exception (just like we catch ValueError),
and return None, Nova client executes just fine.
Fixes LP# 1116302
Change-Id: If6937b3f8eafb1 dc55224b2ca2bd0 f93ae07f8c6