-
Notifications
You must be signed in to change notification settings - Fork 38
OCPCLOUD-2642: Include ASO CRDs for CAPZ installation #322
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
base: master
Are you sure you want to change the base?
Conversation
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
Skipping CI for Draft Pull Request. |
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
Looks reasonable up until now 👍
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@damdo @RadekManak Since the diff's too big for GitHub to render, how do we go about editing the arguments on the ASO Deployment? Use a Kustomize file to layer over the defaults? Currently, it is apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: azure-service-operator
app.kubernetes.io/version: v2.6.0
cluster.x-k8s.io/provider: infrastructure-azure
clusterctl.cluster.x-k8s.io: ""
control-plane: controller-manager
name: azureserviceoperator-controller-manager
namespace: openshift-cluster-api
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
strategy: {}
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
creationTimestamp: null
labels:
aadpodidbinding: aso-manager-binding
app.kubernetes.io/name: azure-service-operator
app.kubernetes.io/version: v2.6.0
control-plane: controller-manager
spec:
containers:
- args:
- --metrics-addr=:8080
- --health-addr=:8081
- --enable-leader-election
- --v=2
- --crd-pattern=${ADDITIONAL_ASO_CRDS:= }
- --webhook-port=9443
- --webhook-cert-dir=/tmp/k8s-webhook-server/serving-certs From the help of the aso controller binary:
So, ideally, we'd omit |
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
I figured out an approach to updating the container arguments, however it relies on openshift/cluster-capi-operator#228 being present in |
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.
Looks reasonable to me 👍
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
/retest |
2 similar comments
/retest |
/retest |
/test e2e-azure-serial |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@nrb: This pull request references OCPCLOUD-2642 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
Signed-off-by: Nolan Brubaker <[email protected]>
While the tests are passing here, the So we'll need that PR to merge before we can have a valid test for this behavior. "status": {
"conditions": [
{
"lastTransitionTime": "2024-12-18T21:22:08Z",
"lastUpdateTime": "2024-12-18T21:22:08Z",
"message": "Deployment does not have minimum availability.",
"reason": "MinimumReplicasUnavailable",
"status": "False",
"type": "Available"
},
{
"lastTransitionTime": "2024-12-18T21:32:09Z",
"lastUpdateTime": "2024-12-18T21:32:09Z",
"message": "ReplicaSet \"azureserviceoperator-controller-manager-75678d9f88\" has timed out progressing.",
"reason": "ProgressDeadlineExceeded",
"status": "False",
"type": "Progressing"
}
], |
It looks like openshift/cluster-capi-operator#235 merged now, so we should be able to see that succeeding now |
/test e2e-azure-capi-techpreview |
/retest |
This failure looks legitimate, probably means that the CAPZ deployment fails to start, too. Will check logs and CI to see if I can get that image. |
Looking at the pods for ASO, I see this in the status:
Double checking the rest of the deployment, I see that all the Azure environment variables are set to come from that secret, so I'll need some more patching on this to make sure our settings are used instead. |
We'll need to either populate the |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
PR needs rebase. 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-sigs/prow repository. |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/lifecycle frozen |
@nrb: The In 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-sigs/prow repository. |
@nrb: The following tests failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
This PR reverts the exclusion of ASO CRDs.
TODO:
manifests-gen
.