Cannot load scheduler driver from configuration

Bug #1572467 reported by Derek Higgins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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)
Changed in tripleo:
importance: Undecided → Critical
status: New → Triaged
Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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)
Changed in tripleo:
milestone: none → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

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

Revision history for this message
Derek Higgins (derekh) wrote :
Changed in tripleo:
status: In Progress → Fix Committed
Steven Hardy (shardy)
Changed in tripleo:
status: Fix Committed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-nova 9.0.0

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.