33d906a2e0
Avoid having to configure the full class path of scheduler driver, change to load by stevedore driver plugin using entrypoints. Change 'scheduler_driver' to use entrypoint with the namespace 'nova.scheduler.driver' in 'setup.cfg'. Meanwhile, still maintain the compatibility for class path configuration until the next major release. Change all related tests with flag 'scheduler_driver' to use stevedore entrypoint. UpgradeImpact - see the reno file attached. Implements: blueprint scheduler-driver-use-stevedore Change-Id: I8c169e12d9bfacdbdb1dadf68b8a1fa98c5ea5bc
10 lines
445 B
YAML
10 lines
445 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
The option ``scheduler_driver`` is now changed to use entrypoint instead of
|
|
full class path. Set one of the entrypoints under the namespace
|
|
'nova.scheduler.driver' in 'setup.cfg'. Its default value is
|
|
'host_manager'. The full class path style is still supported in current
|
|
release. But it is not recommended because class path can be changed and
|
|
this support will be dropped in the next major release.
|