Inspection API implementation#607
Conversation
|
/hold |
| if !status.Finished { | ||
| if !status.Finished || (nodes.ProvisionState(ironicNode.ProvisionState) == nodes.Inspecting || nodes.ProvisionState(ironicNode.ProvisionState) == nodes.InspectWait) { | ||
| details = nil | ||
| p.log.Info("inspection in progress", "started_at", status.StartedAt) |
There was a problem hiding this comment.
As an alternative to the inspect flag... we know the time at which the inspection started (and, from memory, ended if it is complete?), and we also know the time at which we entered the Inspecting state (from Host.Status.OperationHistory.Inspect.Start). So we could assume that if any existing inspection was done before we entered the inspecting state, then we need to start a new inspection.
aaee7c4 to
df2403c
Compare
3ca7beb to
acc6d3b
Compare
|
/hold cancel |
acc6d3b to
73bb3aa
Compare
fmuyassarov
left a comment
There was a problem hiding this comment.
@zaneb Thanks a lot for the review and sorry for addressing the comments late.
|
/cc @maelk |
|
I would like to freeze go code changes for a few days to try to land #650 without having to rebase it, because rebasing will mean redoing the work from scratch. /hold |
73bb3aa to
36bfa98
Compare
36bfa98 to
f2b9c49
Compare
|
#655 has merged /hold cancel |
bd60b04 to
5773431
Compare
5773431 to
19ae839
Compare
|
/test-integration |
|
@andfasano @zaneb If you think #607 (comment) is also addressed, can we forward and merge the PR? |
|
Seems I need to rebase. Are we ok to merge this @zaneb once I do the rebase? |
ae6f7b6 to
890b742
Compare
|
/test-integration |
|
@fmuyassarov There is an interesting comment from @zaneb that could probably be fixed in this PR |
Thanks @s3rj1k. If I understood right, |
maybe we could fix it in a follow-up PR or within #817? |
Yep, we need @zaneb feedback here |
890b742 to
97452b7
Compare
|
@zaneb It would be nice if we get this merged if looks okay. Because, there is always something getting merged in master, and I have to rebase it again and again. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fmuyassarov, zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test-integration |
This adds annotation based API to re-trigger inspection for Ready BMH.
97452b7 to
a70ed8f
Compare
|
/test-integration |
kashifest
left a comment
There was a problem hiding this comment.
/lgtm
/test-centos-integration
Inspection API implementation.