openstacksdk image tag APIs are broken

Bug #1557297 reported by Ankit Agrawal on 2016-03-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack SDK
In Progress
Ankit Agrawal

Bug Description

Image tag APIs fails for TypeError with following stack trace

1. create_tag
Traceback (most recent call last):
  File "", line 91, in <module>
    tag = conn.image.create_tag(image='2b68eb0c-b1e4-46b8-b299-7f857781407f', tag='test')
  File "/home/ubuntu/workbook/python-openstacksdk/openstack/image/v2/", line 192, in create_tag
    return self._create(_tag.Tag, **attrs)
  File "/home/ubuntu/workbook/python-openstacksdk/openstack/", line 179, in _create
    return res.create(self.session)
TypeError: create() takes exactly 3 arguments (2 given)

2. delete_tag
Traceback (most recent call last):
  File "", line 96, in <module>
    tag = conn.image.delete_tag('test')
  File "/home/ubuntu/workbook/python-openstacksdk/openstack/image/v2/", line 207, in delete_tag
    return self._delete(_tag.Tag, tag, ignore_missing=ignore_missing)
  File "/home/ubuntu/workbook/python-openstacksdk/openstack/", line 36, in check
    return method(self, expected, actual, *args, **kwargs)
  File "/home/ubuntu/workbook/python-openstacksdk/openstack/", line 125, in _delete
    rv = res.delete(self.session)
TypeError: delete() takes exactly 3 arguments (2 given)

Changed in python-openstacksdk:
assignee: nobody → Ankit Agrawal (ankitagrawal)

Fix proposed to branch: master

Changed in python-openstacksdk:
status: New → In Progress

Change abandoned by Monty Taylor (<email address hidden>) on branch: master

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers