Description of problem: Before a network was attached to the appliance if the appliance_console is attempted to be opened it will error. Version-Release number of selected component (if applicable): 5.8.0.9-alpha2.20170404195944_1d7ece4 How reproducible: Always Steps to Reproduce: 1. create an appliance without a network adaptor 2. attempt to open appliance_console Actual results: appliance_console fails to open and throws an error. Expected results: Appliance console should either just open, or give a nicer error that there is no network. Additional info: Found during 5.8 test-a-thon
Created attachment 1269047 [details] image of the error because couldn't copy paste out of console.
https://github.com/ManageIQ/linux_admin/pull/190
New commit detected on ManageIQ/linux_admin/master: https://github.com/ManageIQ/linux_admin/commit/a93307ee94f73bd47c28e7ba100346dd4cd53a52 commit a93307ee94f73bd47c28e7ba100346dd4cd53a52 Author: Brandon Dunne <bdunne> AuthorDate: Wed Sep 27 12:03:30 2017 -0400 Commit: Brandon Dunne <bdunne> CommitDate: Wed Sep 27 14:06:38 2017 -0400 Allow using NetworkInterface when the file doesn't exist yet Also rescue failures for refreshing interfaces that don't exist https://bugzilla.redhat.com/show_bug.cgi?id=1439345 lib/linux_admin/network_interface.rb | 10 ++-- .../network_interface/network_interface_rh.rb | 20 ++++--- .../network_interface/network_interface_rh_spec.rb | 3 ++ spec/network_interface_spec.rb | 63 +++++++++++----------- 4 files changed, 51 insertions(+), 45 deletions(-)
Verified in 5.9.0.2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0380