Missing OVF context can cause multiple problems when using vSphere Replication. These problems include, but are not limited to the following:
Bad exit code: 1
.The OVF context of the vSphere Replication appliance might be lost or corrupted due to some of the following circumstances:
/opt/vmware/etc/vami/ovfEnv.xml
file. The file should contain the following properties:evs:GuestApi/evs:URL
evs:GuestApi/evs:Token
evs:GuestApi/evs:X509Thumbprint
evs:VCenterApi/evs:IP
evs:VCenterApi/evs:X509Thumbprint
evs:VCenterApi/evs:HttpPort
evs:VCenterApi/evs:HttpsPort
evs:VCenterApi/evs:SelfMoRef
evs:VCenterApi/evs:Address
If the /opt/vmware/etc/vami/ovfEnv.xml
file is empty or does not contain some of the properties listed above, the vSphere Replication appliance is missing an OVF context.
The OVF environment is restored and you can upgrade the vSphere Replication appliance.