Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

卡在downloading amd64 kubecni v1.2.0 ... #2356

Open
XCYXHL opened this issue Aug 12, 2024 · 4 comments
Open

卡在downloading amd64 kubecni v1.2.0 ... #2356

XCYXHL opened this issue Aug 12, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@XCYXHL
Copy link

XCYXHL commented Aug 12, 2024

What is version of KubeKey has the issue?

kk version: &version.Info{Major:"3", Minor:"0", GitVersion:"v3.0.13", GitCommit:"ac75d3ef3c22e6a9d999dcea201234d6651b3e72", GitTreeState:"clean", BuildDate:"2023-10-30T11:15:14Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}

What is your os environment?

Ubuntu 22.04

KubeKey config file

apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
  name: 5052-cluster
spec:
  hosts:
  - {name: 5052-1, address: 10.199.173.192, internalAddress: 10.199.173.192, user: root, password: "1234"}
  - {name: 5052-2, address: 10.199.173.254, internalAddress: 10.199.173.254, user: root, password: "1234"}
  - {name: 5052-3, address: 10.199.173.28, internalAddress: 10.199.173.28, user: root, password: "1234"}
  - {name: 5052-4, address: 10.199.173.249, internalAddress: 10.199.173.249, user: root, password: "1234"}
  roleGroups:
    etcd:
    - 5052-1
    control-plane: 
    - 5052-1
    worker:
    - 5052-1
    - 5052-2
    - 5052-3
    - 5052-4
  controlPlaneEndpoint:
    ## Internal loadbalancer for apiservers 
    # internalLoadbalancer: haproxy

    domain: lb.kubesphere.local
    address: ""
    port: 6443
  kubernetes:
    version: -f
    clusterName: cluster.local
    autoRenewCerts: true
    containerManager: 
  etcd:
    type: kubekey
  network:
    plugin: calico
    kubePodsCIDR: 10.233.64.0/18
    kubeServiceCIDR: 10.233.0.0/18
    ## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
    multusCNI:
      enabled: false
  registry:
    privateRegistry: ""
    namespaceOverride: ""
    registryMirrors: []
    insecureRegistries: []
  addons: []



---
apiVersion: installer.kubesphere.io/v1alpha1
kind: ClusterConfiguration
metadata:
  name: ks-installer
  namespace: kubesphere-system
  labels:
    version: v3.3.2
spec:
  persistence:
    storageClass: ""
  authentication:
    jwtSecret: ""
  zone: ""
  local_registry: ""
  namespace_override: ""
  # dev_tag: ""
  etcd:
    monitoring: false
    endpointIps: localhost
    port: 2379
    tlsEnable: true
  common:
    core:
      console:
        enableMultiLogin: true
        port: 30880
        type: NodePort
    # apiserver:
    #  resources: {}
    # controllerManager:
    #  resources: {}
    redis:
      enabled: false
      volumeSize: 2Gi
    openldap:
      enabled: false
      volumeSize: 2Gi
    minio:
      volumeSize: 20Gi
    monitoring:
      # type: external
      endpoint: http://prometheus-operated.kubesphere-monitoring-system.svc:9090
      GPUMonitoring:
        enabled: false
    gpu:
      kinds:
      - resourceName: "nvidia.com/gpu"
        resourceType: "GPU"
        default: true
    es:
      # master:
      #   volumeSize: 4Gi
      #   replicas: 1
      #   resources: {}
      # data:
      #   volumeSize: 20Gi
      #   replicas: 1
      #   resources: {}
      logMaxAge: 7
      elkPrefix: logstash
      basicAuth:
        enabled: false
        username: ""
        password: ""
      externalElasticsearchHost: ""
      externalElasticsearchPort: ""
  alerting:
    enabled: false
    # thanosruler:
    #   replicas: 1
    #   resources: {}
  auditing:
    enabled: false
    # operator:
    #   resources: {}
    # webhook:
    #   resources: {}
  devops:
    enabled: false
    # resources: {}
    jenkinsMemoryLim: 8Gi
    jenkinsMemoryReq: 4Gi
    jenkinsVolumeSize: 8Gi
  events:
    enabled: false
    # operator:
    #   resources: {}
    # exporter:
    #   resources: {}
    # ruler:
    #   enabled: true
    #   replicas: 2
    #   resources: {}
  logging:
    enabled: false
    logsidecar:
      enabled: true
      replicas: 2
      # resources: {}
  metrics_server:
    enabled: false
  monitoring:
    storageClass: ""
    node_exporter:
      port: 9100
      # resources: {}
    # kube_rbac_proxy:
    #   resources: {}
    # kube_state_metrics:
    #   resources: {}
    # prometheus:
    #   replicas: 1
    #   volumeSize: 20Gi
    #   resources: {}
    #   operator:
    #     resources: {}
    # alertmanager:
    #   replicas: 1
    #   resources: {}
    # notification_manager:
    #   resources: {}
    #   operator:
    #     resources: {}
    #   proxy:
    #     resources: {}
    gpu:
      nvidia_dcgm_exporter:
        enabled: false
        # resources: {}
  multicluster:
    clusterRole: none
  network:
    networkpolicy:
      enabled: false
    ippool:
      type: none
    topology:
      type: none
  openpitrix:
    store:
      enabled: false
  servicemesh:
    enabled: false
    istio:
      components:
        ingressGateways:
        - name: istio-ingressgateway
          enabled: false
        cni:
          enabled: false
  edgeruntime:
    enabled: false
    kubeedge:
      enabled: false
      cloudCore:
        cloudHub:
          advertiseAddress:
            - ""
        service:
          cloudhubNodePort: "30000"
          cloudhubQuicNodePort: "30001"
          cloudhubHttpsNodePort: "30002"
          cloudstreamNodePort: "30003"
          tunnelNodePort: "30004"
        # resources: {}
        # hostNetWork: false
      iptables-manager:
        enabled: true
        mode: "external"
        # resources: {}
      # edgeService:
      #   resources: {}
  terminal:
    timeout: 600

A clear and concise description of what happend.

进行create的时候卡在了downloading amd64 kubecni v1.2.0 ...
root@5052-1:/home/kubekey# ./kk create cluster config-sample.yaml


| | / / | | | | / /
| |/ / _ | |_ | |/ / ___ _ _
| | | | | '
\ / _ \ \ / _ \ | | |
| |\ \ |
| | |
) | / |\ \ / || |
_| _/_
,|./ _
_| _/___|_, |
/ |
|
/

