Skip to content

Conversation

sathlan
Copy link
Contributor

@sathlan sathlan commented Sep 24, 2025

For testing we use a cirros image that is used to create a vm on the
cloud.

We used to force ipv4 on curl, but it fails in ipv6 unidelta job.

Remove the constraint to suit ipv4 and ipv6 jobs.

Closes: uni04delta-ipv6-update failing to download cirros-cloud.net image

For testing we use a cirros image that is used to create a vm on the
cloud.

We used to force ipv4 on curl, but it fails in ipv6 unidelta job.

Remove the constraint to suit ipv4 and ipv6 jobs.

Closes: [uni04delta-ipv6-update failing to download cirros-cloud.net image
](https://issues.redhat.com/browse/OSPRH-17249)
@sathlan sathlan requested a review from a team as a code owner September 24, 2025 14:15
@arxcruz
Copy link
Contributor

arxcruz commented Sep 24, 2025

/approve
/lgtm
/ready-for-review

Copy link
Contributor

openshift-ci bot commented Sep 24, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: arxcruz

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik
Copy link
Contributor

@sathlan just FTR, in crc-cloud/nested crc jobs, we set that it should prefer ipv4 over ipv6
https://review.rdoproject.org/cgit/config/tree/playbooks/crc/prepare-crc.yaml#n6

if [ $? -ne 0 ]; then
echo "Downloading image ${IMAGE_URL}"
curl -4fsSLk --retry 5 -o ${IMAGE_FILE} ${IMAGE_URL}
curl -fsSLk --retry 5 -o ${IMAGE_FILE} ${IMAGE_URL}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: normally suggest if using ping6 -w1 -c1 to opendev or somewhere else
dig AAAA opendev.org +short

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you have in mind? Is there something that could be improved or changed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danpawlik suggests to ping opendev and get output in advance to understand what TCP protocol is used. TCPv4 or TCPv6. otherwise the issue is hidden by "-s" flag of curl. In this case "-S" flag doesn't help too much

@ciecierski
Copy link
Contributor

Thank you for follow-up and resolving the problem in a way I originally also had in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants