Commit Graph

19 Commits

Author SHA1 Message Date
Ahmed Bilal d468a1ba7d Merge branch 'wip' into 'master'
Wip

See merge request ungleich-public/ucloud-scheduler!1
2019-09-03 18:06:42 +02:00
Ahmed Bilal f40d9c3f11 Wip 2019-09-03 18:06:41 +02:00
ahmadbilalkhalid 726839f4c6 Request mechanism rolled out, migration mechanism is also incorporated 2019-08-12 17:38:34 +05:00
ahmadbilalkhalid 0c1e9328e8 Small Changes, Unused import removed, Use ucloud_common.states instead of hard coded strings 2019-07-30 20:06:42 +05:00
ahmadbilalkhalid 0ecb2d9cb8 working till migration 2019-07-27 13:57:51 +05:00
ahmadbilalkhalid 3c6e99b812 order of statement changed 2019-07-25 22:32:29 +05:00
ahmadbilalkhalid 92faf9e04e delete TIMEOUT event as soon as we get it 2019-07-25 18:29:41 +05:00
ahmadbilalkhalid bde254eccf etcd3_wrapper updated 2019-07-25 18:24:17 +05:00
ahmadbilalkhalid c08aad01df add mechanism to handle already created vms 2019-07-25 15:29:35 +05:00
ahmadbilalkhalid 5adb3b2d8e convert vm.key to bytes before create fake EtcdEntry 2019-07-25 13:48:34 +05:00
ahmadbilalkhalid 7c310d0430 formatted using 'black' + rescan vms if there is some vm which is pending scheduling due to resource deficiency 2019-07-25 13:45:34 +05:00
ahmadbilalkhalid dd3b9fe1cb small bug fix i.e previously updating vm['host'] instead of vm['hostname'] + update status of non-stopped vms on dead host to REQUESTED_NEW 2019-07-25 13:07:59 +05:00
ahmadbilalkhalid 3739b299f1 VMs on Dead Host should get status REQUESTED_START instead of REQUESTED_NEW 2019-07-22 11:32:29 +05:00
ahmadbilalkhalid eb015de8f1 check any pending vm scheduling on start 2019-07-20 14:50:08 +05:00
ahmadbilalkhalid f078b9b245 new tests added, dead host detection/mitigation, fix bug in specs difference computing code 2019-07-18 18:46:49 +05:00
ahmadbilalkhalid 5f4b7088ff etcd3_wrapper updated 2019-07-03 18:09:21 +05:00
ahmadbilalkhalid 61a4a432ac etcd3_wrapper added 2019-07-02 00:06:54 +05:00
ahmadbilalkhalid 7354af7e07 simplifies logic + add unit tests 2019-06-30 21:30:17 +05:00
ahmadbilalkhalid 17b40b13cc initial code 2019-06-25 16:39:29 +05:00