This is a known issue affecting VMware Cloud Foundation 2.2. Currently, there is no resolution.
Workaround:
To work around this issue:
- In the SDDC Manager UI, on the Status > Workflow Tasks page, verify that there are no Decommission workflow tasks in process.
- Download the attached 000051992_decommission_cleanup.zip file. Use a file transfer program to copy the file to the /tmp folder on the SDDC Manager Controller virtual machine.
- Log in to the SDDC Manager Controller virtual machine as the root user and extract the contents of the /tmp/000051992_decommission_cleanup.zip file:
unzip -d /tmp /tmp/000051992_decommission_cleanup.zip
- Execute the extracted /tmp/decommission_cleanup.py script to remove the offending database entry related to the decommissioned host:
python /tmp/decommission_cleanup.py
Note: The following prompt will be displayed:
This operation has to be performed when there is no Decommission workflow in progress.
Enter y to proceed with running the script.
Note: At this point, running the sos command should not produce the error noted in the Symptoms section.