Add SchedulerHints to server controller#632
Conversation
winiciusallan
left a comment
There was a problem hiding this comment.
Looks good overall! Great job! Just a few comments. Let me know what you think.
7b0df63 to
bdf5e4f
Compare
f6e8392 to
8894f8f
Compare
4bc925c to
54a3ad6
Compare
ce7d860 to
d979876
Compare
There was a problem hiding this comment.
Thanks for your effort, @eshulman2!
To me, it is very close to a merge state, I just left a comment on the dependency that you added, let me know what you think.
mandre
left a comment
There was a problem hiding this comment.
I believe this is almost ready. I would still like to keep this for a little longer in the queue to make up my mind about the breaking/non-breaking change.
| reconcileStatus := progress.NewReconcileStatus() | ||
|
|
||
| // Resolve ServerGroupRef to server group ID | ||
| sg, sgReconcileStatus := dependency.FetchDependency( |
There was a problem hiding this comment.
We'll want to rework this dependency fetch after #674 merges.
- Add SchedulerHints to server controller - enable required nova filters for testing hints NOTE! this change MOVED the ServerGroupRef inside the ServerSchedulerHints
Since IsAvailable implies Status.ID is set, the redundant check for Status.ID != nil can be removed. Pass orcv1alpha1.IsAvailable directly as the filter function for the ServerGroup and boot Volume dependencies, consistent with the changes made in all other controllers.
|
The test failure is due to a name clash in the namespaces as generated by kuttl. I'll work on a kuttl fix. |
|
Kuttl fix submitted at kudobuilder/kuttl#682, for reference. |
Add schedulerHints field with support for:
NOTE! this change MOVED the ServerGroupRef inside the ServerSchedulerHints