← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704788] Re: Hardcoded choices for nova scheduler driver

 

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

commit 1e5c7b52a403e708dba5a069dd86b628a4cb952c
Author: Sylvain Bauza <sbauza@xxxxxxxxxx>
Date:   Tue Jul 18 16:33:49 2017 +0200

    Accept any scheduler driver entrypoint
    
    We broke the possibility in Ocata with Icdcf839b6d28893694bfa1355e9dbe8dbb5ea8c3
    to use other scheduler drivers but the ones we provided in tree.
    
    Unfortunately, that was an incidental change without any communication.
    
    Removing the choices kwarg will allow operators to run their own scheduler driver.
    Whether Nova would stop supporting custom drivers would require a totally separate
    change which would clearly communicate thru a deprecation notice but that is not
    the intent for that bugfix, which aims only to bring back the capability.
    
    Change-Id: I346881bc3bc48794b139cc471be1de11c49b8ee3
    Closes-Bug: #1704788


** 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/1704788

Title:
  Hardcoded choices for nova scheduler driver

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) ocata series:
  Confirmed

Bug description:
  Hi everyone,

  There's a driver option in nova.conf which is parsed with
  configuration from here:

  https://github.com/openstack/nova/blob/stable/ocata/nova/conf/scheduler.py#L58

  Hardcoded list of choices possible for that option specified on #60
  and #61 lines blocks nova scheduler from allowing any custom scheduler
  driver.

  Is this intentional and there's another workaround for plugging in
  scheduler driver? Or is it just a mistake?

  Thanks for your attention.

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


References