-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Update env for upi vsphere zone config #38241
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
Conversation
|
@WenXinWei: the
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@WenXinWei: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
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. |
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
23f0e88 to
c564172
Compare
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
ccfb96d to
3fab7f4
Compare
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
3ea44fa to
72d849b
Compare
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
1 similar comment
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
7c8093f to
0c721a5
Compare
|
@jianlinliu @jinyunma please help review the pr when you have time, thanks. |
|
What is the motive to update the logic? We are going to use the replica ENV to do some overriding? |
cefed97 to
9b8fcfe
Compare
for the PR:openshift/installer#6999, the job 'e2e-vsphere-upi-zones' failed with : in variables.tf, the compute_count default count is 3. The number of compute_ip_address before are 4 -->["192.168.${third_octet}.7", "192.168.${third_octet}.8","192.168.${third_octet}.9", "192.168.${third_octet}.10'']. there will be conflicts. So need to changed the hard-code compute_ip_addresses to dynamic to suit the WORKER_REPLICAS (4)set in e2e-vsphere-upi-zones. |
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
Nice catch! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when $MASRER_REPLICAS > 3, the ip will overlap with worker's ip. The worker num should be based on master num.
72b54f6 to
56f8ba5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- if use
ifblock here, pls add the leading white spaces for the following lines. - Suggest to use two
ifblocks to judgeMASTER_REPLICASandWORKER_REPLICAScase separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for advice, only worker nums can be set to 0 when compact cluster scenario, so finally i add a if block for worker part.
56f8ba5 to
5c5a771
Compare
5c5a771 to
a2d4c88
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-installer-master-e2e-vsphere-upi-zones |
|
@WenXinWei: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/lgtm |
|
/pj-rehearse ack |
|
@jcpowermac @rvanderp3 could you help to review? thanks. |
|
nice change, thanks for putting this together. /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jianlinliu, rvanderp3, WenXinWei The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
update the hardcode master/worker replicas with dynamic env for upi-conf-vsphere-zones-command.sh to unblock openshift/installer#6999