vSAN HCL DB on SDDC Manager is out of date. This is a critical error if vSAN HCL DB has not been updated within the last 90.0 day(s) and a warning if vSAN HCL DB has not been updated within the last 60.0 day(s).
Api call to /v1/vsan-hcl/content failed.
Caused by: java.lang.IllegalArgumentException: URI path begins with multiple slashes
VMware Cloud foundation 5.x
psql -h localhost -U postgres -d lcm
If SDDC Manager is 5.1.1 then use the below command
/usr/pgsql/13/bin/psql -U postgres -h localhost -d lcm
select * from vsan_hcl_attributes;
note down the local_data_timestamp value which records the latest HCL publish date for vsan_hcl_attributes
Note: if the value is outdated and/or not the latest then you get an error/warning as per the threshold value
\q
curl --location 'http://<sddcmanager_fqdn>/v1/tokens' --header 'Content-Type: application/json' --data-raw '{"username":"<SSO_USERNAME>","password":"<SSO_PASSWORD>"}'
curl -X PUT --location 'http://<sddcmanager_fqdn>/v1/vsan-hcl/content' --header 'Authorization: Bearer <put the token grabbed from step 7>' --header 'Content-Type: text/plain' [email protected]