Bug #136

Scheduler shouldn't try to place VMs in Hosts in Error state

Added by Tino Vázquez over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:08/21/2009
Priority:NormalDue 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

Revision 5878c85c
Added by Ruben S. Montero over 9 years ago

#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

Revision e54dd154
Added by Tino Vázquez over 2 years ago

Merge pull request #136 from juanmont/B-4800

B #4800 Sunstone show IP on main info page

History

#1 Updated by Ruben S. Montero over 9 years ago

  • Target version changed from Release 1.4.2 to Release 1.4

#2 Updated by Ruben S. Montero over 9 years ago

  • Status changed from New to Assigned

#3 Updated by Ruben S. Montero over 9 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.

Also available in: Atom PDF