Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-23131,OCPBUGS-23149: fix IRONIC_EXTERNAL_URL_V6 #380

Merged
merged 1 commit into from Nov 16, 2023

Conversation

dtantsur
Copy link
Member

IRONIC_EXTERNAL_URL_V6 is currently calculated incorrectly:

  1. It uses the API VIP, but the Ironic's httpd is not proxied in the
    same way as Ironic itself and thus may not be available there.
  2. It uses an external IP even when a provisioning network is enabled
    and VirtualMediaViaExternalNetwork is false.

This change fixes both issues, while also cleaning up the provisioning
utils to ensure all functions are dualstack-aware. The split between
the BMO and Metal3 pods is an implicit requirement of this change.

This change does NOT fix the fact that ICC is not configured correctly
for deploying IPv6-only nodes from a dualstack cluster.

IRONIC_EXTERNAL_URL_V6 is currently calculated incorrectly:

1) It uses the API VIP, but the Ironic's httpd is not proxied in the
   same way as Ironic itself and thus may not be available there.
2) It uses an external IP even when a provisioning network is enabled
   and VirtualMediaViaExternalNetwork is false.

This change fixes both issues, while also cleaning up the provisioning
utils to ensure all functions are dualstack-aware. The split between
the BMO and Metal3 pods is an implicit requirement of this change.

This change does NOT fix the fact that ICC is not configured correctly
for deploying IPv6-only nodes from a dualstack cluster.
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Nov 10, 2023
@openshift-ci-robot
Copy link
Contributor

@dtantsur: This pull request references Jira Issue OCPBUGS-23131, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (jhajyahy@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

IRONIC_EXTERNAL_URL_V6 is currently calculated incorrectly:

  1. It uses the API VIP, but the Ironic's httpd is not proxied in the
    same way as Ironic itself and thus may not be available there.
  2. It uses an external IP even when a provisioning network is enabled
    and VirtualMediaViaExternalNetwork is false.

This change fixes both issues, while also cleaning up the provisioning
utils to ensure all functions are dualstack-aware. The split between
the BMO and Metal3 pods is an implicit requirement of this change.

This change does NOT fix the fact that ICC is not configured correctly
for deploying IPv6-only nodes from a dualstack cluster.

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.

Copy link
Contributor

openshift-ci bot commented Nov 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2023
@dtantsur dtantsur changed the title OCPBUGS-23149, OCPBUGS-23131: fix IRONIC_EXTERNAL_URL_V6 OCPBUGS-23131,OCPBUGS-23149: fix IRONIC_EXTERNAL_URL_V6 Nov 10, 2023
@openshift-ci-robot openshift-ci-robot added the jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. label Nov 10, 2023
@openshift-ci-robot
Copy link
Contributor

@dtantsur: This pull request references Jira Issue OCPBUGS-23131, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (jhajyahy@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-23149, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (jhajyahy@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

IRONIC_EXTERNAL_URL_V6 is currently calculated incorrectly:

  1. It uses the API VIP, but the Ironic's httpd is not proxied in the
    same way as Ironic itself and thus may not be available there.
  2. It uses an external IP even when a provisioning network is enabled
    and VirtualMediaViaExternalNetwork is false.

This change fixes both issues, while also cleaning up the provisioning
utils to ensure all functions are dualstack-aware. The split between
the BMO and Metal3 pods is an implicit requirement of this change.

This change does NOT fix the fact that ICC is not configured correctly
for deploying IPv6-only nodes from a dualstack cluster.

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.

@dtantsur
Copy link
Member Author

/retest

1 similar comment
@dtantsur
Copy link
Member Author

/retest

Copy link
Contributor

openshift-ci bot commented Nov 13, 2023

@dtantsur: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-metal-ipi-sdn-upgrade f9fd3fd link false /test e2e-metal-ipi-sdn-upgrade
ci/prow/e2e-metal-ipi-upgrade-ovn-ipv6 f9fd3fd link false /test e2e-metal-ipi-upgrade-ovn-ipv6

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@dtantsur
Copy link
Member Author

/label acknowledge-critical-fixes-only

Fixes a regression in IPv6 support on dualstack.

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Nov 14, 2023
@elfosardo
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 16, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 9178df0 and 2 for PR HEAD f9fd3fd in total

@openshift-merge-bot openshift-merge-bot bot merged commit bcbd01b into openshift:master Nov 16, 2023
15 of 17 checks passed
@openshift-ci-robot
Copy link
Contributor

@dtantsur: Jira Issue OCPBUGS-23131: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-23131 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-23149: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-23149 has been moved to the MODIFIED state.

In response to this:

IRONIC_EXTERNAL_URL_V6 is currently calculated incorrectly:

  1. It uses the API VIP, but the Ironic's httpd is not proxied in the
    same way as Ironic itself and thus may not be available there.
  2. It uses an external IP even when a provisioning network is enabled
    and VirtualMediaViaExternalNetwork is false.

This change fixes both issues, while also cleaning up the provisioning
utils to ensure all functions are dualstack-aware. The split between
the BMO and Metal3 pods is an implicit requirement of this change.

This change does NOT fix the fact that ICC is not configured correctly
for deploying IPv6-only nodes from a dualstack cluster.

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-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-baremetal-operator-container-v4.15.0-202311161952.p0.gbcbd01b.assembly.stream for distgit ose-cluster-baremetal-operator.
All builds following this will include this PR.

@dtantsur dtantsur deleted the OCPBUGS-23149 branch November 17, 2023 11:58
@dtantsur
Copy link
Member Author

/cherry-pick release-4.14

@openshift-cherrypick-robot

@dtantsur: new pull request created: #384

In response to this:

/cherry-pick release-4.14

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-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-11-17-103843

carbonin added a commit to carbonin/assisted-service that referenced this pull request Mar 26, 2024
This includes
openshift/cluster-baremetal-operator#380 which
is required for a single stack ipv6 cluster to be deployed from a
dual-stack hub when the hub is a single node.

https://issues.redhat.com/browse/MGMT-17354
carbonin added a commit to carbonin/assisted-service that referenced this pull request Mar 26, 2024
openshift-merge-bot bot pushed a commit to openshift/assisted-service that referenced this pull request Mar 27, 2024
…6 spoke (#6113)

* Update CBO dependency to 82df158cd2e9

This includes
openshift/cluster-baremetal-operator#380 which
is required for a single stack ipv6 cluster to be deployed from a
dual-stack hub when the hub is a single node.

https://issues.redhat.com/browse/MGMT-17354

* Update call to GetIronicIPs to use a provisioning pointer

This was changed in openshift/cluster-baremetal-operator#380

Resolves https://issues.redhat.com/browse/MGMT-17354
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/assisted-service that referenced this pull request Mar 28, 2024
This includes
openshift/cluster-baremetal-operator#380 which
is required for a single stack ipv6 cluster to be deployed from a
dual-stack hub when the hub is a single node.

https://issues.redhat.com/browse/MGMT-17354
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/assisted-service that referenced this pull request Mar 28, 2024
openshift-merge-bot bot pushed a commit to openshift/assisted-service that referenced this pull request Apr 3, 2024
…ub deploying an IPv6 spoke (#6121)

* Update CBO dependency to 82df158cd2e9

This includes
openshift/cluster-baremetal-operator#380 which
is required for a single stack ipv6 cluster to be deployed from a
dual-stack hub when the hub is a single node.

https://issues.redhat.com/browse/MGMT-17354

* Update call to GetIronicIPs to use a provisioning pointer

This was changed in openshift/cluster-baremetal-operator#380

Resolves https://issues.redhat.com/browse/MGMT-17354

---------

Co-authored-by: Nick Carboni <ncarboni@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants