-
Notifications
You must be signed in to change notification settings - Fork 1.5k
machines/azure: Set subnets for control plane and compute machines #1833
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
machines/azure: Set subnets for control plane and compute machines #1833
Conversation
cluster-api-provider-azure PR [1], allows installer to set the subnets for machines explicitly rather than the implicit names. The new subnet name for control plane VMs is `<cluster-id>-master-subnet`, while the subnet name for compute VMs is `<cluster-id>-worker-subnet` based on the `role` for these MachinePools [1]: openshift/cluster-api-provider-azure#35
Bump to being in changes from openshift/cluster-api-provider-azure#35
|
/test e2e-azure |
|
/test e2e-azure |
|
@abhinavdahiya #35 also removed pieces setting load balancers. Was installer relying on azure actuator to set the load balancers when creating master machine(s)? |
|
/retest |
|
/test e2e-azure |
1 similar comment
|
/test e2e-azure |
|
Repeated in a loop in |
|
/test e2e-azure |
machine-api-operator moved the machine-controllers to only allow access to secrets in openshift-machine-api namespace [1] machine-api-operator PR [2], creates a secret `openshift-machine-api/azure-cloud-credentials` that can be used by azure machines [1]: openshift/machine-api-operator@df49930 [2]: openshift/machine-api-operator#325
|
/test e2e-azure |
|
Looks like last run of azure failed where we expected. |
|
@abhinavdahiya I assume it's a known issue, so we can merge this PR |
Yes that a known failure, that I'm working on fixing. We can merge this. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, ingvagabund 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 |
|
/test e2e-azure |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@abhinavdahiya: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
With changes in the cluster-api-provider-azure from openshift/cluster-api-provider-azure#35, the Azure IPI fails to create worker VMs like
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_release/4006/rehearse-4006-pull-ci-openshift-origin-master-e2e-azure/1/artifacts/e2e-azure/must-gather/namespaces/openshift-machine-api/pods/machine-api-controllers-c95fb75b5-rzjks/machine-controller/machine-controller/logs/current.log
2019-06-07T19:38:06.7703507Z E0607 19:38:06.770317 1 actuator.go:79] failed to reconcile machine ci-op-pqj0zh18-849ce-9765f-worker-qg7fj: failed to create nic ci-op-pqj0zh18-849ce-9765f-worker-qg7fj-nic for machine ci-op-pqj0zh18-849ce-9765f-worker-qg7fj: MachineConfig subnet is missing on machine ci-op-pqj0zh18-849ce-9765f-worker-qg7fj, skipping machine creationThis changes the installer to set the subnet names based on the role of the MachinePool.
/cc @enxebre @ingvagabund