Code Monkey home page Code Monkey logo

Comments (2)

Yitozu avatar Yitozu commented on June 11, 2024

I also had this problem with 1.2.0: common-kadalu has 99 PVS, but there are actually not that many, I also found doing

[root@openstack-hdp01 ~]# kubectl -n kadalu exec -it kadalu-csi-provisioner-0 -c kadalu-provisioner -- bash
root@kadalu-csi-provisioner-0:/# df -h /mnt/common-kadalu
The result of the command is inconsistent with that of kubectl kadalu storage-list --status
[root@openstack-hdp01 ~]# kubectl kadalu storage-list --status
Failed to get size details of the storage "conf-kadalu"
error 1 command terminated with exit code 1


Failed to get size details of the storage "demo-kadalu"
error 1 command terminated with exit code 1



Name             Type        Utilization            Pvs Count      Min PV Size      Avg PV Size      Max PV Size
common-kadalu    Replica2    8 Ti/14 Ti (61%)              99             1 Gi            92 Gi           500 Gi  
conf-kadalu      Replica2    0/0 (0%)                       0                0                0                0  
demo-kadalu      Replica2    0/0 (0%)                       0                0                0                0  
graph-kadalu     Replica2    1 Ti/14 Ti (12%)               6           300 Gi           300 Gi           300 Gi  
project-kadalu   Replica3    454 Gi/14 Ti (3%)             19             5 Gi            23 Gi           100 Gi  
[root@openstack-hdp01 ~]# kubectl kadalu remove-archived-pv server-common-kadalu-0-0
Aborting.....
Invalid name. No such storage 'server-common-kadalu-0-0' in Kadalu configmap.
[root@openstack-hdp01 ~]# kubectl -n kadalu exec -it kadalu-csi-provisioner-0 -c kadalu-provisioner -- bash 
root@kadalu-csi-provisioner-0:/# df -h /mnt/common-kadalu
Filesystem            Size  Used Avail Use% Mounted on
kadalu:common-kadalu   15T  4.5T  9.5T  32% /mnt/common-kadalu
root@kadalu-csi-provisioner-0:/# exit
exit
You have mail in /var/spool/mail/root
[root@openstack-hdp01 ~]# kubectl kadalu storage-list --status
Failed to get size details of the storage "conf-kadalu"
error 1 command terminated with exit code 1


Failed to get size details of the storage "demo-kadalu"
error 1 command terminated with exit code 1



Name             Type        Utilization            Pvs Count      Min PV Size      Avg PV Size      Max PV Size
common-kadalu    Replica2    8 Ti/14 Ti (61%)              99             1 Gi            92 Gi           500 Gi  
conf-kadalu      Replica2    0/0 (0%)                       0                0                0                0  
demo-kadalu      Replica2    0/0 (0%)                       0                0                0                0  
graph-kadalu     Replica2    1 Ti/14 Ti (12%)               6           300 Gi           300 Gi           300 Gi  
project-kadalu   Replica3    454 Gi/14 Ti (3%)             19             5 Gi            23 Gi           100 Gi  
[root@openstack-hdp01 ~]# kubectl -n kadalu exec -it kadalu-csi-provisioner-0 -c kadalu-provisioner -- bash 
root@kadalu-csi-provisioner-0:/# df -h /mnt/common-kadalu
Filesystem            Size  Used Avail Use% Mounted on
kadalu:common-kadalu   15T  4.5T  9.5T  32% /mnt/common-kadalu
root@kadalu-csi-provisioner-0:/# 

from kadalu.

leelavg avatar leelavg commented on June 11, 2024
Failed to get size details of the storage "conf-kadalu"
error 1 command terminated with exit code 1


Failed to get size details of the storage "demo-kadalu"
error 1 command terminated with exit code 1
  • so you have removed these volumes (kds) but these aren't cleaned up in the backend configmap, need to look at it

kubectl-kadalu plugin: 1.0.0 <-------- THIS WAS NOT UPDATED

  • I don't think the plugin is self updated, you need to do that manually or via krew

May I know what are the pools that you have now, the listing differs above so it's confusing, what's k get kds -A, k get pv | grep -i kadalu

I believe the underlying issue is kadalu configmap and CRs are out of sync. Let's tackle one by one.

from kadalu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.