Cannot load scheduler driver from configuration

Bug #1572467 reported by Derek Higgins on 2016-04-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
John Trowbridge

Bug Description

From tripleo periodic job
http://logs.openstack.org/periodic/periodic-tripleo-ci-f22-nonha/6294049/

using trunk, nova-scheduler is failing to start with the following error

CRITICAL nova [-] RuntimeError: (u'Cannot load scheduler driver from configuration %(conf)s.', {'conf': 'nova.scheduler.filter_scheduler.FilterScheduler'})
ERROR nova Traceback (most recent call last):
ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module>
ERROR nova sys.exit(main())
ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/scheduler.py", line 43, in main
ERROR nova topic=CONF.scheduler_topic)
ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 225, in create
ERROR nova db_allowed=db_allowed)
ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 102, in __init__
ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)
ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 75, in __init__
ERROR nova {'conf': scheduler_driver})
ERROR nova RuntimeError: (u'Cannot load scheduler driver from configuration %(conf)s.', {'conf': 'nova.scheduler.filter_scheduler.FilterScheduler'})
ERROR nova

I looks like this patch removed a deprecated ability to load a scheduler host manager from a classpath, which we must have been using https://review.openstack.org/#/c/307485/2

Derek Higgins (derekh) on 2016-04-20
Changed in tripleo:
importance: Undecided → Critical
status: New → Triaged
Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)

Fix proposed to branch: master
Review: https://review.openstack.org/309129

Changed in tripleo:
assignee: Emilien Macchi (emilienm) → John Trowbridge (trown)
status: Triaged → In Progress
John Trowbridge (trown) on 2016-04-21
Changed in tripleo:
milestone: none → newton-1

Reviewed: https://review.openstack.org/309129
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=3211260db05138b2af76acefef24377fe98bab23
Submitter: Jenkins
Branch: master

commit 3211260db05138b2af76acefef24377fe98bab23
Author: John Trowbridge <email address hidden>
Date: Thu Apr 21 13:51:54 2016 -0400

    Use entrypoint for ironic_host_manager scheduler

    Nova removed the old way:
    https://github.com/openstack/nova/commit/7f1ff4b226177dac8edc520c4b83a8b800b68cae

    There is a similar patch for the other scheduler
    configurations in puppet-nova:
    https://github.com/openstack/puppet-nova/commit/6bffa3a961274036540a1f3554936373c163fa7e

    Change-Id: I39348fa4247f3dc391208609bef5d920d3005a27
    Partial-Bug: 1572467

Derek Higgins (derekh) wrote :
Changed in tripleo:
status: In Progress → Fix Committed
Steven Hardy (shardy) on 2016-06-07
Changed in tripleo:
status: Fix Committed → Fix Released

This issue was fixed in the openstack/puppet-nova 9.0.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers