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
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
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.
* 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:
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.