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

kind workload clusters missing storage class (free5gc mongo db not coming up) #256

Closed
johnbelamaric opened this issue Jun 3, 2023 · 9 comments
Assignees
Milestone

Comments

@johnbelamaric
Copy link
Member

Following the steps in nephio-project/test-infra#61 up through step 8, I see the free5gc-cp bring up is stalled.

ubuntu@nephio-r1-e2e:~$ kubectl --kubeconfig edge02-kubeconfig -n free5gc-cp describe pvc datadir-mongodb-0
Name:          datadir-mongodb-0
Namespace:     free5gc-cp
StorageClass:  
Status:        Pending
Volume:        
Labels:        app.kubernetes.io/component=mongodb
               app.kubernetes.io/instance=free5gc
               app.kubernetes.io/name=mongodb
Annotations:   <none>
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      
Access Modes:  
VolumeMode:    Filesystem
Used By:       mongodb-0
Events:
  Type    Reason         Age                     From                         Message
  ----    ------         ----                    ----                         -------
  Normal  FailedBinding  4m59s (x482 over 125m)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
ubuntu@nephio-r1-e2e:~$ 
@johnbelamaric johnbelamaric added this to the sprint5 milestone Jun 5, 2023
@johnbelamaric
Copy link
Member Author

No default storage class set:

Management cluster:

NAME                 PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
standard (default)   rancher.io/local-path   Delete          WaitForFirstConsumer   false                  11h

Workload cluster:

ubuntu@nephio-2004-e2e:~$ kubectl --kubeconfig edge01-kubeconfig get storageclasses
No resources found
ubuntu@nephio-2004-e2e:~$ 

@johnbelamaric
Copy link
Member Author

Presumably a fix is needed in one of the cluster-capi-* packages in the nephio-example-packages

@henderiw
Copy link
Contributor

henderiw commented Jun 5, 2023

can you apple this to see if it works?

kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.24/deploy/local-path-storage.yaml

if so we have to build a package with this and add it like the CNI to the mgmt staging repo for the bootstrapped to pick it up and install.

@johnbelamaric
Copy link
Member Author

/assign @denysaleksandrov

@denysaleksandrov
Copy link
Member

@johnbelamaric
Copy link
Member Author

  • need to tag package above as
  • need to include in nephio-workload-cluster
  • @denysaleksandrov what were the additional steps needed?

@henderiw
Copy link
Contributor

henderiw commented Jun 6, 2023

this is the package we need to update.

nephio-example-packages % ls nephio-workload-cluster

resource-backend/app/controller/deployment-controller.yaml: - name: RESOURCE_BACKEND
henderiw@MacBook-Pro nephio-example-packages % ls nephio-workload-cluster
Kptfile apply-replacements.yaml pv-cluster.yaml pv-kindnet.yaml pv-rootsync.yaml
README.md package-context.yaml pv-configsync.yaml pv-repo.yaml workload-cluster.yaml

it is similar to the pv-kindnet.yaml

@denysaleksandrov
Copy link
Member

nephio-project/nephio-example-packages#45

@johnbelamaric
Copy link
Member Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants