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
Add node maintenance activity #3579
Conversation
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.
It would be nice to show this activity on the BMH dashboard as well. It can be done in a separate PR though.
import( | ||
'./components/maintenance/MaintenanceDashboardActivity' /* webpackChunkName: "node-maintenance" */ | ||
).then((m) => m.default), | ||
required: FLAGS.BAREMETAL, |
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.
required: FLAGS.BAREMETAL, | |
required: [FLAGS.BAREMETAL, Metal3_FLAG], |
kind: referenceForModel(NodeMaintenanceModel), | ||
prop: 'maintenances', | ||
}, | ||
isActivity: (resource) => _.get(resource.status, 'phase') !== 'Succeeded', |
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.
IIUC the maintenance phase can be Running|Success|Error
so I'd go for
isActivity: (resource) => _.get(resource.status, 'phase') !== 'Succeeded', | |
isActivity: (resource) => _.get(resource.status, 'phase') === 'Running', |
just to be sure.
@jtomasek fixed both. I think we will want to show maintenance progress in Status card for BMH dashboard. I will create a separate PR |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jtomasek, rawagner 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
14 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
No description provided.