Skip to content

Bug 1794765: ipv6: Fix IPv6 address encoding#2977

Merged
openshift-merge-robot merged 1 commit intoopenshift:release-4.3from
russellb:v6-fixes-4.3
Feb 5, 2020
Merged

Bug 1794765: ipv6: Fix IPv6 address encoding#2977
openshift-merge-robot merged 1 commit intoopenshift:release-4.3from
russellb:v6-fixes-4.3

Conversation

@russellb
Copy link
Copy Markdown
Contributor

You can't just manually join an IP and port because that will break
with an IPv6 address. net.JoinHostPort() will do the right thing and
add square brackets around an IPv6 address.

Anywhere we may be using an IPv6 address in a URL needs similar
handling. We need to ensure the IPv6 address always has square
brackets in this case. An easy way to do this is to always specify
the port number explicitly so we can use net.JoinHostPort().

Reported-by: Steven Hardy shardy@redhat.com

You can't just manually join an IP and port because that will break
with an IPv6 address.  net.JoinHostPort() will do the right thing and
add square brackets around an IPv6 address.

Anywhere we may be using an IPv6 address in a URL needs similar
handling.  We need to ensure the IPv6 address always has square
brackets in this case.  An easy way to do this is to always specify
the port number explicitly so we can use net.JoinHostPort().

Reported-by: Steven Hardy <shardy@redhat.com>
@openshift-ci-robot openshift-ci-robot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jan 24, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@russellb: This pull request references Bugzilla bug 1794765, which is invalid:

  • expected the bug to target the "4.3.z" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1794765: ipv6: Fix IPv6 address encoding

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 24, 2020
@russellb
Copy link
Copy Markdown
Contributor Author

/bugzilla refresh

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jan 24, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@russellb: This pull request references Bugzilla bug 1794765, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jan 24, 2020
@russellb
Copy link
Copy Markdown
Contributor Author

/cc @stbenjam

@sdodson
Copy link
Copy Markdown
Member

sdodson commented Jan 24, 2020

/approve

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sdodson

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

The pull request process is described here

Details 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 24, 2020
@fabianofranz
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2020
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@eparis eparis added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Feb 4, 2020
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 43d2745 into openshift:release-4.3 Feb 5, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@russellb: All pull requests linked via external trackers have merged. Bugzilla bug 1794765 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1794765: ipv6: Fix IPv6 address encoding

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants