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.
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.
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
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..
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