nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
102 stars 53 forks source link

dockermachines "regional" not starting #805

Open platyman opened 3 weeks ago

platyman commented 3 weeks ago

Hello, I'm trying to follow the tutorial for installing nephio and its integratoin with free5gc and ueransim but I'm running into a problem. None of the dockermachines seem to start, which, because the chain depends on the regional-tk5tq-5mws4 machine, prevents the machineset from starting. Here is the result of the "kubectl describe dockermachines regional-tk5tq-5mws4" command

Name:         regional-tk5tq-5mws4
Namespace:    default
Labels:       cluster.x-k8s.io/cluster-name=regional
              cluster.x-k8s.io/control-plane=
              cluster.x-k8s.io/control-plane-name=regional-tk5tq
              topology.cluster.x-k8s.io/owned=
Annotations:  cluster.x-k8s.io/cloned-from-groupkind: DockerMachineTemplate.infrastructure.cluster.x-k8s.io
              cluster.x-k8s.io/cloned-from-name: regional-dk66p
API Version:  infrastructure.cluster.x-k8s.io/v1beta1
Kind:         DockerMachine
Metadata:
  Creation Timestamp:  2024-08-30T09:14:07Z
  Finalizers:
    dockermachine.infrastructure.cluster.x-k8s.io
  Generation:  1
  Owner References:
    API Version:           cluster.x-k8s.io/v1beta1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  Machine
    Name:                  regional-tk5tq-5mws4
    UID:                   96044aed-42e1-4098-a757-3ebd83a1953c
  Resource Version:        17059
  UID:                     601a55d6-fc9d-44b5-95ae-5d34cf26c1ad
Spec:
  Custom Image:  kindest/node:v1.31.0
  Extra Mounts:
    Container Path:  /var/run/docker.sock
    Host Path:       /var/run/docker.sock
    Container Path:  /opt/cni/bin
    Host Path:       /opt/cni/bin
Status:
  Conditions:
    Last Transition Time:    2024-08-30T09:17:22Z
    Message:                 1 of 2 completed
    Reason:                  BootstrapFailed
    Severity:                Warning
    Status:                  False
    Type:                    Ready
    Last Transition Time:    2024-08-30T09:17:22Z
    Message:                 Repeating bootstrap
    Reason:                  BootstrapFailed
    Severity:                Warning
    Status:                  False
    Type:                    BootstrapExecSucceeded
    Last Transition Time:    2024-08-30T09:17:22Z
    Status:                  True
    Type:                    ContainerProvisioned
  Load Balancer Configured:  true
Events:                      <none>

I installed nephio using the installation scrypt on an ubuntu20.04 VM. Does anyone have any idea what might be causing the problem?

platyman commented 2 weeks ago

Hello, I've finally managed to solve my problem, which seemed to come from my specifications. I was using an HDD and as soon as I replaced it with an SSD (much faster) everything worked properly. It might be a good idea to modify the installation minimal configuration to add this condition