-
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
Ha delete node for aws #7683
Ha delete node for aws #7683
Conversation
✅ Deploy Preview for chef-automate ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
0358a12
to
f5440e3
Compare
f5440e3
to
cddeded
Compare
6f95710
to
f65c8a0
Compare
} | ||
|
||
argsdeploy := []string{"-y"} | ||
err = dna.nodeUtils.executeAutomateClusterCtlCommandAsync("provision", argsdeploy, provisionInfraHelpDocs) |
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.
In case of Provision Infra fails for any reason =, then we do not have flow for that
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.
LGTM, but later we have to handle the flow in which provision command fails, then we have ..to go backup to the previous state.
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.
only one change, rest looks good to me
|
||
func (dna *DeleteNodeAWSImpl) runRemoveNodeFromAws() error { | ||
if len(dna.automateIpList) == 1 { | ||
for i := 0; i < len(dna.configAutomateIpList); i++ { |
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.
From line number 195 - 204, the same logic we are doing for all 4 types, can we write a common code instead of repeating the code?
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.
done
Signed-off-by: shaik80 <sh.mudassir98@gmail.com>
Signed-off-by: shaik80 <sh.mudassir98@gmail.com>
Signed-off-by: shaik80 <sh.mudassir98@gmail.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
e7281e1
to
6a19edc
Compare
Kudos, SonarCloud Quality Gate passed!
|
🔩 Description: What code changed, and why?
⛓️ Related Resources
https://chefio.atlassian.net/browse/SHIELD-221
scenarios tried out:
👍 Definition of Done
👟 How to Build and Test the Change
✅ 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
video:
![Screenshot 2023-02-02 at 7 48 29 PM](https://user-images.githubusercontent.com/59958706/216353925-35068153-049a-4910-95ed-8995da437df0.png)
https://progresssoftware.sharepoint.com/:v:/s/ChefCoreC/Ea3JkQpqUw5AobKSC8WdXVgBRxLQuIZRCMhSm7bZmAlDrg?e=C6GzPI