Can't create Containers, missing self._api._post method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-barbicanclient |
Fix Released
|
Medium
|
Adam Harwell |
Bug Description
When trying to create any Container with the client:
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
return barbican_
File "/usr/local/
result = self.run_
File "/usr/local/
result = cmd.run(
File "/usr/local/
column_names, data = self.take_
File "/opt/stack/
entity.store()
File "/opt/stack/
return func(self, *args)
File "/opt/stack/
response = self._api.
AttributeError: 'Client' object has no attribute '_post'
It looks like the base classes were updated to move the httpclient commands into their own namespace, but the Container creation code was never updated to match this.
Changed in python-barbicanclient: | |
milestone: | none → 3.0.3 |
assignee: | nobody → Adam Harwell (adam-harwell) |
importance: | Undecided → Medium |
Changed in python-barbicanclient: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/162318 /git.openstack. org/cgit/ openstack/ python- barbicanclient/ commit/ ?id=49273f7a89c 5d97668bcce1df1 b0dc8c17bfae1d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 49273f7a89c5d97 668bcce1df1b0dc 8c17bfae1d
Author: Adam Harwell <email address hidden>
Date: Fri Mar 6 16:06:56 2015 -0600
Pass correct api object to Container constructor
Change-Id: Ifaf8d6217f1250 2813ca547edaa0c 4ff489d71e1
Closes-bug: #1429286