Bug 647155
| Summary: | [vdsm] bond is configured by default when service starts with no actual reason | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Haim <hateya> |
| Component: | vdsm | Assignee: | Dan Kenigsberg <danken> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yaniv Kaul <ykaul> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | bazulay, iheim, ilvovsky, jkt, Rhev-m-bugs, yeylon, ykaul |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | vdsm-4.9-52.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-19 15:25:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 649239, 918666, 951018 | ||
| Bug Blocks: | |||
Since this is an API change between VDSM & RHEVM (RHEVM expects the first 5 bonds to be reported always) then we will handle continue configuring the first 5 bonds during VDSM startup, but if a request for the 6th bond will arrive we will create it dynamically. Deletion will not be handled at this satge - meaning when the 6th bond will be deleted (from RHEVM) the vdsm will continue report it's status. |
Description of problem: vdsm configures bond 0-4 each time service starts (see log from dmesg). bond configuration should be done on the fly if such requirement comes from user . from short conversation I had with backend team, there is no longer such requirement from their side, however, this should be tested before such commit being performed, as we don't want to cause any regression. Oct 25 12:04:23 magenta-vdsd kernel: bonding: bond0 is being created... Oct 25 12:04:23 magenta-vdsd kernel: bonding: cannot add bond bond0; already exists Oct 25 12:04:23 magenta-vdsd kernel: bonding: Bond creation failed. Oct 25 12:04:23 magenta-vdsd kernel: bonding: bond1 is being created... Oct 25 12:04:23 magenta-vdsd kernel: bonding: cannot add bond bond1; already exists Oct 25 12:04:23 magenta-vdsd kernel: bonding: Bond creation failed. Oct 25 12:04:23 magenta-vdsd kernel: bonding: bond2 is being created... Oct 25 12:04:23 magenta-vdsd kernel: bonding: cannot add bond bond2; already exists Oct 25 12:04:23 magenta-vdsd kernel: bonding: Bond creation failed. Oct 25 12:04:23 magenta-vdsd kernel: bonding: bond3 is being created... Oct 25 12:04:23 magenta-vdsd kernel: bonding: cannot add bond bond3; already exists Oct 25 12:04:23 magenta-vdsd kernel: bonding: Bond creation failed. Oct 25 12:04:23 magenta-vdsd kernel: bonding: bond4 is being created... Oct 25 12:04:23 magenta-vdsd kernel: bonding: cannot add bond bond4; already exists Oct 25 12:04:23 magenta-vdsd kernel: bonding: Bond creation failed. Oct 25 12:31:17 magenta-vdsd kernel: bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. [root@gold-vdsd ~]# ifconfig -a |more bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) bond1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) bond2 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) bond3 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) bond4 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)