python-novaclient-2012.1-0.2.e4.fc18.noarch Novaclient tries to create director at $HOME/.novaclient. For horizon this is /var/www apparently, and causes an error. This directory is created for shell bash completion apparently. User can work around it by manually creating that directory, but obviously we shouldn't have to do that.
Created attachment 568451 [details] check isatty() before writing to $HOME
I wonder could the horizon init scripts do something like export NOVACLIENT_UUID_CACHE_DIR=/var/run/horizon/novaclient/ Though I agree that this is an optional feature that shouldn't cause a failure. I wonder could the patch in comment #1 suffice?
Assume the code comment about bash completion is correct, I'd think the right thing to do would move that init bit to the shell tool only, and API users shouldn't need to care about it. I haven't dug into the code much though.
Upstream change to just ignore the issue https://review.openstack.org/#change,5608
So are we taking this upstream hack?
Yes it's not perfect but should avoid the issue. Given the impact this has on horizon, I'll do a new rc1 update presently
python-novaclient-2012.1-0.4.rc1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-novaclient-2012.1-0.4.rc1.fc17
Package python-novaclient-2012.1-0.4.rc1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-novaclient-2012.1-0.4.rc1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4444/python-novaclient-2012.1-0.4.rc1.fc17 then log in and leave karma (feedback).
python-novaclient-2012.1-0.4.rc1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.