Bug 1290002

Summary: appliance_console fails to start if no IP assigned
Product: Red Hat CloudForms Management Engine Reporter: Christian Jung <cbolz>
Component: ApplianceAssignee: Nick Carboni <ncarboni>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: abellott, cbolz, jhardy, ncarboni, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-15 14:10:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot with error message
none
output of ip addr show eth0 none

Description Christian Jung 2015-12-09 13:31:42 UTC
Created attachment 1103899 [details]
screenshot with error message

Description of problem:
If you try to start appliance_console but the appliance does not have an IP address configured, it will fail to start.

Version-Release number of selected component (if applicable):
5.5.0.13

How reproducible:
always

Steps to Reproduce:
1. deploy a CF appliance but make sure there is no DHCP available
2. log in and start appliance_console
3.

Actual results:
appliance_console fails

Expected results:


Additional info:
I only tested this with CF4 on RHEV, but I expect similar results with other providers.

Comment 2 Nick Carboni 2015-12-10 15:54:59 UTC
Christian,

Can you provide the output from `ip addr show eth0` when this fails for you?
This may have been fixed already and I can't seem to reproduce it.

Thanks

For me the output shows:

2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:0c:29:e0:d6:51 brd ff:ff:ff:ff:ff:ff

Comment 3 Nick Carboni 2015-12-10 16:01:05 UTC
With a slightly different configuration I get:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:0c:29:e0:d6:51 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::20c:29ff:fee0:d651/64 scope link 
       valid_lft forever preferred_lft forever

In this case it is the same failure as https://bugzilla.redhat.com/show_bug.cgi?id=1286560 and has been fixed.

Comment 4 Nick Carboni 2015-12-15 13:26:50 UTC
Any update here? Otherwise I will close as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1286560 as they have the same symptoms and fix.

Comment 5 Christian Jung 2015-12-15 13:47:29 UTC
Created attachment 1106036 [details]
output of ip addr show eth0

Comment 6 Nick Carboni 2015-12-15 14:10:00 UTC
Thanks, closing as a duplicate.

*** This bug has been marked as a duplicate of bug 1286560 ***