Steve Heistand <[email protected]> wrote on 22/08/2013 01:45:08 AM:

> From: Steve Heistand <[email protected]>
> To: James R Penick <[email protected]>, 
> Cc: "[email protected]" <[email protected]>
> Date: 22/08/2013 02:10 AM
> Subject: Re: [Openstack] oversubscribe node
> 
> that would probably have been useful info yes :)
> 
> latest grizzly on ubuntu 12.04 and 
> 
> compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
> 
scheduler_default_filters=AggregateInstanceExtraSpecsFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter

In order to use cpu_allocation_ratio, and ram_allocation_ratio, you need 
to use FilterScheduler with RamFilter and CoreFilter.
Also, as already mentioned, you need these parameters need to be 
configured in nova.conf of the machine running the scheduler.

Regards,
Alex

> 
> 
> On 08/21/2013 03:40 PM, James R Penick wrote:
> > Which scheduler are you using? Also, which version of Openstack?
> > 
> > :)=
> > 
> > 
> > 
> > 
> > 
> > 
> > On 8/21/13 2:56 PM, "Steve Heistand" <[email protected]> wrote:
> > 
> >> Hi folks,
> >>
> >> so  Im a little confused, on my compute nodes I have the allocation 
ratio
> >> set:
> >>
> >> root@node004:~# cat /etc/nova/nova-compute.conf
> >> [DEFAULT]
> >> ..
> >> cpu_allocation_ratio=1.0
> >> ram_allocation_ratio=1.0
> >> ...
> >>
> >> but I got into a state where the node is oversubscribed.  From nova
> >> hypervisor-show node004:
> >>
> >> node004
> >> ..
> >> vcpus_used              36
> >> memory_mb_used  72837
> >> memory_mb            64379
> >> vcpus                       32
> >> ..
> >>
> >> I have zones/aggregates set up and of the instances, one was started 
in
> >> just launch it anywhere mode and another was told to start on
> >> a zone that is this node.
> >>
> >> In looking back I would have expected the zone specified instance be
> >> rejected.
> >>
> >> is this to be expected or a bug?
> >>
> >> thanks
> >>
> >> s
> >>
> >>
> >> -- 
> >> 
************************************************************************
> >> Steve Heistand                           NASA Ames Research Center
> >> SciCon Group                             Mail Stop 258-6
> >> [email protected]  (650) 604-4369  Moffett Field, CA 94035-1000
> >> 
************************************************************************
> >> "Any opinions expressed are those of our alien overlords, not my 
own."
> >>
> >> # For Remedy                        #
> >> #Action: Resolve                    #
> >> #Resolution: Resolved               #
> >> #Reason: No Further Action Required #
> >> #Tier1: User Code                   #
> >> #Tier2: Other                       #
> >> #Tier3: Assistance                  #
> >> #Notification: None                 #
> >>
> >>
> > 
> 
> -- 
> ************************************************************************
>  Steve Heistand                           NASA Ames Research Center
>  SciCon Group                             Mail Stop 258-6
>  [email protected]  (650) 604-4369  Moffett Field, CA 94035-1000
> ************************************************************************
>  "Any opinions expressed are those of our alien overlords, not my own."
> 
> # For Remedy                        #
> #Action: Resolve                    #
> #Resolution: Resolved               #
> #Reason: No Further Action Required #
> #Tier1: User Code                   #
> #Tier2: Other                       #
> #Tier3: Assistance                  #
> #Notification: None                 #
> 
> 
> [attachment "signature.asc" deleted by Alex Glikson/Haifa/IBM] 
> _______________________________________________
> Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to