You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Xu-Wentao (via GitHub)" <gi...@apache.org> on 2023/03/10 09:35:12 UTC
[GitHub] [shardingsphere-on-cloud] Xu-Wentao opened a new issue, #261: 🐞 bug: operator will still try to reconcile the computeNode resource when it was deleted
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/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/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/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/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: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-on-cloud] mlycore closed issue #261: 🐞 bug: operator will still try to reconcile the computeNode resource when it was deleted
Posted by "mlycore (via GitHub)" <gi...@apache.org>.
mlycore closed issue #261: 🐞 bug: operator will still try to reconcile the computeNode resource when it was deleted
URL: https://github.com/apache/shardingsphere-on-cloud/issues/261
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-on-cloud] Xu-Wentao commented on issue #261: 🐞 bug: operator will still try to reconcile the computeNode resource when it was deleted
Posted by "Xu-Wentao (via GitHub)" <gi...@apache.org>.
Xu-Wentao commented on issue #261:
URL: https://github.com/apache/shardingsphere-on-cloud/issues/261#issuecomment-1463532194
BTW, the helm chart `apache-shardingsphere-operator-charts-0.2.0` 's default values set wrong operator image tag.
the tag of operator image is "0.1.2." now.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-on-cloud] mlycore commented on issue #261: 🐞 bug: operator will still try to reconcile the computeNode resource when it was deleted
Posted by "mlycore (via GitHub)" <gi...@apache.org>.
mlycore commented on issue #261:
URL: https://github.com/apache/shardingsphere-on-cloud/issues/261#issuecomment-1465482826
The charts will be fixed in another issue.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org