You get the below error while creating a new deploy rule with a custom image.
An error occured while performing the task Something went wrong while converting items to pxe profile:(vmodl.fault.SystemError) {dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'Invalid Fault',
faultCause = (imagebuilder.fault.IbFault) {dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [], msg = 'Unable to obtain XML schema: Error loading schema XML data: Error reading file \'/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng\': failed to load external entity "/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng".',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [
(vmodl.LocalizableMessage) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
key = '',
arg = (vmodl.KeyAnyValue) [],
message = 'Unable to obtain XML schema: Error loading schema XML data: Error reading file \'/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng\': failed to load external entity "/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng".'
}
],
errorCode = 0,
errorMessage = (vmodl.LocalizableMessage) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
key = '',
arg = (vmodl.KeyAnyValue) [],
message = 'Unable to obtain XML schema: Error loading schema XML data: Error reading file \'/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng\': failed to load external entity "/usr/lib/vmware-imagebuilder/etc/schemas/vib20-extensibility.rng".'
},additionalData = (vmodl.KeyAnyValue) []
},faultMessage = (vmodl.LocalizableMessage) [],
reason = 'Method DepotManagerDownloadVib threw undeclared fault of type imagebuilder.fault.IbFault'}
This issue is resolved in VMware vCenter Server 6.5 Update 1d.
* VMware vCenter Server 6.5 Update 1d Release Notes
https://docs.vmware.com/en/VMware-vSphere/6.5/rn/vsphere-vcenter-server-65u1d-release-notes.html#auto-deploy-issues-resolved