conductor starts even if no drivers are loaded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Ramakrishnan G (rameshg87) | ||
Juno |
Fix Released
|
Medium
|
Thom Leggett |
Bug Description
The ironic-conductor process will start, even if no drivers are loaded. Drivers may fail to load due to a misconfiguration, missing dependency, or other issues.
If no drivers are loaded, the conductor process can not function, and should shut down with a helpful error message.
Logs and simple way to reproduce:
$ grep enabled_drivers etc/ironic/
enabled_drivers=
$ ironic-conductor -v --config-
2014-12-22 13:39:11.384 29092 INFO ironic.
2014-12-22 13:39:11.589 29092 INFO ironic.
2014-12-22 13:39:11.601 29092 INFO oslo.messaging.
2014-12-22 13:39:11.611 29092 INFO oslo.messaging.
2014-12-22 13:39:11.618 29092 INFO ironic.
$ ironic driver-list
+------
| Supported driver(s) | Active host(s) |
+------
+------
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: low-hanging-fruit |
Changed in ironic: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-2 → 2015.1.0 |
I guess we are stopping conductor if any of the enabled driver's couldn't be loaded. /review. openstack. org/#/c/ 83572/
https:/
So this case is only when enabled_drivers is empty.