06:37:45 UTC [GreetingsModule] Greetings
06:37:46 UTC message: [5052-1]
Greetings, KubeKey!
06:37:46 UTC success: [5052-1]
06:37:46 UTC [NodePreCheckModule] A pre-check on nodes
06:37:46 UTC success: [5052-1]
06:37:46 UTC [ConfirmModule] Display confirmation form
+--------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| name | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker | containerd | nfs client | ceph client | glusterfs client | time |
+--------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| 5052-1 | y | y | y | y | y | y | | y | | 27.1.1 | 1.7.19 | | | | UTC 06:37:46 |
+--------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+

This is a simple check of your environment.
Before installation, ensure that your machines meet all requirements specified at
https://github.com/kubesphere/kubekey#requirements-and-recommendations

Continue this installation? [yes/no]: yes
06:37:48 UTC success: [LocalHost]
06:37:48 UTC [NodeBinariesModule] Download installation binaries
06:37:48 UTC message: [localhost]
downloading amd64 kubeadm v1.23.10 ...
06:37:49 UTC message: [localhost]
kubeadm is existed
06:37:49 UTC message: [localhost]
downloading amd64 kubelet v1.23.10 ...
06:37:50 UTC message: [localhost]
kubelet is existed
06:37:50 UTC message: [localhost]
downloading amd64 kubectl v1.23.10 ...
06:37:50 UTC message: [localhost]
kubectl is existed
06:37:50 UTC message: [localhost]
downloading amd64 helm v3.9.0 ...
06:37:50 UTC message: [localhost]
helm is existed
06:37:50 UTC message: [localhost]
downloading amd64 kubecni v1.2.0 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0

Relevant log output

No response

Additional information

No response

@XCYXHL XCYXHL added the bug Something isn't working label Aug 12, 2024
@liangzai006
Copy link
Collaborator

你环境能访问google? 不能的话执行 export KKZONE=cn

@victorming666
Copy link

执行了export KNZONE=cn没有用,做的太烂了

@lvwkpt
Copy link

lvwkpt commented Sep 29, 2024

执行了export KNZONE=cn没有用,做的太烂了

确实“很烂”。 KKZONE ===== KNZONE。 不要再用了 ,不要再用了。

@rabbit-living
Copy link

执行了export KNZONE=cn没有用,做的太烂了

字母都能打错,真是太菜了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants