Skip to content

Conversation

@lennyphan
Copy link
Member

@lennyphan lennyphan commented Jan 6, 2022

Backport of OWLS-94849 to release branch 3.3.

A customer is using the built-in WDT scripts (in the samples) for creating the WebLogic domain with Domain-on-PV model. They are experiencing a timing issue where the pod associated to the create domain job has not been started by the time the script attempts to get the pod name and hence the script execution hangs. The 'workaround' proposed was to add a sleep statement to allow the pod to start. This pull request resolves the issue by:

Retrieving the pod name by continuously checking for the pod, and returning it's name when the pod is started, up to 120 seconds (2 minutes) instead of using a 'sleep'.
Fix 'kubectl wait' command which is missing the namespace where the create domain job is running.

Ran the ItWlsSamples integration test ,as the change only related to the domain-on-pv sample, and the result can be found at https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/7722/

@robertpatrick robertpatrick merged commit 07cc511 into release/3.3 Jan 7, 2022
@robertpatrick robertpatrick deleted the OWLS-94849-backport branch January 7, 2022 16:45
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Jun 7, 2023
backport of OWLS-94849 to 3.3 release branch
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Jun 7, 2023
backport of OWLS-94849 to 3.3 release branch
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.

4 participants