issue with glance python client in Icehouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Glance Client |
Low
|
Unassigned | ||
| Ubuntu |
Undecided
|
Unassigned |
Bug Description
I installed glance client (0.15.0) on Ubuntu 14.04.1 LTS via pip install python-
root@anyhost:
"1" is not a supported API version. Example values are "1" or "2".
Environment (OS_USERNAME, OS_PASSWORD, ...) seems to be fine cause i'm able to list all from keystone with those credantials.
description: | updated |
Louis Taylor (kragniz) wrote : | #1 |
Olaf (olase) wrote : | #2 |
root@anyhost:
No module named netifaces
root@anyhost:
"1" is not a supported API version. Example values are "1" or "2".
Well when i uninstall the client with "pip uninstall python-
root@anyhost:
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 781aceb8-
+------
root@anyhost:
0.14.0
Olaf (olase) wrote : | #3 |
After installing netifaces (pip install netifaces) it seems to work with version 0.15.0 too.
But why netifaces was no installed? I dont know!
no longer affects: | openstack-community |
yalei wang (yalei-wang) wrote : | #4 |
I think u should use it like this:
glance --os-image-
Louis Taylor (kragniz) wrote : | #5 |
I think this was something to do with your install of oslo.utils, since netifaces should be pulled in as a dependancy via that package, so I'm going to mark this as invalid for now.
Changed in glance: | |
status: | New → Invalid |
Björn Pettersson (bjoernfan) wrote : | #6 |
I just had the same issue on a completly fresh install of Ubuntu 14.04, so I ran this:
pip install --upgrade --force-reinstall python-glanceclient
... and got this at the end:
...
creating build/temp.
x86_
src/
#include <openssl/aes.h>
compilation terminated.
error: command 'x86_64-
---
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;
Storing debug log for failure in /home/epettbj/
So I installed libssl-dev:
apt-get install libssl-dev
And ran the above reinstall command again and it worked.
Nikhil Komawar (nikhil-komawar) wrote : | #7 |
affects: | glance → python-glanceclient |
Changed in python-glanceclient: | |
status: | Invalid → Fix Committed |
importance: | Undecided → Low |
milestone: | none → 0.19.0 |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
I'm not seeing that over in my environment with a clean install of glanceclient from pip. What happens if you do:
$ glance --os-image- api-version 2 image-list
or:
$ glance --os-image- api-version 1 image-list
The error you're seeing should appear when glanceclient has failed to import the relevant versioned module.