Fix old edgeAgent remaining#6243
Open
suzusuzu wants to merge 2 commits into
Open
Conversation
Contributor
|
/azp run |
1 similar comment
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 7 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 7 pipeline(s). |
gordonwang0
requested changes
Mar 31, 2022
Contributor
There was a problem hiding this comment.
This will cause edgeAgent to be recreated every time Edge Daemon restarts, even if there are no changes to edgeAgent. This is unnecessary and not what we want to do.
A better fix would be to change iotedge config apply to remove edgeAgent if edgeAgent's config changes.
Author
|
@gordonwang0 |
Author
|
@gordonwang0 |
Contributor
|
You won't be able to diff old/new configs from the watchdog; you'll have to change the iotedge tool to diff them before it writes out the new config. That may be a larger change for us to to. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #6241
I have added a fix to always remove the old edgeAgent on startup of
aziot-edged.Azure IoT Edge PR checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines and Best Practices
Testing Guidelines
This check item was skipped because the
aziot-edgedtest was not found.Draft PRs
Draftmode if it is:Note: We use the kodiakhq bot to merge PRs once the necessary checks and approvals are in place. When it merges a PR, kodiakhq converts the PR title to the commit title, PR description to the commit description, and squashes all the commits in the PR to a single commit. The net effect is that entire PR becomes a single commit. Please follow the best practices mentioned here for the PR title and description