Bug 786386 - vdsm-bootstrap: SetNetworking failure doesn't influence the vdsm-bootstrap final status
Summary: vdsm-bootstrap: SetNetworking failure doesn't influence the vdsm-bootstrap fi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Yaniv Kaul
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 10:16 UTC by Avi Tal
Modified: 2016-04-22 04:59 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-25 07:44:54 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
vdsm-bootstrap log (30.43 KB, text/x-log)
2012-02-01 10:16 UTC, Avi Tal
no flags Details

Description Avi Tal 2012-02-01 10:16:46 UTC
Created attachment 558785 [details]
vdsm-bootstrap log

Description of problem:
vdsm-bootstrap final status will be OK even though it failed to configure network.

following a relevant vdsm-bootstrap.log:
Wed, 01 Feb 2012 09:07:50 DEBUG    makeBridge return.
Wed, 01 Feb 2012 09:07:50 ERROR    addNetwork error trying to add management bridge
Wed, 01 Feb 2012 09:07:50 DEBUG    <BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add management bridge'/>
.
.
.
Wed, 01 Feb 2012 11:05:16 DEBUG    <BSTRAP component='RHEV_INSTALL' status='OK'/>

Comment 1 Avi Tal 2012-02-01 10:19:30 UTC
In that specific case the reason for the failure was, already existing bridge over eth0 but that bridge wasn't "ovirtmgmt" there for after reboot the host will become non-operational.

Comment 2 Dan Kenigsberg 2012-09-25 07:44:54 UTC
This behavior was intentional:

    def setNetworking(self, iurl):
        """
            Create management bridge.
            This class will try to create a management bridge named "rehvm". Class
            always succeeds to allow network configuration from managment server
            even in case this class will fail to set the management bridge.


however, it is going to be reconsidered by Alon when he re-writes bootstrapping soon.


Note You need to log in before you can comment on or make changes to this bug.