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

Owls 89909 - Fix for repeated introspection after a rolling restart of a MII domain because of image hash mismatch #2418

Merged
merged 2 commits into from
Jun 21, 2021

Conversation

ankedia
Copy link
Member

@ankedia ankedia commented Jun 21, 2021

Owls 89909 - In some cases, when the domain is updated with an image that doesn't make any actual changes to the domain, it's considered as a no-op in modelInImage.sh, and the domain config parsed from the introspector log is null. However, the domain is rolled because the image name is different. In such cases, the image hash stored in the introspector config map is different from the actual image hash. The make-right cycle checks if the image hash stored in the config map matches the actual image hash when deciding whether a new introspector job needs to be created. This causes the introspector job to be created multiple times.

This change stores the new image hash in the packet and also patches the config map with the new hash when the introspection is a no-op. Integration test run at - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/5389/

@rjeberhard rjeberhard merged commit dc87774 into main Jun 21, 2021
@ankedia ankedia deleted the owls_89909_repeated_introspection branch September 22, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants