IPv6 undercloud: zaqar doesn't support IPv6 subscription url

Bug #1754678 reported by Derek Higgins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Derek Higgins
zaqar
Fix Released
Undecided
Derek Higgins

Bug Description

When using a IPv6 provisioning network, Registering nodes in ironic stalls, with the following traceback in the zaqar logs

2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook [-] post request got exception in retry: Failed to parse: fd00:1101::2:45297.: InvalidURL: Failed to parse: fd00:1101::2:45297
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook Traceback (most recent call last):
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/zaqar/notification/tasks/webhook.py", line 64, in _post_request_success
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook response = requests.post(subscriber, data=data, headers=headers)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/api.py", line 112, in post
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook return request('post', url, data=data, json=json, **kwargs)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/api.py", line 58, in request
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook return session.request(method=method, url=url, **kwargs)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 504, in request
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook prep = self.prepare_request(req)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 436, in prepare_request
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook hooks=merge_hooks(request.hooks, self.hooks),
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/models.py", line 302, in prepare
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook self.prepare_url(url, params)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook File "/usr/lib/python2.7/site-packages/requests/models.py", line 376, in prepare_url
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook raise InvalidURL(*e.args)
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook InvalidURL: Failed to parse: fd00:1101::2:45297
2018-03-09 14:20:29.234 20480 ERROR zaqar.notification.tasks.webhook

Derek Higgins (derekh)
Changed in zaqar:
assignee: nobody → Derek Higgins (derekh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

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

Changed in zaqar:
status: New → In Progress
Changed in tripleo:
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/551307
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=1b385a6d9318dcc04ef88370b2485b6b06a20f72
Submitter: Zuul
Branch: master

commit 1b385a6d9318dcc04ef88370b2485b6b06a20f72
Author: Derek Higgins <email address hidden>
Date: Fri Mar 9 14:53:21 2018 +0000

    Wrap subscriber IP in square brackets when IPv6

    Change-Id: Ib7c84bbe1ae4faf3d8a260733dc801a46f28ebe1
    Closes-Bug: #1754678

Changed in zaqar:
status: In Progress → Fix Released
Changed in tripleo:
milestone: rocky-1 → rocky-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 7.0.0.0b1

This issue was fixed in the openstack/zaqar 7.0.0.0b1 development milestone.

Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Revision history for this message
Derek Higgins (derekh) wrote :

has been fixed in zaqar

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/643185

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (stable/queens)

Reviewed: https://review.openstack.org/643185
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=479468449bd9a8366de5600b053d4d3a36efb31e
Submitter: Zuul
Branch: stable/queens

commit 479468449bd9a8366de5600b053d4d3a36efb31e
Author: Derek Higgins <email address hidden>
Date: Fri Mar 9 14:53:21 2018 +0000

    Wrap subscriber IP in square brackets when IPv6

    Change-Id: Ib7c84bbe1ae4faf3d8a260733dc801a46f28ebe1
    Closes-Bug: #1754678
    (cherry picked from commit 1b385a6d9318dcc04ef88370b2485b6b06a20f72)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar queens-eol

This issue was fixed in the openstack/zaqar queens-eol release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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