summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorSam Betts <sam@code-smash.net>2018-01-19 15:05:31 +0000
committerJulia Kreger <juliaashleykreger@gmail.com>2018-02-06 18:21:00 +0000
commitaed483412112877563cd4956a39c9a6e5d4aaf05 (patch)
tree4008b4818459b7f755d5c574cd46140d0a197d2f /releasenotes
parentd4e35611c4be8aba07907e57e684c10219af7f9c (diff)
downloadironic-aed483412112877563cd4956a39c9a6e5d4aaf05.tar.gz
Only set default network interface flat if enabled in config
This patch updates the driver factory logic which sets a default for the network interface when there is not one set in the config file. Before this patch the logic forces "flat" as the default network interface for all hardware types and classic drivers even if flat isn't enabled in the config file, resulting in a misleading error. This patch changes the code to only set "flat" as the default for classic drivers if its enabled in the enabled_network_interfaces configuration option in the config file, and to not override a default for hardware types at all because the default for hardware types should either come from the config file or from the hardware type's supported_network_interfaces list. Change-Id: Ia8676d3483ddc78df8766dc1baaf2db6b5686050 Closes-Bug: #1744332
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/only_default_flat_network_if_enabled-b5c6ea415239a53c.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/only_default_flat_network_if_enabled-b5c6ea415239a53c.yaml b/releasenotes/notes/only_default_flat_network_if_enabled-b5c6ea415239a53c.yaml
new file mode 100644
index 000000000..5a8fd2029
--- /dev/null
+++ b/releasenotes/notes/only_default_flat_network_if_enabled-b5c6ea415239a53c.yaml
@@ -0,0 +1,9 @@
+---
+fixes:
+ - |
+ Fixes a bug seen when no ``default_network_interface`` is set, because the
+ conductor tries use the ``flat`` network interface instead even if it is
+ not included in the conductor's ``enabled_network_interfaces`` config
+ option. Resulting in `Failed to register hardware types` error. See
+ `bug 1744332 <https://bugs.launchpad.net/ironic/+bug/1744332>`_
+ for more information. \ No newline at end of file