RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 840594 - 3.1 - beta2 VDSM | Host status unassigned when virsh and brctl bridge list do not match.
Summary: 3.1 - beta2 VDSM | Host status unassigned when virsh and brctl bridge list do...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: beta
: ---
Assignee: Antoni Segura Puimedon
QA Contact: Meni Yakove
URL:
Whiteboard: network
: 823248 847741 (view as bug list)
Depends On:
Blocks: 856163
TreeView+ depends on / blocked
 
Reported: 2012-07-16 16:08 UTC by Meni Yakove
Modified: 2022-07-09 05:37 UTC (History)
11 users (show)

Fixed In Version: vdsm-4.9.6-29.0
Doc Type: Bug Fix
Doc Text:
Previously, hosts became non-operational when information was retrieved from engine-defined bridged networks that had been removed from the host. A fix has been implemented that catches the error caused by the attempt to retrieve information from the missing bridge, stopping the bridged network from being reported to the engine. In cases such as this, the host now becomes "unassigned" for bridged networks and "up" for non-required bridged networks.
Clone Of:
: 856163 (view as bug list)
Environment:
Last Closed: 2012-12-04 19:02:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log (391.83 KB, application/octet-stream)
2012-07-16 16:08 UTC, Meni Yakove
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1508 0 normal SHIPPED_LIVE Important: rhev-3.1.0 vdsm security, bug fix, and enhancement update 2012-12-04 23:48:05 UTC

Description Meni Yakove 2012-07-16 16:08:31 UTC
Created attachment 598495 [details]
vdsm.log

Description of problem:
When bridge on virsh and on the host (brctl) do not match then the host is in unassigned status. 
Get error in vdsm log about missing file in /sys/class/net
OSError: [Errno 2] No such file or directory: '/sys/class/net/vm_net3/brif'

[root@orchid-vds2 net]# vdsClient -s 0 getVdsCaps
Unexpected exception


Version-Release number of selected component (if applicable):
vdsm-4.9.6-21.0.el6_3.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Attach network to interface on host.
2.on the host delete the newly created bridge - brctl delbr
3.Switch the host to maintenance.
4.Activate the host.
  
Actual results:
Host is in unassigned.

Expected results:
Host should be in non-operational status.

Comment 3 Dan Kenigsberg 2012-07-21 21:57:08 UTC
That's pretty bad - we have to be more robust.

Comment 4 lpeer 2012-08-07 08:31:11 UTC
*** Bug 823248 has been marked as a duplicate of this bug. ***

Comment 5 Antoni Segura Puimedon 2012-08-13 09:31:04 UTC
Submitted patch:

    http://gerrit.ovirt.org/#/c/7127/

Comment 6 lpeer 2012-08-16 11:07:26 UTC
*** Bug 847741 has been marked as a duplicate of this bug. ***

Comment 8 Meni Yakove 2012-08-23 07:20:35 UTC
Verified on vdsm-4.9.6-29.0.el6_3.x86_64

Comment 9 Dan Kenigsberg 2012-09-11 08:17:29 UTC
We have pretty much the same problem with bridgeless networks, too. If libvirt's network definition refers to a vlan device (or bond, or nic) that happen to be missing, getVdsCaps break into pieces.

Comment 10 Antoni Segura Puimedon 2012-09-11 10:26:17 UTC
Reopening to fix the cases above pointed out by Dan Kenigsberg.

Comment 13 errata-xmlrpc 2012-12-04 19:02:58 UTC
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-2012-1508.html


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