Solved

vsphere CSI Error - Failed to snapshot volumes

  • 21 February 2022
  • 9 comments
  • 703 views

We have a problem with CSI in TKG cluster when make a snapshot backup. I have created the infrastructure profile.

 

 

 

icon

Best answer by Pablo_Madriaga 28 March 2022, 14:27

View original

9 comments

Userlevel 2

Hi, thanks for posting in the forums. Can you provide some details about the environment? What version of vSphere (ESXi and vCenter)? What edition of Tanzu are you running? What kubernetes release version and what version of the vSphere CSI? Also, prior to installing Kasten K10, did you run the “pre-flight check” primer utility? https://docs.kasten.io/latest/install/requirements.html#install-prereqs

Could you run this utility and paste the results in the thread?

 

Hello Adam, these are data:

Vcenter: vsphere 7.0.2

Esxi: 7.0.2

Running Vsphere With Tanzu: TKGI cluster v1.18.5+vmware.1-tkg.1.c40d30d

Kubernetes Release: v1.18.5

vSphere CSI: csi.vsphere.vmware.com

Image CSI: vmware.io/vsphere-csi:v0.0.1.alpha_vmare.79-7ecdcb1

pre-flight check: in attachments (check.txt)

 

On check i see the following error:

CSI Capabilities Check:
  VolumeSnapshot CRD-based APIs are not installed  -  Error

 

The dashboard seems to work fine, but it does not make backups.

 

Userlevel 2

I believe version 2.2 of the vSphere CSI was the last one to support Kubernetes version 1.18.

https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.2/rn/vmware-vsphere-container-storage-plugin-22-release-notes/index.html

Also, don’t forget about the vSphere infrastructure profile section in Kasten K10 GUI: https://docs.kasten.io/latest/install/storage.html#vsphere-profile

The version of the vSphere CSI should be correct, because tkg built-in clusters are created automatically, it does work with vms templates, which then implements the necessary pods for CSI and other products to work.

Either way, is it possible that the following has something to do with it?

TKGS clusters are supported via K10 Generic Volume Backup. See https://docs.kasten.io/latest/install/generic.html.

 

Userlevel 6
Badge +2

@Pablo_Madriaga I believe you are using Tanzu Kubernetes Grid Service(TKGs)/Vsphere with Tanzu.

In that case, K10 infrastructure profile doesn’t support TKGs yet.

It is on the roadmap and will be supported in future.

@Pablo_Madriaga I believe you are using Tanzu Kubernetes Grid Service(TKGs)/Vsphere with Tanzu.

In that case, K10 infrastructure profile doesn’t support TKGs yet.

It is on the roadmap and will be supported in future.

 

Is there a link on the official page about this? I was able to find the following link:
https://www.kasten.io/partner-vmware
Although it is not very specific

Userlevel 6
Badge +2

@Pablo_Madriaga I understand that this is not mentioned in our documentation. I will see if this can be added to the Vsphere integration page. 

@Pablo_Madriaga Did you get this issue sorted out, I see the same error in the pre-flight check: CSI “Capabilities Check:
  VolumeSnapshot CRD-based APIs are not installed  -  Error”

Wondering if you got K10 working correctly and how you went about that.

Thanks.

@Pablo_Madriaga Did you get this issue sorted out, I see the same error in the pre-flight check: CSI “Capabilities Check:
  VolumeSnapshot CRD-based APIs are not installed  -  Error”

Wondering if you got K10 working correctly and how you went about that.

Thanks.

 

@jaiganeshjk says:

Tanzu Kubernetes Grid Service(TKGs)/Vsphere with Tanzu.

In that case, K10 infrastructure profile doesn’t support TKGs yet.

Comment