-
Notifications
You must be signed in to change notification settings - Fork 50
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
Cannot change ALLOWED_CONTENT_CHECKSUMS #1060
Comments
Hi @bsteinb, Thank you for the detailed report! So the operator should trigger a reconciliation whenever this new field (
|
To be honest, I don't think the proposed solution is ideal from a usability perspective. Having all Pulp settings under On the other hand, I have almost zero experience with making operators, so I cannot judge how difficult it would be to keep the setting where it is now and still do the correct reconciliation. Anyway, thanks for the quick reply. Good to know that bug reports are still appreciated. |
Thank you for the feedback.
Actually, most of the configurations should be done using the fields in
Sure! Please feel free to open any bugs/rfes that you find relevant. We are open to listening and discussing the issues with the community, your opinion makes the operator better. |
Thank you for the quick fix. May I ask why the operator limits the valid options to |
This is to avoid incompatibility with some Pulp plugins (for example, |
Version
pulp-operator: 1.0.0-alpha.9
images: 3.32.0
Describe the bug
Changing the value of
ALLOWED_CONTENT_CHECKSUMS
insettings.py
via thepulp_settings
field inPulpSpec
leads to failedpulp-api
andpulp-worker
Pods. The logs for these Pods contain the following message:To Reproduce
On a running instance that is populated with RPM and File content, change
PulpSpec.pulp_settings.allowed_content_checksums
to enable an additional checksum type, e.g.:Expected behavior
Changing the parameter should not lead to Pods failing to start. It seems to me, that the operator should detect changes to said parameter and run the necessary management task
pulpcore-manager handle-artifact-checksums
as suggested in the logs.Additional context
None.
The text was updated successfully, but these errors were encountered: