Bug #136
Scheduler shouldn't try to place VMs in Hosts in Error state
Status: | Closed | Start date: | 08/21/2009 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Scheduler | |||
Target version: | Release 1.4 | |||
Resolution: | Pull request: | |||
Affected Versions: |
Description
A possible solution is to check host state in Scheduler.cc, line 320, prior to adding it to the list of suitable hosts (vm->add_host).
Associated revisions
#136: Only look for enabled and non-error hosts to schedule VMs
git-svn-id: http://svn.opennebula.org/one/trunk@825 3034c82b-c49b-4eb3-8279-a7acafdc01c0
History
#1 Updated by Ruben S. Montero almost 12 years ago
- Target version changed from Release 1.4.2 to Release 1.4
#2 Updated by Ruben S. Montero almost 12 years ago
- Status changed from New to Assigned
#3 Updated by Ruben S. Montero almost 12 years ago
- Status changed from Assigned to Closed
Fix in r825 in trunk. Only those hosts in the database with STATE != DISABLED and STATE != ERROR are considered to schedule VMs.