We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 608b8f8 commit 7fda0d4Copy full SHA for 7fda0d4
embark/workers/tasks.py
@@ -724,15 +724,12 @@ def _update_or_create_worker(config: Configuration, ip_address: str):
724
)
725
worker.save()
726
worker.configurations.set([config])
727
+ finally:
728
try:
729
+ # TODO: The first two function calls may cause issues when a config
730
+ # is re-scanned after its first successful scan
731
init_sudoers_file(config, worker)
732
setup_ssh_key(config, worker)
- except BaseException:
- logger.error("Failed to setup SSH key or sudoers file for worker %s", worker.name)
- worker.delete()
733
- return
734
- finally:
735
- try:
736
update_system_info(worker)
737
update_dependencies_info(worker)
738
except BaseException:
0 commit comments