diff options
author | Mark Goddard <mark@stackhpc.com> | 2017-06-26 11:37:06 +0100 |
---|---|---|
committer | Mark Goddard <mark@stackhpc.com> | 2017-06-27 10:45:01 +0100 |
commit | 181005106bdf077284a21da71f466266c200b86b (patch) | |
tree | f3cc05ff2251bf052df49a674c95d68e8a7ed319 /releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml | |
parent | f0e6a07ade8191876fe618fc198fb4d93d0b0e3c (diff) | |
download | ironic-181005106bdf077284a21da71f466266c200b86b.tar.gz |
Fix VIF list for noop network interface
Creating a node with the noop network interface, then listing the node's
VIFs, e.g. via openstack baremetal node vif list <node>, ironic
previously returned a 500 internal server error. This change fixes the
issue by returning an empty list instead of None from the vif_list
method.
This change also adds unit tests to cover the noop network interface as
it previously had none.
Change-Id: I327c961f094528d46a78c26610d198ebc2a4f370
Closes-Bug: #1700497
Diffstat (limited to 'releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml')
-rw-r--r-- | releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml b/releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml new file mode 100644 index 000000000..4ed28bd3f --- /dev/null +++ b/releasenotes/notes/fix-noop-net-vif-list-a3d8ecee29097662.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes an issue with the 'noop' network interface where listing the VIFs for + a node fails with a HTTP 500 Internal Server Error. |