Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1116785

Summary: multicast mac address should be filtered by hosted-engine-setup
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Moskovcak <jmoskovc>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: medium    
Version: 3.4.0CC: aburden, bazulay, dfediuck, gklein, gpadgett, iheim, lpeer, pkubica, scohen, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-hosted-engine-setup-1.2.0-0.2.master.el6_5 Doc Type: Bug Fix
Doc Text:
The use of multicast MAC addresses is not supported by libvirt. Previously, the hosted engine deployment wizard was not verifying the validity of a provided MAC address and the wizard was failing with an unexpected error. Now, MAC addresses are verified and the user is prompted to enter the address again if it is not valid.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:40:21 UTC Type: Bug
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:    
Bug Blocks: 1142923, 1156165    
Attachments:
Description Flags
vdsm log none

Description Jiri Moskovcak 2014-07-07 10:14:34 UTC
Description of problem:
When trying to install hosted engine I got the error in $(summ). Please see the attached log for more details

Version-Release number of selected component (if applicable):
vdsm-4.14.7-4.el6ev.x86_64
libvirt-0.10.2-29.el6_5.9.x86_64
ovirt-hosted-engine-setup-1.1.3-1.el6ev.noarch
ovirt-hosted-engine-ha-1.1.2-5.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. install ovirt-hosted-engine-setup
2. run hosted-engine --deploy
3. watch it die..

Actual results:
Setup fails to create the VM for the engine.

Comment 1 Jiri Moskovcak 2014-07-07 10:50:08 UTC
Created attachment 916035 [details]
vdsm log

Comment 2 Jiri Moskovcak 2014-07-07 10:55:10 UTC
As it turned out, I made a typo when entering a mac address and entered multicast mac. As it seems libvirt doesn't allow multicast mac address which lead to this error. So I think the right place to fix this is in the setup and prevent user from entering wrong mac. This [1] is the commit in libvirt which adds the check, so you can use the same pattern to validate the mac in the setup.

[1] http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0007237301586aa90f58a7cc8d7cb29a16b00470

Comment 3 Sandro Bonazzola 2014-07-08 12:21:34 UTC
Original subject was: AttributeError: 'NoneType' object has no attribute 'XMLDesc' (referenced in comment #0)

Comment 4 Petr Kubica 2014-11-14 15:09:09 UTC
Verified in ovirt-hosted-engine-setup-1.2.1-3.el6ev.noarch

You may specify a unicast MAC address for the VM or accept a randomly generated default [00:16:3e:02:ef:e0]: 01:1A:4C:10:3F:11
[ ERROR ] Invalid unicast MAC address specified: '01:1A:4C:10:3F:11'

Also tried with:
33:33:xx:xx:xx:xx
01:00:5E:xx:xx:xx
01:00:0C:CC:CC:CC
01:00:0C:CC:CC:CD
01:80:C2:00:00:00
etc..

Comment 7 errata-xmlrpc 2015-02-11 20:40:21 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.

https://rhn.redhat.com/errata/RHBA-2015-0161.html