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

Alibaba: fix: add the availability zone of worker #5438

Merged

Conversation

bd233
Copy link
Contributor

@bd233 bd233 commented Dec 2, 2021

The ali_zone_ids needs to contain the availability zone of the workers,
and create the VSwitches

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 2, 2021

Hi @bd233. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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 openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 2, 2021
@patrickdillon
Copy link
Contributor

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 2, 2021
@patrickdillon
Copy link
Contributor

LGTM. I will let @kwoodson take a look
/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 2, 2021
@kwoodson
Copy link
Contributor

kwoodson commented Dec 3, 2021

I will test this one now. brb

Copy link
Contributor

@staebler staebler left a comment

Choose a reason for hiding this comment

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

There is other work that needs to happen first before this can go in as is. Currently, the number of master instances created is equal to the number of vswitches. There is one vswitch for every zone. If we make this change to add workers to the zones, then we will end up creating masters in every zone where we have workers, which is not what the user may want. I think this PR is dependent upon #5379.

The comments for the following terraform variables need to be changed.

description = "The availability zones in which to create the masters."

description = "The availability zones in which to create the masters."

@bd233
Copy link
Contributor Author

bd233 commented Dec 9, 2021

@staebler I have update description.

I think this PR is dependent upon #5379.

That's it.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 16, 2021

@bd233: 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-aws-workers-rhel7 9cea453 link false /test e2e-aws-workers-rhel7
ci/prow/e2e-crc 9cea453 link false /test e2e-crc
ci/prow/e2e-aws-workers-rhel8 9cea453 link false /test e2e-aws-workers-rhel8
ci/prow/okd-e2e-aws-upgrade 9cea453 link false /test okd-e2e-aws-upgrade
ci/prow/e2e-aws 9cea453 link true /test e2e-aws
ci/prow/e2e-ibmcloud 9cea453 link false /test e2e-ibmcloud
ci/prow/e2e-aws-upgrade 9cea453 link true /test e2e-aws-upgrade

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.

@mtulio
Copy link
Contributor

mtulio commented Dec 16, 2021

/retest-required

@@ -25,7 +25,7 @@ variable "ali_private_zone_id" {

variable "ali_zone_ids" {
type = list(string)
description = "The availability zones in which to create the masters. The length of this list must match master_count."
description = "The availability zones in which to create the masters, workers and bootstrap node."
Copy link
Contributor

Choose a reason for hiding this comment

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

This change will break the masters module. The zone ids passed into the master module must be an ordered list corresponding to the masters that need to be created. There needs to be one variable for the master zone ids and a separate variable for the worker zone ids.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, your are right. I have updated.

The `ali_zone_ids` needs to contain the availability zone of the workers,
and create the VSwitches

Signed-off-by: sunhui <wb-sh373163@alibaba-inc.com>
Copy link
Contributor

@staebler staebler left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

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

openshift-ci bot commented Dec 16, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon, staebler

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:
  • OWNERS [patrickdillon,staebler]

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

@openshift-bot
Copy link
Contributor

/retest-required

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

4 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

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

@openshift-bot
Copy link
Contributor

/retest-required

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

@openshift-bot
Copy link
Contributor

/retest-required

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

@openshift-bot
Copy link
Contributor

/retest-required

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

@openshift-merge-robot openshift-merge-robot merged commit dbf8fe5 into openshift:master Dec 16, 2021
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants