Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 891056 - PRD33 - [RFE] Normalized ovirtmgmt Initialization - provision mgmt network post bootstrap
PRD33 - [RFE] Normalized ovirtmgmt Initialization - provision mgmt network po...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.2.0
x86_64 Windows
medium Severity medium
: ---
: 3.3.0
Assigned To: Moti Asayag
Martin Pavlik
http://www.ovirt.org/Features/Normali...
network
: FutureFeature, Triaged
: 917724 (view as bug list)
Depends On: 967866
Blocks: 976691 1019470
  Show dependency treegraph
 
Reported: 2013-01-01 07:47 EST by Dan Kenigsberg
Modified: 2016-02-10 14:53 EST (History)
16 users (show)

See Also:
Fixed In Version: is5
Doc Type: Release Note
Doc Text:
The configuration of the management bridge on the host was moved from ovirt-host-deploy phase into the engine for the 3.3 cluster level. Once the host is installed, the engine will configure the management network according to its logical definition on the data center level. Previously, the ovirt-host-deploy created the management bridge using more primitive methods compared to the engine capabilities. This lead to higher chance of fail, failure to revert or having incorrect network settings. As a side effect and by trusting the engine to be able to recover from invalid network configuration, the host reboot is no longer required as the last step of the host installation.
Story Points: ---
Clone Of:
: 976691 (view as bug list)
Environment:
Last Closed: 2014-01-21 12:12:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sgrinber: Triaged+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 293443 None None None Never
oVirt gerrit 14230 None None None Never
Red Hat Product Errata RHSA-2014:0038 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 17:03:06 EST

  None (edit)
Description Dan Kenigsberg 2013-01-01 07:47:08 EST
The management network, named ovirtmgmt, is created during host bootstrap. It consists of a bridge device, connected to the network device that was used to communicate with Engine (nic, bonding or vlan). It inherits its ip settings from the latter device. Creating the management network is the most fragile, error-prone step of bootstrap.

Currently it always creates a bridged network (even if the DC requires a non-bridged ovirtmgmt), it knows nothing about the defined MTU for ovirtmgmt, it uses ping to guess on top of which device to build (and thus requires Vdsm-to-Engine reverse connectivity), and is the sole remaining user of the addNetwork/vdsm-store-net-conf scripts.

Bootstrap would avoid creating a management network. Instead, after bootstrapping a host, Engine would send a getVdsCaps probe to the installed host, receiving a complete picture of the network configuration on the host. Among this picture is the device that holds the host's management IP address.

Most of the work lies in Engine, where the output of getVdsCaps should be parsed, and a setupNetworks command should be transmitted after a new host is added to the data center. A preliminary list of actions when adding a host is:

1. start host deployment with
        ODEPLOY/forceReboot = False
        VDSM/managementBridgeName undefined 
2. after otopi finishes, start to poll host with getVdsCaps. If timeout expires, fail host deployment.
3. define ovirtmgmt on host
   - if already defined, declare success.
   - acquire lastClientInterface and devise network definition for ovirtmgmt. 
   - send setupNetworks with the new network definition.
   - on success, send setSafeNetConfig. On failure show an event to the user. the host would be left unoperational, and may need manual network configuration. 
4. if the user requested post-installation reboot, fence the newly-added host.

http://lists.ovirt.org/pipermail/arch/2012-December/001101.html
Comment 1 Simon Grinberg 2013-03-14 06:22:26 EDT
*** Bug 917724 has been marked as a duplicate of this bug. ***
Comment 3 Alon Bar-Lev 2013-04-24 10:44:03 EDT
Hello,

I see this merge upstream.

I was not CCed on this, just to make sure... this patch should have deployed a host without creating the bridge, right?

How was it tested?

As far as mpavlik sees engine still passes the management bridge name to host-deploy.

Thanks,
Alon
Comment 4 Moti Asayag 2013-04-25 05:43:10 EDT
(In reply to comment #3)
> Hello,
> 
> I see this merge upstream.
> 
> I was not CCed on this, just to make sure... this patch should have deployed
> a host without creating the bridge, right?
> 

I missed a patch to the VdsDesploy which removes the need of this environment value.

> How was it tested?
> 

Since the entire logic was implemented as part of the host activation flow, it was tested via the activating the host and not by its installation.

> As far as mpavlik sees engine still passes the management bridge name to
> host-deploy.
> 

Posted a complementary patch for the host installation part:

http://gerrit.ovirt.org/14230

> Thanks,
> Alon
Comment 5 Alon Bar-Lev 2013-06-19 13:24:29 EDT
I still need to complete the packaging.
Comment 6 Alon Bar-Lev 2013-09-24 03:25:59 EDT
Trying to rephrase the doc text a bit...
Comment 7 Cheryn Tan 2013-09-24 04:08:13 EDT
:) Thanks!
Comment 9 errata-xmlrpc 2014-01-21 12:12:14 EST
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.

http://rhn.redhat.com/errata/RHSA-2014-0038.html

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