A general runtime error occurred. An error occurred: vCenter Server AF####E-###B-4###-###1-############ is not available on the server.
/etc/vmware-vpx/instance.cfg from the vCenter SSH session using the below command:-grep instanceUuid /etc/vmware-vpx/instance.cfg
VMware vCenter Server 8.x
In VCDB, content library storageuri is pointing to Uppercase vCenter GUID
Update the storageuri's in vCenter DB such that it references lower case vCenter GUID
The steps to follow are: -
grep instanceUuid /etc/vmware-vpx/instance.cfg
instanceUuid=af###e-###b-4###-###1-############
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
select * from cl_storage;
Sample Output: -
id | storageuri | type
--------------------------------------+------------------------------------------------------------------+-----------
95####7-5##1-4##9-8###-c########47c | Datastore:datastore-2#####5:AF####E-###B-4###-###1-############ | Datastore
50####41-0##6-###a-###0-#########f92 | Datastore:datastore-2#####6:AF####E-###B-4###-###1-############ | Datastore
86####a5-2##2-4##f-8##6-#########eb9 | Datastore:datastore-3#####5:AF####E-###B-4###-###1-############ | Datastore
51#####b-f##7-4##d-a##5-#########b1f | Datastore:datastore-3#####5:AF####E-###B-4###-###1-############ | Datastore
(4 rows)
AF####E-###B-4###-###1-############ is the vCenter GUID currently displayed in uppercase. This is impacting the content library functionality. We need to change this to lowercase.copy cl_storage to '/var/core/cl_storage_backup';
update cl_storage set storageuri='<storageuri output from Step#4 with lower case vCenter GUID>' where id='<id from step#4>';
Sample:
update cl_storage set storageuri='Datastore:datastore-2#####5:af####e-###b-4###-###1-############' where id='95####7-5##1-4##9-8###-c########47c';