Xu-Wentao opened a new issue, #261:
URL: https://github.com/apache/shardingsphere-on-cloud/issues/261

   ### Environment
   
   - Contents of your values.yaml file,if your helm deployment process goes 
wrong.
   ```yaml
   proxyCluster:
     enabled: false
   computeNode:
     replicas: 1
   ```
   - Contents of your CRD resource file. Include 
proxy.shardingsphere.apache.org/v1alpha1 and 
proxyconfig.shardingsphere.apache.org/v1alpha1
   - Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version
   
   
   ### Issue description
   
   - Which phase is not functioning properly, is it the installation phase or 
the apply CRD phase ?
   delete ComputeNode will cause this error.
   <img width="953" alt="截屏2023-03-10 17 33 21" 
src="https://user-images.githubusercontent.com/9206873/224279338-78d9b849-2e57-4dff-ad01-a0c4824f3bfc.png";>
   <img width="948" alt="截屏2023-03-10 17 32 09" 
src="https://user-images.githubusercontent.com/9206873/224279364-4cd2bc42-b485-4266-9407-4f1a834a83bd.png";>
   
   
   ### Error log
   
   - Including ShardingSphere-Proxy error log and ShardingSphere-Operator error 
log
   ```bash
   2023-03-10T09:33:58Z    ERROR   computenode not found   
{"compute-node-controller": "default/asspo-shardingsphere-proxy", "error": 
"ComputeNode.shardingsphere.apache.org \"asspo-shardingsphere-proxy\" not 
found"}
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:121
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:320
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234
   
   
   
   
   2023-03-10T09:34:08Z    ERROR   computenode not found   
{"compute-node-controller": "default/asspo-shardingsphere-proxy", "error": 
"ComputeNode.shardingsphere.apache.org \"asspo-shardingsphere-proxy\" not 
found"}
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:121
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:320
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273
   
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
           
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234
   ```
   
   ### Expected result
   
   the Operator should not reconcile the ComputeNode if it was been deleted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to