Closed sallyom closed 8 years ago
WIP [test] please
@Miciah, I've addressed your feedback. Thanks!!
@a13m can you please review? Thanks.
openshift-bot, please run the [extended:node] [test]s.
Thanks for working on this. I think I would have preferred a check like
(DESTINATION_AVAILABLE_SPACE - SOURCE_GEAR_QUOTA) / DESTINATION_TOTAL_SPACE > 0.05
In other words, make sure that moving the gear to this node does not cause the disk usage to exceed 95% of its capacity (possibly even 90%). The way you have it written, it seems like we could have 1.03 GB free and then still write a 1 GB gear to the node. We don't like to cut things that close! I would be okay with making that threshold configurable in case OSE customers want something different.
I see no need to make the threshold configurable unless a customer specifically requests it. 95% seems like a thoroughly reasonable threshold.
@sallyom, the "Online Test Results: Waiting for stable build of 'libra_ami'" message means the image that we use for running tests is currently failing tests and needs to be rebuilt (possibly after fixing whatever problem is causing it to fail tests).
@Miciah, awesome, thank you.
[test] pleeeeeeese, Ms. openshift-bot
Evaluated for online test up to bd8961c27c3d8d75dd0bf9caf614d320fdf64a86
Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9306/) (Extended Tests: node)
@Miciah review please thanks
Lovely jubbly! openshift-bot, please [merge]!
Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6731/) (Image: devenv_5792)
Evaluated for online merge up to bd8961c27c3d8d75dd0bf9caf614d320fdf64a86
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1122084 bz 1122084 If a gear is moved to a node and that node has no free space left after the move, the node becomes unusable. This PR ensures adequate free space + a buffer of free space on destination nodes when moving gears.