You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/11/23 02:59:03 UTC

[GitHub] [incubator-hugegraph-computer] shangrilaxie opened a new issue, #195: [Bug] Docker DeskTop K8s 不能运行 computer示例

shangrilaxie opened a new issue, #195:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/195

   ### Bug Type (问题类型)
   
   exception / error (运行异常)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Computer-Issues](https://github.com/hugegraph/hugegraph-computer/issues) 中没有相同 / 重复问题
   
   ### Environment (环境信息)
   
   - Server Version: v0.12.x
   - Computer Version: v0.x
   - Scheduler: K8s V1.24.2 <!-- Yarn 3.x -->
   - Data Size:  xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
   windows11 22H2   wsl2  docker desktop4.13.1  k8s 1.24.2
   
   ### Expected & Actual behavior (期望与实际表现)
   
   Install hugegraph-computer CRD
   D:\>kubectl apply -f https://raw.githubusercontent.com/hugegraph/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
   customresourcedefinition.apiextensions.k8s.io/hugegraphcomputerjobs.hugegraph.baidu.com created
   
   Show CRD
   D:\>kubectl get crd
   NAME                                        CREATED AT
   hugegraphcomputerjobs.hugegraph.baidu.com   2022-11-23T02:02:03Z
   
   Install hugegraph-computer-operator&etcd-server
   D:\>kubectl apply -f https://raw.githubusercontent.com/hugegraph/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
   namespace/hugegraph-computer-operator-system created
   serviceaccount/hugegraph-computer-operator-controller-manager created
   role.rbac.authorization.k8s.io/hugegraph-computer-operator-leader-election-role created
   clusterrole.rbac.authorization.k8s.io/hugegraph-computer-operator-manager-role created
   rolebinding.rbac.authorization.k8s.io/hugegraph-computer-operator-leader-election-rolebinding created
   clusterrolebinding.rbac.authorization.k8s.io/hugegraph-computer-operator-manager-rolebinding created
   service/hugegraph-computer-operator-etcd created
   deployment.apps/hugegraph-computer-operator-controller-manager created
   deployment.apps/hugegraph-computer-operator-etcd created
   
   Wait for hugegraph-computer-operator&etcd-server deployment to complete
   
   D:\>kubectl get pod -n hugegraph-computer-operator-system
   NAME                                                              READY   STATUS             RESTARTS      AGE
   hugegraph-computer-operator-controller-manager-5595d699df-srtjc   0/1     ImagePullBackOff   0             4m5s
   hugegraph-computer-operator-etcd-896cbf85f-b77t7                  0/1     Running            2 (17s ago)   4m5s
   
   一致不能正常启动。
   ReplcaSet显示:MinimumReplicasUnavailable
   日志显示:
   {"level":"warn","ts":"2022-11-23T02:43:28.808Z","caller":"netutil/netutil.go:121","msg":"failed to resolve URL Host","url":"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","host":"hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","retry-interval":"1s","error":"lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host"}
   {"level":"warn","ts":"2022-11-23T02:43:29.812Z","caller":"netutil/netutil.go:121","msg":"failed to resolve URL Host","url":"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","host":"hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","retry-interval":"1s","error":"lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host"}
   {"level":"warn","ts":"2022-11-23T02:43:30.816Z","caller":"netutil/netutil.go:121","msg":"failed to resolve URL Host","url":"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","host":"hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","retry-interval":"1s","error":"lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host"}
   {"level":"warn","ts":"2022-11-23T02:43:31.509Z","caller":"netutil/netutil.go:131","msg":"failed to resolve URL Host; returning","url":"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","host":"hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380","retry-interval":"1s","error":"lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host"}
   {"level":"info","ts":"2022-11-23T02:43:31.511Z","caller":"embed/etcd.go:367","msg":"closing etcd server","name":"hugegraph-computer-operator-etcd-0","data-dir":"/var/etcd/data","advertise-peer-urls":["http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380"],"advertise-client-urls":["http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2379"]}
   {"level":"info","ts":"2022-11-23T02:43:31.511Z","caller":"embed/etcd.go:369","msg":"closed etcd server","name":"hugegraph-computer-operator-etcd-0","data-dir":"/var/etcd/data","advertise-peer-urls":["http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380"],"advertise-client-urls":["http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2379"]}
   {"level":"warn","ts":"2022-11-23T02:43:31.511Z","caller":"etcdmain/etcd.go:145","msg":"failed to start etcd","error":"failed to resolve http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380 to match --initial-cluster=hugegraph-computer-operator-etcd-0=http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380 (failed to resolve \"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380\" (lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host))"}
   {"level":"fatal","ts":"2022-11-23T02:43:31.511Z","caller":"etcdmain/etcd.go:203","msg":"discovery failed","error":"failed to resolve http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380 to match --initial-cluster=hugegraph-computer-operator-etcd-0=http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380 (failed to resolve \"http://hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system:2380\" (lookup hugegraph-computer-operator-etcd-0.hugegraph-computer-operator-etcd.hugegraph-computer-operator-system on 10.96.0.10:53: no such host))","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\t/tmp/etcd-release-3.5.0/etcd/release/etcd/server/etcdmain/etcd.go:203\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\t/tmp/etcd-release-3.5.0/etcd/release/etcd/server/etcdmain/main.go:40\nmain.main\n\t/tmp/etcd-release-3
 .5.0/etcd/release/etcd/server/main.go:32\nruntime.main\n\t/home/remote/sbatsche/.gvm/gos/go1.16.3/src/runtime/proc.go:225"}
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
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: dev-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] coderzc commented on issue #195: [Bug] Docker DeskTop K8s 不能运行 computer示例

Posted by GitBox <gi...@apache.org>.
coderzc commented on issue #195:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/195#issuecomment-1324521089

   k8s version < 1.16 尝试使用 `kubectl apply -f https://raw.githubusercontent.com/hugegraph/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml` 创建 CRD


-- 
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: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] coderzc commented on issue #195: [Bug] Docker DeskTop K8s 不能运行 computer示例

Posted by GitBox <gi...@apache.org>.
coderzc commented on issue #195:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/195#issuecomment-1324522176

   还有看下各个组件状态是什么样的 `kubectl get pod -n hugegraph-computer-operator-system`


-- 
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: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org