-
Notifications
You must be signed in to change notification settings - Fork 32
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
Stop the OVN database during the cleanup script #320
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ralonsoh 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 |
Hi @ralonsoh. Thanks for your PR. I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
How about just removing |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/570d19d95a2e44c0ad8896e7ebaeb63c ✔️ openstack-k8s-operators-content-provider SUCCESS in 40m 51s |
if [ "$DB_TYPE" == "nb" ]; then | ||
/usr/share/ovn/scripts/ovn-ctl stop_nb_ovsdb | ||
elif [ "$DB_TYPE" == "sb" ]; then | ||
/usr/share/ovn/scripts/ovn-ctl stop_sb_ovsdb |
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.
you can just stop_${DB_TYPE}_ovsdb
I think.
@olliewalsh the problem with (just) removing |
@olliewalsh btw FYI the signal handling improvement is tracked here: https://issues.redhat.com/browse/OSPRH-8212 |
If we are going to implement this signal handler in the start script, is this patch relevant anymore? |
Closes-Issue: OSPRH-8118
/test ovn-operator-build-deploy-kuttl |
1 similar comment
/test ovn-operator-build-deploy-kuttl |
I think it depends on how the signal handler would be implemented. The handler could handle this job, or it could only take care about ovsdb-tool db initialization. (Which is the original scenario that spurred these Jira issues.) But yes, I think everything could be handled inside the signal handler. |
@ralonsoh: The following test 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 patch is hitting several issues:
|
Closes-Issue: OSPRH-8118