Duplicated drivers in the enabled_drivers list causes conductor to fail

Bug #1561564 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Lucas Alvares Gomes

Bug Description

Cloned from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1319841

By ironic-conductor gets confused and fails when a duplicated entry is added in the "enabled_drivers" configuration option.

Steps to Reproduce:

1. add a duplicate entry to `enabled_drivers` within /etc/ironic/ironic.conf
2. sudo systemctl restart openstack-ironic-conductor
3. ironic driver-list

Results in:
+---------------------+----------------+
| Supported driver(s) | Active host(s) |
+---------------------+----------------+
+---------------------+----------------+

Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
importance: Undecided → Medium
Changed in ironic:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/297194
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=420fe0c5abdf904d84ce40e7126ba13f39b15736
Submitter: Jenkins
Branch: master

commit 420fe0c5abdf904d84ce40e7126ba13f39b15736
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Mar 24 14:48:12 2016 +0000

    Fix: Duplicated driver causes conductor to fail

    This patch is fixing a problem which causes the conductor to get confused
    and error out on startup in case there's a duplicated entry in the
    enabled_drivers configuration option.

    Closes-Bug: #1561564
    Change-Id: Ib72bcde9b32d3c0b4b237068aa53146f58ea10a2

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ironic 6.0.0

This issue was fixed in the openstack/ironic 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/366236

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/mitaka)

Reviewed: https://review.openstack.org/366236
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=3ebd572e827cb65d9ae4f817f507fb0f5468d380
Submitter: Jenkins
Branch: stable/mitaka

commit 3ebd572e827cb65d9ae4f817f507fb0f5468d380
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Mar 24 14:48:12 2016 +0000

    Fix: Duplicated driver causes conductor to fail

    This patch is fixing a problem which causes the conductor to get confused
    and error out on startup in case there's a duplicated entry in the
    enabled_drivers configuration option.

    Closes-Bug: #1561564
    Change-Id: Ib72bcde9b32d3c0b4b237068aa53146f58ea10a2
    (cherry picked from commit 420fe0c5abdf904d84ce40e7126ba13f39b15736)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 5.1.3

This issue was fixed in the openstack/ironic 5.1.3 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.