Symptoms:
- Converge fails at 42% with error "FileNotFoundError: [Errno 2] No such file or directory: '/storage/seat/cis-export-folder/vmafd/data/vmdird'"
- In log /var/log/vmware/converge/conver.log, you see entries similar to :
2020-03-24T21:59:20.715Z ERROR converge Failed to run white listed firstboot scripts. Error: {
"resolution": null,
"problemId": null,
"componentKey": null,
"detail": [
{
"translatable": "An error occurred while invoking external command : '%(0)s'",
"args": [
"Command: ['run-firstboot-scripts', '--action', 'firstboot', '--subaction', 'firstboot', '--fbWhiteList', 'visl-support-firstboot,vmafd-firstboot']\nStderr: "
],
"id": "install.ciscommon.command.errinvoke",
"localized": "An error occurred while invoking external command : 'Command: ['run-firstboot-scripts', '--action', 'firstboot', '--subaction', 'firstboot', '--fbWhiteList', 'visl-support-firstboot,vmafd-firstboot']\nStderr: '"
}
]
}
- In log /var/log/firstboot/vmafd-firstboot.py_<PID>_stdout.log, you see entries similar to:
2020-03-24T21:59:20.660Z Importing directory data. This will take a few minutes.
2020-03-24T21:59:20.666Z Getting value for install-parameter: upgrade.import.directory
2020-03-24T21:59:20.666Z VMAFD Firstboot failed
- In log /var/log/firstboot/vmafd-firstboot.py_<PID>_stderr.log, you see entries similar to:
2020-03-24T21:59:20.667Z Exception: Traceback (most recent call last):
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 177, in main
controller.firstboot()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 51, in firstboot
self.start()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 67, in start
service.start()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirUpgrade.py", line 586, in start
self.start_upgrade()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirUpgrade.py", line 451, in start_upgrade
self.import_data_files()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirUpgrade.py", line 389, in import_data_files
shutil.copytree(importDir, self.data_path)
File "/usr/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: '/storage/seat/cis-export-folder/vmafd/data/vmdird'