[one-users] RANK=FREEMEMORY
Ruben S. Montero
rsmontero at opennebula.org
Thu Oct 30 07:31:30 PDT 2014
Upgrade scripts update VM templates in the OpenNebula database but not
running VMs, maybe this is the problem.
We've missed some variables, but for these ones, take a look to the upgrade
script 4.4.1_to_4.5.80.rb. The following should be updated:
gsub("TOTALCPU", "MAX_CPU").
gsub("TOTALMEMORY","MAX_MEM").
gsub("FREECPU", "FREE_CPU").
gsub("FREEMEMORY", "FREE_MEM").
gsub("USEDCPU", "USED_CPU").
gsub("USEDMEMORY", "USED_MEM")
RANK is replaced by SCHED_RANK in 3.8.5_to_3.9.80.rb script.
Maybe there is a bug in the migration code...
Cheers
Ruben
On Thu, Oct 30, 2014 at 3:19 PM, Steven Timm <timm at fnal.gov> wrote:
> On Thu, 30 Oct 2014, Ruben S. Montero wrote:
>
>
>>
>> On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm <timm at fnal.gov> wrote:
>> I think I see what went wrong by looking at the documentation.
>> The value as shown in onehost show -x
>> is now labeled FREE_MEM instead of FREEMEMORY.
>> (The current docs also correctly show the variable as FREE_MEM).
>> I will edit my template and see if that has an effect.
>>
>> Also it looks like RANK is deprecated in favor of SCHED_RANK
>> and SCHED_DS_RANK is that correct?
>>
>>
>>
>> Yes,
>>
>>
>>
>> Any way short of a text editor and onetemplate update to
>> fix all the legacy templates that have it wrong?
>>
>>
>>
>> All of this should be automatically handled by the upgrade process...
>>
>
> It wasn't, the last time we tried a test upgrade using the
> upgrade scripts. There were a lot of deprecated fields that stayed
> in the machine templates and some required ones that didn't get in.
>
> Steve
>
>
>
>>
>> Steve Timm
>>
>>
>> On Thu, 30 Oct 2014, Ruben S. Montero wrote:
>>
>> Hi Steven,
>> This should be working as long it is in the host
>> information. Could you send
>> the onehost show -x for one of the hosts? (You can
>> send it to me offlist if
>> there is any sensible information).
>>
>> The Rank expression is supposed to work with any
>> variable under the
>> following XPaths:
>>
>> "/HOST/TEMPLATE/",
>> "/HOST/HOST_SHARE/",
>> "/HOST/",
>> "/HOST/CLUSTER_TEMPLATE/
>>
>> Cheers
>>
>> Ruben
>>
>> On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm
>> <timm at fnal.gov> wrote:
>>
>> Under OpenNebula 3 we have been using
>> RANK=FREEMEMORY
>> to launch the next virtual machine on the
>> hypervisor which
>> has the most memory available at the time. I
>> am using the
>> same in OpenNebula 4.8 but it does not appear
>> to be working,
>> even though FREEMEMORY is still a documented
>> selection variable
>> in the requirements section. In particular
>> all the RANKS of the machines show up as "0"
>> in the sched.log
>> when you look at the allocation cycle and
>> there is no
>> "FREEMEMORY"
>> variable reported in the output of
>> onehost show xxxx
>> under opennebula 4.8.
>>
>> Are there other selection variables which
>> could have
>> the same desired effect, i.e. a horizontal
>> fill of the cloud?
>>
>> Steve Timm
>>
>>
>>
>> ------------------------------------------------------------
>> ------
>> Steven C. Timm, Ph.D (630) 840-8525
>> timm at fnal.gov http://home.fnal.gov/~timm/
>> Fermilab Scientific Computing Division,
>> Scientific Computing
>> Services Quad.
>> Grid and Cloud Services Dept., Associate Dept.
>> Head for Cloud
>> Computing
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief ArchitectOpenNebula -
>> Flexible Enterprise Cloud
>> Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org |
>> @OpenNebula
>>
>>
>>
>> ------------------------------------------------------------------
>> Steven C. Timm, Ph.D (630) 840-8525
>> timm at fnal.gov http://home.fnal.gov/~timm/
>> Fermilab Scientific Computing Division, Scientific Computing
>> Services Quad.
>> Grid and Cloud Services Dept., Associate Dept. Head for Cloud
>> Computing
>>
>>
>>
>>
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief ArchitectOpenNebula - Flexible Enterprise Cloud
>> Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>
>>
>>
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D (630) 840-8525
> timm at fnal.gov http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141030/182b446f/attachment-0001.htm>
More information about the Users
mailing list