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

Power VS: Enable global routing for cloud connection and specify dns #6289

Merged

Conversation

mjturek
Copy link
Contributor

@mjturek mjturek commented Aug 31, 2022

Because the VPC will not always be in the same DC as the Power VS service instance, we want to enable global routing to allow for this. Additionally we want to specify the DNS server as it's required until private cluster support lands.

@openshift-ci openshift-ci bot requested review from r4f4 and rna-afk August 31, 2022 17:07
@manojnkumar
Copy link
Contributor

/LGTM

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2022
@mjturek
Copy link
Contributor Author

mjturek commented Aug 31, 2022

/retest

Because the VPC will not always be in the same DC as the Power VS
service instance, we want to enable global routing to allow for
this. Additionally we want to specify the DNS server as it's
required until private cluster support lands.
@mjturek mjturek force-pushed the enable_global_routing branch from 63d10c8 to 6e8702c Compare September 1, 2022 00:06
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 1, 2022
@@ -12,15 +12,17 @@ resource "ibm_pi_dhcp" "new_dhcp_service" {
count = var.pvs_network_name == "" ? 1 : 0
pi_cloud_instance_id = var.cloud_instance_id
pi_cloud_connection_id = data.ibm_pi_cloud_connection.cloud_connection.id
pi_dns_server = "1.1.1.1"
Copy link
Member

Choose a reason for hiding this comment

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

I prefer avoiding this for long run, if its workaround at the moment - lets mention in the comment as TODO to remove once the issue gets fixed in the infrastructure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mkumatag In the future, once Private Cluster Support lands, we will always be passing pi_dns_server and it will default to 1.1.1.1.

Do you still think we need a TODO?

Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if we don't pass pi_dns_server? the api itself doesn't still default it to 1.1.1.1?

Copy link
Member

Choose a reason for hiding this comment

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

@mkumatag In the future, once Private Cluster Support lands, we will always be passing pi_dns_server and it will default to 1.1.1.1.

Do you still think we need a TODO?

nope, we should have if/else sort of a block where if user supplies that thens set this param or else drop(because this is an optional param and powervs code should take care of setting right dns server) to rely on what powervs dhcp service gives.

Copy link
Member

Choose a reason for hiding this comment

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

what happens if we don't pass pi_dns_server? the api itself doesn't still default it to 1.1.1.1?

This is not happening with the latest code change but eventually that's the expectation

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 1, 2022

@mjturek: 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/okd-e2e-aws-ovn 6e8702c link false /test okd-e2e-aws-ovn
ci/prow/e2e-metal-assisted 6e8702c link false /test e2e-metal-assisted

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.

@mjturek
Copy link
Contributor Author

mjturek commented Sep 1, 2022

@rna-afk could you take a look at this? We need this to resume our CI efforts

@rna-afk
Copy link
Contributor

rna-afk commented Sep 1, 2022

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 1, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rna-afk

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 Sep 1, 2022
@rna-afk
Copy link
Contributor

rna-afk commented Sep 2, 2022

/lgtm

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

/retest-required

Remaining retests: 0 against base HEAD 82dcbcc and 2 for PR HEAD 6e8702c in total

@openshift-merge-robot openshift-merge-robot merged commit f6c8f52 into openshift:master Sep 2, 2022
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants