Tempest replaces IPv6 address with IPv4 in Swift tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Christian Schwede |
Bug Description
These are the headers sent by Tempest:
2021-09-21 19:24:52,372 413895 DEBUG [tempest.
Note the X-Container-Sync-To - that URL is wrong. If one uses that URL and does an urlparse in Python it will raise an error in Swift like this:
>>> urlparse("https:/
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/
splitresult = urlsplit(url, scheme, allow_fragments)
File "/usr/lib64/
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
The 127.0.0.1 is wrong; the original IPv6 address is replaced within Tempest with the hardcoded IPv4.
https:/
https:/
Changed in tempest: | |
assignee: | nobody → Christian Schwede (cschwede) |
status: | New → In Progress |
Fix proposed to branch: master /review. opendev. org/c/openstack /tempest/ +/810681
Review: https:/