Skip to content

Conversation

@patrickdillon
Copy link
Contributor

@patrickdillon patrickdillon commented Jul 22, 2021

The Azure provider is throwing an error when trying to create worker machines outside of an availability set. The machine api operator does not have the ability to create availability sets, so the installer must create one for worker nodes.

0406764 is the significant commit, while the rest of the PR is built on top of #5084

/hold
This is meant to enable the cloud team to test as a PoC while we determine the best way forward.

If we are to move forward with the installer creating this resource for the MAO, we will need to establish some API interface such as a field in the the machine(set) spec.

staebler and others added 7 commits July 18, 2021 13:55
Include the azurestack provider in the plugins that
terraform knows.
vnet: create permanent network resources
bootstrap: create bootstrap resources
cluster: create permanent cluster resources

This is needed for Terraform v0.14.6 and later since Terraform deletions now
destroy all resource dependencies.

https://issues.redhat.com/browse/CORS-1695
Add the terraform files for provisioning a cluster in
Azure Stack.

Update Azure Stack TF to stages
Vendors the OpenShift fork of the Azure Stack Terraform provider.
Uses Azure Stack as the Terraform Provider for the Azure Stack platform.
Follows the same stages as Azure, but uses the Azure Stack provider.
@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 22, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from patrickdillon after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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 openshift-ci bot requested review from e-tienne and fabianofranz July 22, 2021 15:05
@patrickdillon
Copy link
Contributor Author

@patrickdillon patrickdillon changed the title Worker availability set Azure Stack: Worker availability set Jul 22, 2021
@patrickdillon patrickdillon force-pushed the worker-availability-set branch from 9f459c5 to d59d743 Compare July 22, 2021 15:20
@tsze-redhat
Copy link

@patrickdillon
What is the best way to test this PR?
Create a cluster with only 2 zones and then try to add a machine in 3rd zone using a ymal?

This creates a worker availability set for use by the Machine API
Operator.
@patrickdillon patrickdillon force-pushed the worker-availability-set branch from d59d743 to 0406764 Compare July 22, 2021 15:29
@patrickdillon
Copy link
Contributor Author

@patrickdillon
What is the best way to test this PR?
Create a cluster with only 2 zones and then try to add a machine in 3rd zone using a ymal?

As I mentioned in the description, we have not decided if we are going forward with this approach, so it is probably best to wait.

This PR would enable the creation of workers, so ensuring workers are created would indicate success.

I think you may be confusing availability zones (do not exist in ASH) with availability sets (the topic of this PR).

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 25, 2021

@patrickdillon: PR needs rebase.

Details

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-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 25, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 6, 2021

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

Test name Commit Details Rerun command
ci/prow/e2e-openstack-kuryr 0406764 link /test e2e-openstack-kuryr
ci/prow/e2e-metal-ipi-ovn-ipv6 0406764 link /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-crc 0406764 link /test e2e-crc
ci/prow/e2e-ovirt 0406764 link /test e2e-ovirt
ci/prow/e2e-aws-single-node 0406764 link /test e2e-aws-single-node
ci/prow/e2e-aws 0406764 link /test e2e-aws
ci/prow/e2e-aws-fips 0406764 link /test e2e-aws-fips
ci/prow/e2e-aws-workers-rhel7 0406764 link /test e2e-aws-workers-rhel7
ci/prow/e2e-openstack 0406764 link /test e2e-openstack
ci/prow/e2e-aws-upgrade 0406764 link /test e2e-aws-upgrade
ci/prow/okd-verify-codegen 0406764 link /test okd-verify-codegen
ci/prow/okd-images 0406764 link /test okd-images
ci/prow/okd-unit 0406764 link /test okd-unit

Full PR test history. Your PR dashboard.

Details

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.

@patrickdillon
Copy link
Contributor Author

/close

@openshift-ci openshift-ci bot closed this Aug 30, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 30, 2021

@patrickdillon: Closed this PR.

Details

In response to this:

/close

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

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants