VMware Communities
VILLEMONTREAL
Contributor
Contributor

An error occurred while saving the snapshot: 22 (Invalid argument).

did someone have this issue when his esxi server :

An error occurred while saving the snapshot: 22 (Invalid argument).

when you try to create a snapshot for any VM

thanky ou

Reply
0 Kudos
7 Replies
szafa
Enthusiast
Enthusiast

Hi VILLEMONTREAL

- All VM's or just some?

- Did the snapshot work before if so what was changed?

- VC and ESXi version?

- Are you using vSAN datastore for those VM? If so make sure that correct vSAN license is applied to vSAN cluster

If you like to check it on host level just SSH to one of the vSAN hosts and run below

grep LicensedFeatures /etc/vmware/esx.conf

You might need to reapply the licence.

- If you are using standard VMFS datastore please check logs. I'd start with vmware.log that you can find in VM home folder, this should give you more information about root of that issue

Reply
0 Kudos
VILLEMONTREAL
Contributor
Contributor

Snapshoot was working before

i am using VC Version 6.0.0 Build 3617395 and esxi

ESXi   VMware vSphere 6 Enterprise Plus (CPUs)

I  am using vSAN licensed

Reply
0 Kudos
szafa
Enthusiast
Enthusiast

Please check on each host if vCenter is pushing the licence feature to host :

grep LicensedFeatures /etc/vmware/esx.conf

Provide output of above grep command

Reply
0 Kudos
VILLEMONTREAL
Contributor
Contributor

grep LicensedFeatures /etc/vmware/esx.conf 

Nothing in th efile and it was working before :

the command status is : /adv/VSAN/LicensedFeatures = ""

Reply
0 Kudos
szafa
Enthusiast
Enthusiast

OK, so VC is not pushing vSAN license to host, please try to reapply vSAN licence on vSAN cluster level if still no maybe there is some issue with licensing service on PSC so try to restart services or reboot VC/PSC if still no you open case with VMware licensing team

VMware Knowledge Base

Reply
0 Kudos
VILLEMONTREAL
Contributor
Contributor

it was the the VC server not pushing the license i rebooted it and check all service and i push the license again from the console :

  1. In the vSphere Web Client, navigate to a cluster with enabled Virtual SAN.
  2. On the Manage tab, click Settings.
  3. Under Configuration, select Virtual SAN Licensing and click Assign License Key.
  4. Select a licensing option.

and all works perfect

thank you for your help

have good day

Reply
0 Kudos
szafa
Enthusiast
Enthusiast

great Smiley Happy, please mark that topic as resolved

Reply
0 Kudos