← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1590133] Re: help text for cpu_allocation_ratio is wrong

 

Reviewed:  https://review.openstack.org/329593
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ff10a41de910bb4c577d39cb6f2a73ac97ab6b3b
Submitter: Jenkins
Branch:    master

commit ff10a41de910bb4c577d39cb6f2a73ac97ab6b3b
Author: Sivasathurappan Radhakrishnan <siva.radhakrishnan@xxxxxxxxx>
Date:   Tue Jun 14 17:29:43 2016 +0000

    Improve help text for allocation_ratio_opts
    
    This commit adds additional help text to allocation_
    ratio_opts
    Blueprint centralize-config-options-newton
    Closes-Bug: #1590133
    Change-Id: I4654bb26184a2a993aab9476e5d303f5f00803e0


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1590133

Title:
  help text for cpu_allocation_ratio is wrong

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  In stable/mitaka in resource_tracker.py the help text for the
  cpu_allocation_ratio config option reads in part:

               'NOTE: This can be set per-compute, or if set to 0.0, the value '
               'set on the scheduler node(s) will be used '
               'and defaulted to 16.0'),

  However, there is no longer any value set on the scheduler node(s).
  They use the per-compute-node value set in resource_tracker.py.

  Instead, if the value is 0.0 then ComputeNode._from_db_object() will
  convert the value to 16.0.  This ensures that the scheduler filters
  see a value of 16.0 by default.

  In Newton the plan appears to be to change the default value to an
  explicit 16.0 (and presumably updating the help text) but that doesn't
  help the already-released Mitaka code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1590133/+subscriptions


References