Previously, installing a host from the engine caused the engine to send "getVdsCaps". "getVdsCaps" uses "lastClientIface" to determine where to put the management bridge ("ovirtmgmt"). Because VDSM reports the last client IP for the previous connection (not the current one), the initial connection returns "0.0.0.0". This cased a failure in the automatic creation of the management network.
The first VDSM verb now returns the correct lastClient IP and the correct lastClientIface.
Description of problem:
When installing a host from the engine, the engine sends a getVdsCaps which uses 'lastClientIface' to know on which device to place the management bridge ('ovirtmgmt'). However, since VDSM reports the last client IP for the *previous* connection and not the current one, the first ever connection will always return '0.0.0.0'.
How reproducible:
100%
Steps to Reproduce:
1. Install VDSM
2. Start VDSM
3. Run getVdsCaps
Actual results:
The first invocation after VDSM start will return '0.0.0.0' for lastClient, 'lo' for lastClientIface
Expected results:
First invocation, like following ones, should return the correct lastClient IP and the correct lastClientIface.
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/RHBA-2014-0504.html
Description of problem: When installing a host from the engine, the engine sends a getVdsCaps which uses 'lastClientIface' to know on which device to place the management bridge ('ovirtmgmt'). However, since VDSM reports the last client IP for the *previous* connection and not the current one, the first ever connection will always return '0.0.0.0'. How reproducible: 100% Steps to Reproduce: 1. Install VDSM 2. Start VDSM 3. Run getVdsCaps Actual results: The first invocation after VDSM start will return '0.0.0.0' for lastClient, 'lo' for lastClientIface Expected results: First invocation, like following ones, should return the correct lastClient IP and the correct lastClientIface.