Skip to content

[master] fix ephemeral interface addition - #64584

Open
avances123 wants to merge 2 commits into
saltstack:masterfrom
avances123:master
Open

[master] fix ephemeral interface addition#64584
avances123 wants to merge 2 commits into
saltstack:masterfrom
avances123:master

Conversation

@avances123

Copy link
Copy Markdown

What does this PR do?

Fixes KeyError exception when a not know interface appears

What issues does this PR fix or reference?

Fixes: test if new interface exists in LAST_DATA if not, creates an empty set to make the diff

Previous Behavior

exception in beacon when new interface appears

New Behavior

beacon executes flawlessly

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@avances123
avances123 requested a review from a team as a code owner June 30, 2023 11:57
@avances123
avances123 requested review from dwoz and removed request for a team June 30, 2023 11:57
@welcome

welcome Bot commented Jun 30, 2023

Copy link
Copy Markdown

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@salt-project-bot-prod-environment salt-project-bot-prod-environment Bot changed the title fix ephemeral interface addition [master] fix ephemeral interface addition Jun 30, 2023
@dwoz dwoz added this to the Argon v3008.0 milestone Dec 18, 2023
@dwoz
dwoz requested a review from a team as a code owner March 16, 2025 22:09

@twangboy twangboy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a changelog and a test for this.

@twangboy twangboy added needs-testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases needs-changelog test:full Run the full test suite labels Jul 3, 2025
@twangboy twangboy modified the milestones: Argon v3008.0, Argon v3008.1 Jun 5, 2026
@dwoz dwoz modified the milestones: Argon v3008.1, Potassium v3009.0 Jun 16, 2026
@dwoz dwoz removed needs-changelog needs-testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases labels Jun 16, 2026
avances123 and others added 2 commits June 29, 2026 16:07
Add changelog fragment 64584.fixed.md and unit test
test_ephemeral_interface_no_keyerror() covering the case where a network
interface appears after LAST_STATS initialization, verifying no KeyError
is raised and the new interface fires a beacon event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants