-
Notifications
You must be signed in to change notification settings - Fork 372
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
Report useful message when extension processing is disabled #2895
Merged
Merged
Changes from 52 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
da72c37
Update version to dummy 1.0.0.0'
maddieford 59dbd22
Revert version change
maddieford 633a826
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 14a743f
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 54ea0f3
Merge remote-tracking branch 'upstream/develop' into develop
maddieford e79c4c5
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 498b612
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 1e269f4
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 7b49e76
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 0a426cc
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 17fbf6a
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 995cbb9
Merge remote-tracking branch 'upstream/develop' into develop
maddieford eaadc83
Merge remote-tracking branch 'upstream/develop' into develop
maddieford fb03e07
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 6a8e0d6
Merge remote-tracking branch 'upstream/develop' into develop
maddieford b4951c8
Merge branch 'develop' of github.com:Azure/WALinuxAgent into develop
maddieford c6d9300
Merge branch 'develop' of github.com:maddieford/WALinuxAgent into dev…
maddieford f650fe4
Merge remote-tracking branch 'upstream/develop' into develop
maddieford a10bdfa
Merge branch 'develop' of github.com:maddieford/WALinuxAgent into dev…
maddieford 50dcec5
Merge remote-tracking branch 'upstream/develop' into develop
maddieford b87db37
merge changes
maddieford 56e84c1
Merge remote-tracking branch 'upstream/develop' into develop
maddieford fd5d0f5
Merge remote-tracking branch 'upstream/develop' into develop
maddieford 2561746
Fail GS fast in case of extensions disabled
maddieford 4448a30
Update extensions_disabled scenario to look for GS failed instead of …
maddieford 3cf195d
Update to separate onHold and extensions enabled
maddieford 8b2a2d5
Report ext disabled error in handler status
maddieford e529556
Try using GoalStateUnknownFailure
maddieford 0131ced
Fix indentation error
maddieford 531e738
Try failing ext handler and checking logs
maddieford 400ae62
Report ext processing error
maddieford f8cb01c
Attempt to fail fast
maddieford e0ccd1b
Fix param name
maddieford 556bd77
Init error
maddieford bcbcbb0
Try to reuse current code
maddieford 5e67eb7
Try to reuse current code
maddieford 3d49953
Clean code
maddieford d323f96
Update scenario tests
maddieford 5156336
Add ext status file to fail fast
maddieford 90d66fd
Fail fast test
maddieford 52bf5e5
Report error when ext disabled
maddieford 422dcf3
Update timeout to 20 mins
maddieford 4b17b7a
Re enable ext for debugging
maddieford e7961d9
Re enable ext for debugging
maddieford dd5b5bc
Log agent status update
maddieford 989de90
Create ext status file with error code
maddieford 2a9413b
Create ext status file with error code
maddieford 35036d3
We should report handler status even if not installed in case of exte…
maddieford f996473
Clean up code change
maddieford 0bf2b33
Update tests for extensions disabled
maddieford 3109a49
Update test comment
maddieford bd3682b
Update test
maddieford 5b5f774
Remove unused line
maddieford 977d47b
Remove ununsed timeout
maddieford ec78d64
Test failing case
maddieford c6b0a39
Remove old case
maddieford 3d74737
Remove unused import
maddieford d50b64f
Test multiconfig ext
maddieford ebe68d4
Add multi-config test case
maddieford a2df75d
Clean up test
maddieford b766ff7
Improve logging
maddieford f6696e6
Fix dir for testfile
maddieford 6aeaecb
Merge branch 'develop' into extensions_enabled_fix
maddieford 4a03253
Merge branch 'develop' into extensions_enabled_fix
maddieford 589113d
Remove ignore error rules
maddieford 17060a3
Merge branch 'extensions_enabled_fix' of github.com:maddieford/WALinu…
maddieford aad90c3
Remove ununsed imports
maddieford 25255af
Set handler status to not ready explicitly
maddieford f7d9a30
Use OS Util to get agent conf path
maddieford File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
could you pass status=ExtHandlerStatusValue.not_ready explicitly? this parameter shouldn't have a default value in the first place, the status is very important and having a default makes the code harder to read (especially because 'code' defaults to 0, success, while status defaults to notready, failure)
we should remove those defaults, but on a different PR