Invalid Type, expected String, instead got NoneType
Invalid Type, expected String, instead got NoneType
var/log/vmware/applmgmt/PatchRunner.log
the following messages are present:2021-10-27T08:03:57.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 executeHook
patch_errors.ComponentError
2021-10-27T08:03:58.206Z WARNING root stopping status aggregation...
2021-10-27T08:03:58.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 schema
There 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>' objectGuid
ldapdelete -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:a53354d4-ef65-4a34-b477-8edc1d4e3d20,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