You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Edge request API server , when cloudhub create objectsync for node or namespace resources which do not have namesapce, cloudhub report an error Edge:
curl 192.168.93.191:10550/api/v1/nodes cloud:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Kubernetes version (use kubectl version):
KubeEdge version(e.g. cloudcore --version and edgecore --version):
Cloud nodes Environment:
Hardware configuration (e.g. lscpu):
OS (e.g. cat /etc/os-release):
Kernel (e.g. uname -a):
Go version (e.g. go version):
Others:
Edge nodes Environment:
edgecore version (e.g. edgecore --version):
Hardware configuration (e.g. lscpu):
OS (e.g. cat /etc/os-release):
Kernel (e.g. uname -a):
Go version (e.g. go version):
Others:
The text was updated successfully, but these errors were encountered:
Is there any error message returned when you execute curl 192.168.93.191:10550/api/v1/nodes ?
After curl 10550/api/v1/nodes,edge can print the expected result whitout any errors,but cloud may print some error log in cloudhub like the picture above. Although cloudhub output the error logs, cloudcore and edgecore can still run.
@jidalong When Cloudhub processes messages, it first starts ObjectSyncController. ObjectSyncController is the controller of custom CRD objects ObjectSync and ClusterObjectSync. KubeEdge uses K8s CRD to store the latest resourceVersion of resources that have been successfully sent to Edge.
ClusterObjectSync is used to store cluster-wide objects, and ObjectSync is used to store namespace-wide objects. node belongs to the cluster-scoped object, and it has no namespace.
But the current version of ClusterObjectSync is not currently in use and is waiting to be expanded, so all resources will be stored in ObjectSync for the time being, so there is an error that namespace is null (node shouldn't be in ObjectSync).
As a temporary solution, you can set it to "" if the namespace is null before creatObjectSync.
The above is just my personal understanding:) more detail
Hello 👋 Looks like there was no activity on this issue for last 90 days. Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for 60 days, this issue will be closed (we can always reopen an issue if we need!).
What happened:
Edge request API server , when cloudhub create objectsync for node or namespace resources which do not have namesapce, cloudhub report an error
Edge:
curl 192.168.93.191:10550/api/v1/nodes
cloud:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Kubernetes version (use
kubectl version
):KubeEdge version(e.g.
cloudcore --version
andedgecore --version
):Cloud nodes Environment:
lscpu
):cat /etc/os-release
):uname -a
):go version
):Edge nodes Environment:
edgecore --version
):lscpu
):cat /etc/os-release
):uname -a
):go version
):The text was updated successfully, but these errors were encountered: