update annotation for general failure

This commit is contained in:
Josh Patterson
2025-11-20 15:08:04 -05:00
parent fbe97221bb
commit 97c1a46013
2 changed files with 6 additions and 0 deletions

View File

@@ -736,6 +736,8 @@ def setup_environment(vm_name: str = 'sool9', disk_size: str = '220G', minion_id
# Update hypervisor annotation with success status
if success:
_apply_dyanno_hypervisor_state('Initialized')
else:
_apply_dyanno_hypervisor_state('SetupFailed')
# If setup was successful and we have a minion_id, run highstate
if success and minion_id: