Cannot include more than one item of the same type -- rbd.PxeProfile
search cancel

Cannot include more than one item of the same type -- rbd.PxeProfile

book

Article ID: 396098

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

- Users are unable to edit existing or create new Auto Deploy rules.

-  Attempts to modify or create Auto Deploy rules failed with the following error : "Cannot include more than one item of the same type -- rbd.PxeProfile"

- An error similar to the following may be present in the rbd-syslog.log file:

####-##-##T##:##:##.### [1726415:UpdateSpecWithTransform-task-1241585]ERROR:rule:Update rule spec failed: Cannot include more than one item of the same type -- rbd.PxeProfile
Traceback (most recent call last):
  File "bora/install/vmvisor/autodeploy/site-packages/vmware/rbd/vmodl_impl/rule.py", line 49, in _updateSpecWithTransform
  File "bora/install/vmvisor/autodeploy/site-packages/vmware/rbd/vmodl_impl/rule.py", line 314, in _updateSpec
  File "bora/install/vmvisor/autodeploy/site-packages/vmware/rbd/vmodl_impl/rule_manager.py", line 602, in ValidateRuleSpec
  File "bora/install/vmvisor/autodeploy/site-packages/vmware/rbd/vmodl_impl/rule_manager.py", line 341, in _validateRuleSpec
pyVmomi.VmomiSupport.rbd.fault.InvalidRuleSpecFault: (rbd.fault.InvalidRuleSpecFault) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   msg = 'Cannot include more than one item of the same type -- rbd.PxeProfile',
   faultCause = <unset>,
   faultMessage = (vmodl.LocalizableMessage) []
}

Environment

VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x

Cause

This error occurs due to the presence of multiple image profiles with identical names across different software depots causing conflicts when applying or editing Auto Deploy rules.

Resolution

Kindly follow the below steps to resolve the issue:

    - Review all configured software depots for duplicate image profiles.
    - Identify and remove image profiles with the same name from multiple depots.
    - If profile removal is not feasible then remove the conflicting software depot instead.