Bug 1439345

Summary: appliance_console will not open if no network attached
Product: Red Hat CloudForms Management Engine Reporter: Ian Tewksbury <itewksbu>
Component: ApplianceAssignee: Brandon Dunne <bdunne>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: abellott, bdunne, jhardy, lcouzens, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: black
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:11:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
image of the error because couldn't copy paste out of console. none

Description Ian Tewksbury 2017-04-05 18:33:25 UTC
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

Comment 2 Ian Tewksbury 2017-04-05 18:34:30 UTC
Created attachment 1269047 [details]
image of the error because couldn't copy paste out of console.

Comment 4 CFME Bot 2017-10-03 15:10:13 UTC
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(-)

Comment 5 luke couzens 2017-10-12 10:30:40 UTC
Verified in 5.9.0.2

Comment 8 errata-xmlrpc 2018-03-01 13:11:02 UTC
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