-
Notifications
You must be signed in to change notification settings - Fork 111
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
chef-automate gather-logs for faulty nodes #7525
Merged
Merged
Conversation
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
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
👷 Deploy Preview for chef-automate processing.
|
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
@SahithiMy I didn't see any sync between the PR and the corresponding ticket. Does the requirement get modified? |
Dmaddu
requested changes
Nov 14, 2022
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.
Let's have a discussion regarding the changes you have made.
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
Dmaddu
approved these changes
Nov 14, 2022
punitmundra
approved these changes
Nov 14, 2022
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
YashviJain01
approved these changes
Nov 15, 2022
SonarCloud Quality Gate failed. |
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.
Signed-off-by: SahithiMy sahithi.mylangam@progress.com
🔩 Description: What code changed, and why?
Changed the code for chef-automate gather-logs from sending gather-logs if there is any faulty/inactive nodes.
⛓️ Related Resources
https://chefio.atlassian.net/browse/STALWART-228
👍 Definition of Done
chef-automate gather-logs for frontend and backend nodes
For Frontend nodes
if hab is not installed returns error and continues with next node
if hab-sup is not running it returns error and continues with next node
if deployment-service is not running it will gather logs.
For backend nodes
if hab is not installed returns error and continues with next node
if hab-sup is not running it returns error and continues with next node
👟 How to Build and Test the Change
Install this cli in your bastion host:
sahithimy/automate-cli/0.1.0/20221114080320
Run the below command in bastion:
chef-automate gather-logs
✅ Checklist
All PRs must tick these:
With occasional exceptions, all PRs from Progress employees must tick these:
make spell
in any component directory)All PRs from Progress employees should tick these if appropriate:
Please add a note next to any checkbox above if you are NOT ticking it.
📷 Screenshots, if applicable
Demo.1.mp4