Bug #196

RANK expressions using RUNNING VMS doesn't seem to work

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

Status:ClosedStart date:02/25/2010
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

80%

Category:Core & System
Target version:Release 1.4.2
Resolution:fixed Pull request:
Affected Versions:

Description

We've successfully reproduced the problem, it is a bug most likely.

From Miguel Caballer
----

Hi,

I’m using opennebula 1.4 with VMWare Server nodes.
I’m trying to use the RUNNING_VMS rank Policy to launch only one VM per physical node, as it is described in:

http://www.opennebula.org/doku.php?id=documentation:rel1.4:schg

I tried to use one of these parameters in the VM configuracion file:
REQUIREMENTS="RUNNING_VMS=0"
RANK=-RUNNING_VMS

Any of these parameters seems to work. The scheduler launches two VM per node (they have two processors).

Associated revisions

Revision b59616d0
Added by Ruben S. Montero about 9 years ago

bug #196: Added parsing of share variables, it includes RUNNING_VMS, USED_CPU, USED_MEMORY...

Revision 61d7079c
Added by Ruben S. Montero about 9 years ago

bug #196: Added parsing of share variables, it includes RUNNING_VMS, USED_CPU, USED_MEMORY...
(cherry picked from commit b59616d00a1f7a18da14ffb5b4d91f142b1d68bb)

History

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

  • Category changed from Scheduler to Core & System
  • Target version set to Release 1.4.2

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

  • % Done changed from 0 to 80

The documentation needs to be updated to include the name of the variables for the share attributes. Also this should be merge back to master

#3 Updated by Marlon Nerling almost 9 years ago

The patches listed above were not yet applied to the branch 1.4!
http://svn.opennebula.org/one/branches/one-1.4/

#4 Updated by Ruben S. Montero almost 9 years ago

Hi Marlon,

That has been applied to one-1.4... but in the git repository

$ git clone git://opennebula.org/one.git

And then change to one-1.4 branch.

$ git checkout one-1.4

Cheers

#5 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF