Unable to retrieve project objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
New
|
Undecided
|
Unassigned |
Bug Description
I've been attempting to retrieve a list of projects through the Python SDK. This was done by calling "for p in <connection obj>.identity.
Here is the stack trace that was dumped after execution:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/
headers=
File "/usr/local/
return self.request(url, 'GET', **kwargs)
File "/usr/local/
http_
openstack.
The same thing occurs for other functions that returns a generator object within identity, such as identity.
However, the following cli commands do provide a list of the desired information:
openstack service list
openstack project list
openstack endpoint list
Currently, the following are some of Python modules installed on the machine:
python-
python-
openstacksdk (0.9.0)
Any help on this would be greatly appreciated.
conn.identity is probably v3 but you're auth'ing to a v2 keystone (which doesn't have a /projects resource). Is that correct?