Using pass_phrase for Barbican order resource fails

Bug #1635213 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient
Fix Released
High
Juan Antonio Osorio Robles

Bug Description

trying to get an order with a passphrase fails for the Barbican::Order object, with asymmetric type.

This is the stack trace from heat-engine:

2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource Traceback (most recent call last):
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 735, in _action_recorder
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource yield
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 837, in _do_action
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource yield self.action_handler_task(action, args=handler_args)
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 335, in wrapper
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource step = next(subtask)
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 782, in action_handler_task
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource handler_data = handler(*args)
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/barbican/order.py", line 207, in handle_create
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource order = self.client().orders.create(**info)
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/barbicanclient/orders.py", line 425, in create
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource return order_type(self._api, **kwargs)
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource TypeError: __init__() got an unexpected keyword argument 'pass_phrase'
2016-10-20 10:18:06.592 26866 ERROR heat.engine.resource

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/389121

Changed in heat:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
status: New → In Progress
Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

This is actually a barbican bug.

affects: heat → barbican
Changed in barbican:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-barbicanclient 4.2.0

This issue was fixed in the openstack/python-barbicanclient 4.2.0 release.

Revision history for this message
Kaitlin Farr (kaitlin-farr) wrote :

Fix in python-barbicanclient: https://review.openstack.org/#/c/409795/

affects: barbican → python-barbicanclient
Changed in python-barbicanclient:
status: In Progress → Fix Released
importance: Undecided → High
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.