Invalid Type, expected String, instead got NoneTypeInvalid Type, expected String, instead got NoneTypevar/log/vmware/applmgmt/PatchRunner.log the following messages are present:YYYY-MM-DDTHH:MM:SS.203Z ERROR vmware_b2b.patching.phases.patcher Patch hook Patch got ComponentWrapperError.
Traceback (most recent call last):File "/storage/seat/software-updateg44qbjxq/stage/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 203, in patch_patchComponents(ctx, userData, statusAggregator.reportingQueue)File "/storage/seat/software-updateg44qbjxq/stage/scripts/patches/py/vmware_b2b/patching/executor/execution_facade.py", line 53, in executeHookpatch_errors.ComponentErrorYYYY-MM-DDTHH:MM:SS.206Z WARNING root stopping status aggregation...YYYY-MM-DDTHH:MM:SS.207Z ERROR __main__ Patch vCSA failed
raise InternalError("Vmware Directory Service failed to delete legacy schema")patch_errors.InternalError: Vmware Directory Service failed to delete legacy schemaThere is a Legacy VMDIR Schema present in the VMDIR Database
Remove the legacy schema using the following steps:
Note: Take offline snapshots/backup of the vCenter before applying the workaround. If this is an Enhanced Link Mode environment, make sure all the nodes are powered down at the same time before taking the snapshot to prevent replication differences
ldapsearch -o ldif-wrap=no -LLL -h localhost -b "cn=aggregate,cn=schemacontext" -s sub -D "cn=Administrator,cn=Users,dc=upr,dc=local" -w '<your_SSO_password>' objectGuidldapdelete -h localhost -x -D "cn=administrator,cn=users,dc=upr,dc=local" -w '<your_SSO_password>' "cn=aggregate,cn=schemacontext"ldapdelete -h localhost -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -w '<your_SSO_password>' "cn=aggregate#objectGUID:XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,cn=Deleted Objects,dc=kccvsphere,dc=local"ldapdelete -h localhost -x -D "cn=administrator,cn=users,dc=upr,dc=local" -w '<your_SSO_password>' "cn=aggregate#objectGUID:a53354d4-ef65-4a34-b477-8edc1d4e3d20,cn=Deleted Objects,dc=upr,dc=local"service-control --stop --all && service-control --start --all