-
Notifications
You must be signed in to change notification settings - Fork 18
aws script to replace network interface for r7 instances #2177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…/github.com/IABTechLab/uid2-operator into wzh-UID2-5843-auto-detect-network-interface
…/github.com/IABTechLab/uid2-operator into wzh-UID2-5843-auto-detect-network-interface
scripts/aws/ec2.py
Outdated
|
|
||
| # sockd -D daemonizes and returns immediately, but child process needs time to initialize | ||
| logging.info("Waiting for sockd to fully initialize...") | ||
| time.sleep(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 2? Is there any safer way to make sure the child processes have been initialised instead of relying on the random number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've determined that the intermittent issues I was experiencing were caused by enclave ID registration problems, which have now been resolved. As a result, I've removed the retry logic I had previously added, as it's no longer necessary with the root cause fixed :)
…/github.com/IABTechLab/uid2-operator into wzh-UID2-5843-auto-detect-network-interface
No description provided.