We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7099922 commit 2ca8b05Copy full SHA for 2ca8b05
scripts/aws/ec2.py
@@ -348,6 +348,12 @@ def __kill_auxiliaries(self) -> None:
348
if args.operation == "stop":
349
ec2.cleanup()
350
else:
351
+ # Always cleanup before starting to ensure clean state
352
+ logging.info("Cleaning up any previous enclave and auxiliary processes before starting")
353
+ try:
354
+ ec2.cleanup()
355
+ except Exception as e:
356
+ logging.warning(f"Cleanup before start encountered an error (may be expected on first boot): {e}")
357
ec2.run_compute()
358
except ConfidentialComputeStartupError as e:
359
logging.error(f"Failed starting up Confidential Compute. Please checks the logs for errors and retry {e}")
0 commit comments