...
Cannot create an autodeploy rule or delete an ESXi bundle after certificate replacement or upgradeYou can get an error: The last operation failied for the entity with the following error message.Invalid FaultCause:Cannot complete login due to incorrect user name or password Imagebuilder.log:2019-10-30T18:53:34 [26236][depot-queue-watcher]ERROR:DepotManager:Unexpected error: (vim.fault.InvalidLogin) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = 'Cannot complete login due to an incorrect user name or password.', faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) []}Traceback (most recent call last): File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/vmodl_impl/DepotManager.py", line 387, in _processDepotQueue T.activation_id) File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/plugins.py", line 185, in create_vc_task content = si.RetrieveContent() File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 557, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 363, in _InvokeMethod return self._stub.InvokeMethod(self, info, args) File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1647, in InvokeMethod self._CallLoginMethod() File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1708, in _CallLoginMethod self.loginMethod(self.soapStub) File "/usr/lib/vmware/site-packages/pyVim/connect.py", line 100, in _doLogin si.content.sessionManager.LoginExtensionByCertificate(extensionKey) File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 557, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 363, in _InvokeMethod return self._stub.InvokeMethod(self, info, args) File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1418, in InvokeMethod raise obj # pylint: disable-msg=E0702pyVmomi.VmomiSupport.vim.fault.InvalidLogin: (vim.fault.InvalidLogin) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = 'Cannot complete login due to an incorrect user name or password.', faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) []}2019-10-30T18:53:39 [26236][vb-6740:DepotDataProviderAdapter:29953-373954-ngc:70006400]INFO:authorizer:privId is not given in method QueryDepotManager by VC session 52422a66-25f8-dbad-df96-3b3762d2d2bf2019-10-30T18:53:39 [26236][Thread-4]INFO:PyVmomiServer:('127.0.0.1', 53184) - - "POST /vmw/imagebuilder/vmomi HTTP/1.1" 200 -2019-10-30T18:53:39 [26236][vb-6740:DepotDat
To solve this issue follow the below steps given below: Take snapshot of the vCenterNavigate to the mob by going to the URL: https://<vc address>/mob/Authenticate using the admin password.Click 'content'Click 'extensionManager'Click 'UnregisterExtension' from the table below, a new window will pop-up.Type in 'com.vmware.imagebuilder' (without the quotes) into the text field and click 'Invoke Method'. You should see 'Method Invocation Result: void' below.Restart the imagebuilder service and try to create/add/edit the depot again.