-
Notifications
You must be signed in to change notification settings - Fork 563
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
Cloud init lisa #11423
base: 3.0-dev
Are you sure you want to change the base?
Cloud init lisa #11423
Conversation
@staticmethod | ||
def link_rename(current_name: str, new_name: str): | ||
subp.subp(["ip", "link", "set", current_name, "name", new_name]) | ||
+ time.sleep(0.5) |
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.
Is this an upstream-provided fix? I'm concerned seeing a sleep call get added to address what is being labeled a race condition. It tends to sweep the true root cause under the rug, and often runs the risk of still not mitigating the issue appropriately for some percentage of scenarios.
The patch provided has no comments, and there's very little context in this PR. Will you please revise the PR to include a clear description of the identified problem, the nature of the proposed fix, any other relevant details? |
This is a test PR not ready for review |
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-static
subpackages, etc.) have had theirRelease
tag incremented../cgmanifest.json
,./toolkit/scripts/toolchain/cgmanifest.json
,.github/workflows/cgmanifest.json
)./LICENSES-AND-NOTICES/SPECS/data/licenses.json
,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON
)*.signatures.json
filessudo make go-tidy-all
andsudo make go-test-coverage
passSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology