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

Drop Debug fields #327

Merged

Conversation

gibizer
Copy link
Contributor

@gibizer gibizer commented Feb 2, 2024

These fields were redundant. Crashing pods can be debugged via oc debug.

Implements: OSPRH-4290

@Akrog
Copy link
Contributor

Akrog commented Feb 5, 2024

Thanks for the PR, I'm putting it on hold until I can confirm that I can do everything I need for customer engagements with the oc debug feature.

@gibizer
Copy link
Contributor Author

gibizer commented Feb 5, 2024

Thanks for the PR, I'm putting it on hold until I can confirm that I can do everything I need for customer engagements with the oc debug feature.

let me know if something is not possible

@gibizer
Copy link
Contributor Author

gibizer commented Feb 13, 2024

Thanks for the PR, I'm putting it on hold until I can confirm that I can do everything I need for customer engagements with the oc debug feature.

Since then we merged this drop in all the other service operators. Could you be a bit more specific what issue do you foresee?

@gibizer
Copy link
Contributor Author

gibizer commented Feb 29, 2024

/test cinder-operator-build-deploy-kuttl

@gibizer
Copy link
Contributor Author

gibizer commented Feb 29, 2024

/test cinder-operator-build-deploy-tempest

@Akrog
Copy link
Contributor

Akrog commented Mar 4, 2024

/retest

Copy link
Contributor

@Akrog Akrog left a comment

Choose a reason for hiding this comment

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

The downvote is because there is a duplicated line in the code that should be removed. The PR looks good to me otherwise.

I have looked into the replacement of the debug section with the oc debug command and all the primary cases seem to be covered.

I have proposed a small improvement on the documentation to explicitly show how we can do some of the debugging scenarios: openstack-k8s-operators/dev-docs#96

One scenario that would not be covered is debugging the db sync job pod when it doesn't fail. If it fails we can debug it, but if the job completes and disappears then we cannot debug it. I don't think it's a big problem, since the common case would be to debug it on failure.

@@ -113,6 +101,7 @@ func StatefulSet(
volumeMounts = append(volumeMounts, svc.CreateVolumeMounts(endpt.String())...)
}
}
readinessProbe.HTTPGet = livenessProbe.HTTPGet
Copy link
Contributor

Choose a reason for hiding this comment

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

-1: This line is unnecessary, we already set it on L66

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

These fields were redundant. Crashing pods can be debugged via oc debug.

Implements: OSPRH-4290
@gibizer gibizer requested a review from Akrog March 4, 2024 11:53
@gibizer
Copy link
Contributor Author

gibizer commented Mar 4, 2024

/test cinder-operator-build-deploy-kuttl

    logger.go:42: 12:31:26 | cinder_tls/1-deploy-cinder | Error from server (NotFound): keystoneendpoints.keystone.openstack.org "cinderv3" not found

@gibizer
Copy link
Contributor Author

gibizer commented Mar 4, 2024

/test cinder-operator-build-deploy-tempest

This file contained potentially sensitive information and has been removed.

Copy link
Contributor

@Akrog Akrog left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 4, 2024
Copy link
Contributor

openshift-ci bot commented Mar 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Akrog, gibizer

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:

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 added the approved label Mar 4, 2024
@gibizer
Copy link
Contributor Author

gibizer commented Mar 5, 2024

/retest

@openshift-merge-bot openshift-merge-bot bot merged commit 376faf4 into openstack-k8s-operators:main Mar 5, 2024
7 checks passed
ASBishop pushed a commit to ASBishop/cinder-operator that referenced this pull request Mar 11, 2024
…shares

Fix Manila template when ManilaShares is empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants