The name <Folder name> already exists' /var/log/vmware/vpxd/vpxd.log reveals a vim.fault.DuplicateName exception.error vpxd[772476] [Originator@6876 sub=Default opID=######-####-auto-ces-h5:######-2] [VpxLRO] -- ERROR task-4088 -- #####-###-###-###-####(#####-####-####-####-######) -- group-##-- vim.Folder.createFolder: :vim.fault.DuplicateName
--> Result:
--> (vim.fault.DuplicateName) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> name = "<Folder_Name>",
--> object = 'vim.Folder:#####-####-####-####-#####:group-####'
--> msg = ""
--> }
--> Args:
-->
--> Arg name:
--> "<Folder_Name>"
psql utility confirms that the folder is already present in the database./opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "select * from vpx_entity where name like '%<Folder_Name>%'"A user or an automated provisioning task is attempting to create a new folder using a name that is already in use. The requested folder name conflicts with an existing object in the current inventory hierarchy.
To identify the user or automated task that created the conflicting folder, review the vCenter logs:
grep -i '<Account name>' /var/log/vmware/sso/websso.logINFO websso[55: tomcat-http--9] [CorId=####-###-###-###-#####] Authentication succeeded for user [Account_name] in tenant [domain.local] with provider [DC_Name] of type [LdapWithAdMappingsProvider] Client: initiator_IP Description: User user@domain@initiator_IP logged in successfully (Response Code: 200)
grep -i vim.Folder.createFolder /var/log/vpxd/vpxd.loginfo vpxd[06512] [Originator@6876 sub=vpxLro opID=####] [VpxLRO] -- BEGIN task-###-- group-## -- vim.Folder.createFolder -- ######-####-###-###-#####(#####-###-###-###-######) info vpxd[06512] [Originator@6876 sub=vpxLro opID=###] [VpxLRO] -- FINISH task-####
grep -i isVmFolder envoy-access.log /var/log/envoy/envoy-access.loginfo envoy[2306] [Originator@6876 sub=Default] ###-###-##T##:##:##.##ZPOST /ui/data/propertiesWithParameters/urn:vmomi:Folder:group-n###:####-###-###-###-#####?properties=name,primaryIconId,isRootFolder,isVmFolder,isDatacenterFolder,isNetworkFolder,isStorageFolder,isHostFolder,hasPrivileges HTTP/2 200 via_upstream - ### ### 6 6 0 initiator_IPaddress: Port TLSv1.2 <VC_IPaddress>:443 127.0.0.1:39760 - 127.0.0.1:5090
Any scheduled automation tasks are responsible for creating the folder.
A third-party application is configured to recreate the folder.
(Optional) Consider updating the source application to prevent duplicate folder creation