Symptoms:
YYYY-MM-DDTHH:MM:SSZ INFO deployer.migration_env_deployer Installing extension -- com.vmware.migrate-connector.127.0.0.1
YYYY-MM-DDTHH:MM:SSZ ERROR deployer.migration_env_deployer General deployment error
Traceback (most recent call last):
File "/tmp/vmware-upgrade-temp-dir4mUgMXnAt0/tmpwG3wNKcvhL/py/deployer/migration_env_deployer.py", line 82, in _registerExtension
em.RegisterExtension(ext)
File "/tmp/vmware-upgrade-temp-dir4mUgMXnAt0/tmpwG3wNKcvhL/libs/pyVmomi.zip/pyVmomi/VmomiSupport.py", line 592, in <lambda>
self.f(*(self.args + (obj,) + args), **kwargs)
File "/tmp/vmware-upgrade-temp-dir4mUgMXnAt0/tmpwG3wNKcvhL/libs/pyVmomi.zip/pyVmomi/VmomiSupport.py", line 381, in _InvokeMethod
return self._stub.InvokeMethod(self, info, args)
File "/tmp/vmware-upgrade-temp-dir4mUgMXnAt0/tmpwG3wNKcvhL/libs/pyVmomi.zip/pyVmomi/SoapAdapter.py", line 1608, in InvokeMethod
raise obj # pylint: disable-msg=E0702
pyVmomi.VmomiSupport.vmodl.fault.SecurityError: (vmodl.fault.SecurityError) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'Access to perform the operation was denied.',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) []
}
YYYY-MM-DDTHH:MM:SSZ ERROR UpgradeRunner Cannot continue upgrade story because of -- General error: (vmodl.fault.SecurityError) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'Access to perform the operation was denied.',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) []
} (cause VC_GENERAL_ERROR)
YYYY-MM-DDTHH:MM:SSZ INFO output.requirements_result_producer Setting storage partitions for component 'upgrade_framework'.
YYYY-MM-DDTHH:MM:SSZ INFO output.requirements_result_producer Persisting preupgrade result :[
{
"name": "upgrade_framework",
"requirements": {
"userOptionSpecs": [],
"installArguments": {},
"srcPorts": [],
"extraArguments": {
"legacySsoAdminEndpoint": null,
"legacyStsUrl": null,
"legacySsoFqdn": null,
"legacySsoHttpsPort": null,
"legacyCpuCores": 12,
"legacySsoIps": null
},
"coreRequirement": {
"requiredDstDiskSpace": {},
"importEstimationTime": 0,
"exportEstimationTime": 0,
"requiredSrcDiskSpace": 0.0
},
"requirementMismatchSpecs": [
{
"problemId": null,
"text": {
"localized": "Internal error occurs during execution of upgrade process.",
"translatable": "Internal error occurs during execution of upgrade process.",
"id": "ur.internal.text"
},
"resolution": {
"localized": "Please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.",
"translatable": "Please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.",
"id": "ur.internal.resolution"
},
"severity": "ERROR",
"description": null
}
],
"dstPortSpecs": []
},
"installedOn": "localhost",
"optional": false
}
]
YYYY-MM-DDTHH:MM:SSZ info vpxd[22193] [Originator@6876 sub=Default opID=4ae70e1d] [VpxLRO] -- ERROR lro-584131739 -- ExtensionManager -- vim.ExtensionManager.registerExtension: vmodl.fault.SecurityError:
--> Result:
--> (vmodl.fault.SecurityError) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>
--> msg = "Received SOAP response fault from [<cs p:00007fea30003670, TCP:Example.com:443>]: create
--> "
--> }
--> Args:
-->
--> Arg extension:
--> (vim.Extension) {
--> description = (vim.Description) {
--> label = "MigrationExtension",
--> summary = "Migration connector"
--> },
--> key = "com.vmware.migrate-connector.127.0.0.1",
--> company = "VMware, Inc.",
--> type = <unset>,
--> version = "7.0",
--> subjectName = <unset>,
--> server = <unset>,
--> client = <unset>,
--> taskList = <unset>,
--> eventList = <unset>,
--> faultList = <unset>,
--> privilegeList = <unset>,
--> resourceList = <unset>,
--> lastHeartbeatTime = "YYYY-MM-DDTHH:MM:SSZ",
--> healthInfo = (vim.Extension.HealthInfo) null,
--> ovfConsumerInfo = (vim.Extension.OvfConsumerInfo) null,
--> extendedProductInfo = (vim.ext.ExtendedProductInfo) null,
--> managedEntityInfo = <unset>,
--> shownInSolutionManager = <unset>,
--> solutionManagerInfo = (vim.ext.SolutionManagerInfo) null
--> }
YYYY-MM-DDTHH:MM:HHZ pool-2-thread-9010 vsphere.local yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy INFO com.vmware.identity.idm.server.provider.vmwdirectory.VMwareDirectoryProvider] Cannot find solution user [vpxd-########-####-####-####-############@yourdomain.local] in [CN=ServicePrincipals,DC=vsphere,DC=local]
VMware vCenter Server 6.7
VMware vCenter Server 7.x
The Solution user mentioned in vmware-sts-idmd.log logs is incorrect.
To resolve the issue update the correct solution user in vpxd.cfg:
NOTE: Before applying the steps below, please take a backup or an offline-snapshot (in powered-off state) of the vCenter Server Appliance . If the vCenter is part of a Linked Mode replication setup, please backup/snapshot all replicating nodes as well. Please refer: VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice
/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost
<solutionUser>
<certificate>/etc/vmware-vpx/ssl/vcsoluser.crt</certificate>
<name>vpxd-########-####-####-####-############@yourdomain.local</name>
<privateKey>/etc/vmware-vpx/ssl/vcsoluser.key</privateKey>
</solutionUser>
service-control --stop --all && service-control --start --all