oracle / weblogic-kubernetes-operator

WebLogic Kubernetes Operator
https://oracle.github.io/weblogic-kubernetes-operator/
Universal Permissive License v1.0
249 stars 210 forks source link

cluster needs to be created before the domain #4911

Closed gvnc closed 3 days ago

gvnc commented 1 week ago

When applying quick-start yaml, domain fails with below error until it gets resolved with next retry happens in 120 seconds. The reason is that domain gets created before cluster. It must be the other way around. ` % kubectl describe domain sample-domain1 -n sample-domain1-ns

Message: Cluster resource 'sample-domain1-cluster-1' not found in namespace 'sample-domain1-ns'. Will retry next at 2024-06-26T11:24:46.003016707Z and approximately every 120 seconds afterward until 2024-06-27T11:22:46.003016707Z if the failure is not resolved.

Events: Type Reason Age From Message


Normal Created 3m22s weblogic.operator Domain sample-domain1 was created. Warning Failed 3m21s weblogic.operator Domain sample-domain1 failed due to 'Domain validation error': Cluster resource 'sample-domain1-cluster-1' not found in namespace 'sample-domain1-ns'. Update the domain resource to correct the validation error. `

oracle-contributor-agreement[bot] commented 1 week ago

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

rjeberhard commented 1 week ago

@gvnc, as you probably noticed after the bot response, we are required to verify that external contributors have signed the OCA prior to merging commits.

You can either do that and then I can accept your change or we can switch this to an issue and I can merge a similar change (that I would author).

What would you like to do?

gvnc commented 1 week ago

@rjeberhard thanks, I noticed the warning and signed OCA to become part of Oracle organisation on github. It is under review, let me ping you once it is approved.

gvnc commented 4 days ago

@rjeberhard I guess it would take some time for me to get over the bot check. Let's cancel this PR and you take care of it in an issue.

rjeberhard commented 3 days ago

Done