applmgmt.log
:[YYYY-MM-DDTHH:MM:SS] [49703]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
[YYYY-MM-DDTHH:MM:SS] [49703]DEBUG:vmware.vapi.bindings.skeleton:Setting execution ctx for the new thread
[YYYY-MM-DDTHH:MM:SS] [49703]INFO:vmware.vapi.lib.thread_pool:Thread-3 caught exception: <class 'com.vmware.vapi.std.errors_provider.NotAllowedInCurrentState'>
[YYYY-MM-DDTHH:MM:SS] [49703]INFO:vmware.vapi.lib.thread_pool:Traceback (most recent call last):
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/lib/thread_pool.py", line 148, in _worker
*work_item.args, **work_item.kwargs)
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/skeleton.py", line 302, in _invoke_method
result = method(**method_args)
File "/usr/lib/applmgmt/supportbundle/py/vmware/appliance/supportbundle/vapi_supportbundle_impl.py", line 134, in create
vapiNotAllowedInCurrentState(TASK_RUNNING_ERROR)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/vapi_errors.py", line 66, in vapiNotAllowedInCurrentState
raise ErrorFactory.new_not_allowed_in_current_state(messages=messages)
com.vmware.vapi.std.errors_provider.NotAllowedInCurrentState: {messages : [{'id': 'com.vmware.appliance.supportbundle.task_running', 'default_message': 'Another support bundle generation task is already in progress.', 'args': []}], data : None, error_type : NOT_ALLOWED_IN_CURRENT_STATE}
Procedure below can be applied to recover VCSA:
/etc/hosts
file with content below:# Begin /etc/hosts
(network card version)127.0.0.1 localhost.localdomain
127.0.0.1 localhost
<VCSA IP> localhost
<VCSA IP> vsphere.local
# End /etc/hosts (network card version)