Error in SDDC Manager Third party logs (/var/log/vmware/vcf/lcm/thirdparty/upgrades/<upgrade_id>/vcf-platform/cap-platform-setup/cap_platform_setup.log) show similar output to the below log snippet
INFO: http://127.0.0.1:15051/capengine/api/v1/workflows is up
INFO: /var/log/vmware/capengine/vcf-cap-workflows.json
INFO: URL: http://127.0.0.1:15051/capengine/api/v1/workflow/instance/7c66####-####-####-########3361
INFO: Info: {'workflowName': 'cap-required-hardware-addition', 'instanceId': '7c66####-####-####-########3361', 'task': 'add-disk', 'status': 'Failed', 'message': 'failed to mount file system. Output: . ERROR: exit status 64', 'progress': '0%'}
INFO: URL: http://localhost/lcm/about
INFO: Info: {'name': 'LCM', 'serviceId': 'b8e5####-####-####-########ca5c', 'author': 'VMware', 'builtBy': 'mts', 'createdBy': 'Apache Maven 3.5.0', 'buildJdk': '1.8.0-jdk8u322-ga', 'version': '4.4.1-vcf4411RELEASE-21506568', 'buildDate': '2023-03-27 08:32:22 UTC'}
ERROR: Hardware Addition workflow failed
INFO: Updated /var/log/vmware/vcf/lcm/thirdparty/upgrades/2b04####-####-####-########cb05/vcf-platform/cap-platform-setup/cap_platform_setup.status status file with data OrderedDict([('upgradeId', '2b04####-####-####-########cb05'), ('resourceId', 'afdd####-####-####-########c4be'), ('upgradeStatusCode', 'COMPLETED_WITH_FAILURE'), ('progress', 0), ('error', {'errorCode': None, 'errorDescription': 'Hardware Addition workflow failed'}), ('endTime', 1743093871)])
INFO: Execute cmd: lsblk -o NAME,TYPE,MOUNTPOINT -n -i -r | grep alt_root
INFO: vg_alt_root-lv_alt_root lvm /storage/alt_root
INFO: RC: 0, OUT: vg_alt_root-lv_alt_root lvm /storage/alt_root
INFO: Execute cmd: lsblk -o NAME,TYPE,MOUNTPOINT -n -i -r | grep lvm_snapshot
INFO:
INFO: RC: 1, OUT:
INFO: URL: http://localhost/lcm/about
INFO: Info: {'name': 'LCM', 'serviceId': 'b8e5####-####-####-########ca5c', 'author': 'VMware', 'builtBy': 'mts', 'createdBy': 'Apache Maven 3.5.0', 'buildJdk': '1.8.0-jdk8u322-ga', 'version': '4.4.1-vcf4411RELEASE-21506568', 'buildDate': '2023-03-27 08:32:22 UTC'}
INFO: Updated /var/log/vmware/vcf/lcm/thirdparty/upgrades/2b04####-####-####-########cb05/vcf-platform/cap-platform-setup/cap_platform_setup.status status file with data OrderedDict([('upgradeId', '2b04####-####-####-########cb05'), ('resourceId', 'afdd####-####-####-########c4be'), ('upgradeStatusCode', 'COMPLETED_WITH_FAILURE'), ('progress', 0), ('error', OrderedDict([('errorCode', 1), ('errorDescription', 'Hardware Addition workflow failed')])), ('endTime', 1743093871)])
ERROR:
Traceback (most recent call last):
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/cap_platform_setup.py.copy", line 271, in <module>
migration_workflow()
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/cap_platform_setup.py.copy", line 186, in migration_workflow
wrapper.execute_cmd_locally("lsblk -o NAME,TYPE,MOUNTPOINT -n -i -r | grep lvm_snapshot")
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/../../wrapper.py", line 192, in execute_cmd_locally
self.update_status(return_code=rc, status='COMPLETED_WITH_FAILURE', errmsg=err)
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/../../wrapper.py", line 168, in update_status
raise Exception
Exception
Logs will also show "CAP services are not enabled in SDDC Manager" in the cap_platform_setup.log. This error message is misleading because in this instance the cap-workflow-engine.service is running throughout the whole process. Executing KB 376799 will not resolve the issue as the service is already running.
INFO: URL: http://localhost/lcm/about
INFO: Info: {'name': 'LCM', 'serviceId': 'b8e5####-####-####-########ca5c', 'author': 'VMware', 'builtBy': 'mts', 'createdBy': 'Apache Maven 3.5.0', 'buildJdk': '1.8.0-jdk8u322-ga', 'version': '4.4.1-vcf4411RELEASE-21506568', 'buildDate': '2023-03-27 08:32:22 UTC'}
INFO: Updated /var/log/vmware/vcf/lcm/thirdparty/upgrades/2b04####-####-####-########cb05/vcf-platform/cap-platform-setup/cap_platform_setup.status status file with data OrderedDict([('upgradeId', '2b04####-####-####-########cb05'), ('resourceId', 'afdd####-####-####-########c4be'), ('upgradeStatusCode', 'COMPLETED_WITH_FAILURE'), ('progress', 0), ('error', OrderedDict([('errorCode', 1), ('errorDescription', 'Hardware Addition workflow failed')])), ('endTime', 1743093871)])
ERROR: CAP services are not enabled in SDDC Manager
INFO:
INFO: RC: 1, OUT:
INFO: ERR: Traceback (most recent call last):
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/cap_platform_setup.py.copy", line 271, in <module>
migration_workflow()
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/cap_platform_setup.py.copy", line 186, in migration_workflow
wrapper.execute_cmd_locally("lsblk -o NAME,TYPE,MOUNTPOINT -n -i -r | grep lvm_snapshot")
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/../../wrapper.py", line 192, in execute_cmd_locally
self.update_status(return_code=rc, status='COMPLETED_WITH_FAILURE', errmsg=err)
File "/var/log/vmware/vcf/lcm/thirdparty/bundles/363bd141-7d19-4287-9c7a-091c11042ca0/thirdparty/cap-platform-setup/bin/../../wrapper.py", line 168, in update_status
raise Exception
Exception