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

Issue 9591 - Allow get_ruv() to handle incomplete RUV elements #7342

Closed
wants to merge 1 commit into from

Conversation

mreynolds389
Copy link
Contributor

Sometimes RUV's are missing the LDAP Url and max/min csns. This prevents cleanallruv task from running. However, cleanallruv doesn't need to know the LDAP URL or min/max csns. Added a new paramter to get_run() called "strict", and when set to False it will still process and include incomplete RUVs.

Fixes: https://pagure.io/freeipa/issue/9591

@mreynolds389 mreynolds389 added the WIP Work in progress - not ready yet for review label May 9, 2024
@mreynolds389 mreynolds389 self-assigned this May 9, 2024
@mreynolds389 mreynolds389 force-pushed the cleanallruv branch 2 times, most recently from 6b7a86b to ae979c7 Compare May 9, 2024 21:05
Sometimes RUV's are missing the LDAP Url and max/min csns. This prevents
cleanallruv task from running.  However, cleanallruv doesn't need to
know the LDAP URL or min/max csns. Added a new paramter to get_run()
called "strict", and when set to False it will still process and
include incomplete RUVs.

Fixes: https://pagure.io/freeipa/issue/9591

Signed-off-by: Mark Reynolds <mreynolds@redhat.com>
@mreynolds389 mreynolds389 added needs review Pull Request is waiting for a review and removed WIP Work in progress - not ready yet for review labels May 13, 2024
@mreynolds389
Copy link
Contributor Author

I could not reproduce the original issue with faulty/incomplete RUVs, but other testing shows this could work as expected now.

@rcritten
Copy link
Contributor

Code is working. What branches do we want to backport this too?

@mreynolds389
Copy link
Contributor Author

Code is working. What branches do we want to backport this too?

IMHO this should go into all active branches...

@rcritten rcritten added ipa-4-9 Mark for backport to ipa 4.9 ipa-4-10 Mark for backport to ipa 4.10 ipa-4-11 Mark for backport to ipa 4.11 ack Pull Request approved, can be merged pushed Pull Request has already been pushed and removed needs review Pull Request is waiting for a review labels May 20, 2024
@rcritten
Copy link
Contributor

master:

  • 544652a Issue 9591 - Allow get_ruv() to handle incomplete RUV elements

@rcritten
Copy link
Contributor

@mreynolds389 manual backports for ipa-4-10 and ipa-4-9 branches are necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged ipa-4-9 Mark for backport to ipa 4.9 ipa-4-10 Mark for backport to ipa 4.10 ipa-4-11 Mark for backport to ipa 4.11 pushed Pull Request has already been pushed
Projects
None yet
2 participants