We use an automated pipeline to create VM templates and then register then in Vcenter using govc. Our exact code is:
register-template(){
echo"Registering the template"
GOVC_DATACENTER="${dst_dc}"GOVC_DATASTORE="${dst_ds}" govc vm.register -dump=true-template-host="${host}""${template}/${template}.vmtx"
}
However, I've updated our VCSA appliance from 6.7 to 7.0 and now this command causes the vcenter-service to fail and causes the API endpoints and Vsphere UI to become unresponsive and display the message no object exists . In searching these forums I'm not seeing anyone else having this issue. We're a small shop and don't have SDK support. Does anyone know if there was an API change that might be causing this? Or any other suggest work around? I had to roll our VCSA appliance back to the previous version (6.7) and now the gitlab pipeline that includes this code completes without error.