-
Notifications
You must be signed in to change notification settings - Fork 217
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
MGMT-19192: Add current stage when restoring host by Agent #7026
base: master
Are you sure you want to change the base?
Conversation
@CrystalChun: This pull request references MGMT-19192 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CrystalChun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
For completeness, if a host has begun installing, store the current stage in the Agent's annotations so that if a host needs to be restored, we'll also have that data.
f6a1fd1
to
d5c48b3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7026 +/- ##
==========================================
+ Coverage 68.20% 68.21% +0.01%
==========================================
Files 273 273
Lines 39079 39085 +6
==========================================
+ Hits 26655 26663 +8
+ Misses 10010 10009 -1
+ Partials 2414 2413 -1
|
/retest |
@CrystalChun: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
For completeness, if a host has begun installing, store the current stage in the Agent's annotations so that if a host needs to be restored, we'll also have that data.
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
HostedCluster
and scaled up theNodePool
to include oneAgent
Agent
was inDone
stageAgent
CR and deleted theAgent
(ensuring to annotate before deleting withoc annotate agent --all -n spoke-cluster agent.agent-install.openshift.io/skip-spoke-cleanup=true
)Agent
(oc apply)Agent
is restored, checkedoc get agent
to verify that the stage wasDone
Checklist
docs
, README, etc)Reviewers Checklist