[ovndbcluster] Allow config changes without pod restarts#549
Conversation
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f021bdefc9c34b7f823ff7d1c795d42d ❌ openstack-k8s-operators-content-provider FAILURE in 6m 08s |
|
recheck trunkrdo |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/75cf967375fd46b89297dcb96d40bb5b ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 27m 28s |
7af8de6 to
1d5b62d
Compare
With [1] new paths are used, so we need to use those and fallback to older path for backward compatibility. [1] openstack-k8s-operators/ovn-operator#549 Related-Issue: #OSPRH-27985 Signed-off-by: Yatin Karel <ykarel@redhat.com>
|
So far code looks good to me, I'll test this tomorrow |
1d5b62d to
5830891
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c94c02f79a5c4014815fb1deaf9bf96e ✔️ openstack-k8s-operators-content-provider SUCCESS in 42m 50s |
958bda6 to
152447c
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8c894ca3175b4071805370bdeb6d6e45 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 27s |
Currently for any config change pod get's restart which we don't need for configs like:- - ElectionTimer - InactivityProbe - LogLevel Deprecated probeIntervalToActive config option as that is not relevant only for active/standby db clusters which we are not using here. Also using db directories(as persistent) for OVN_RUNDIR, so we can use them in job pods to do the config changes. Resolves: #OSPRH-27985 Assisted-By: Claude Signed-off-by: Yatin Karel <ykarel@redhat.com>
152447c to
ce8a17f
Compare
|
Adding comment here instead of code as I don't know the best way to handle this, but we need to sanitize the input given by the user. |
yes i noticed that too but since it was not specific to this change i didn't touched api for this. So we can take that as follow up too |
For the record, created an issue for this problem that I plan to work it on :) |
|
Looks all good to me |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: karelyatin, slawqo 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 ovn-operator-build-deploy-kuttl |
|
/test ovn-operator-build-deploy-kuttl |
81fd12b
into
openstack-k8s-operators:main
|
/cherry-pick 18.0-fr5 |
|
@karelyatin: new pull request created: #555 DetailsIn 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. |
Currently for any config change pod get's restart which we don't need for configs like:-
Deprecated probeIntervalToActive config option as
that is not relevant only for active/standby db clusters which we are not using here.
Also using db directories(as persistent) for OVN_RUNDIR, so we can use them in job pods to do the config changes.
Resolves: #OSPRH-27985
Assisted-By: Claude