[ovirt-users] 答复: 3.5 hosted engine: 2nd host Cannot acquire bridge address

Sandro Bonazzola sbonazzo at redhat.com
Tue Dec 9 09:33:51 UTC 2014


Il 09/12/2014 10:32, Sandro Bonazzola ha scritto:
> Il 08/12/2014 14:38, Xie, Chao ha scritto:
>> Hi
>> 	I also have the problem in CENTOS7 / Host Engine 3.5 when using VLAN adding 2nd host. Do you have the patch or some temporary way to fix ?? 
> 
> Looking at setup logs, you have: OVEHOSTED_NETWORK/bridgeIf=str:'eth1.79'
> 
> and when it try to get the ip address for the interface:
> 
> 2014-11-05 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host plugin.execute:861 execute-output: ('/sbin/ip', 'addr', 'show',
> 'eth1.79') stdout:
> 4: eth1.79 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
>     link/ether 00:26:9e:0b:31:e5 brd ff:ff:ff:ff:ff:ff
>     inet 10.69.79.32/24 brd 10.69.79.255 scope global eth1.79
>     inet6 fe80::226:9eff:fe0b:31e5/64 scope link
>        valid_lft forever preferred_lft forever
> 
> 2014-11-05 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host plugin.execute:866 execute-output: ('/sbin/ip', 'addr', 'show',
> 'eth1.79') stderr:
> 
> 
> 2014-11-05 19:35:03 DEBUG otopi.context context._executeMethod:152 method exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
>     method['method']()
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py", line 485, in _closeup
>     address=self._getIPAddress(),
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py", line 199, in _getIPAddress
>     raise RuntimeError(_('Cannot acquire bridge address'))
> RuntimeError: Cannot acquire bridge address
> 
> 
> which seems to fail matching REGEXP:
> 
>     _ADDRESS_RE = re.compile(
>         flags=re.VERBOSE,
>         pattern=r"""
>             \s+
>             inet
>             \s
>             (?P<address>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
>             .+
>             \s+
>             (?P<interface>\w+)
>             $
>     """
>     )
> 
> I guess the match is failing due to the '.' in 'eth1.79'

If you haven't already opened a BZ about it, please open one, thanks

> 
> 
>>
>> Xie
>>
>> -----邮件原件-----
>> 发件人: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] 代表 Sandro Bonazzola
>> 发送时间: 2014年11月6日 15:39
>> 收件人: Antoni Segura Puimedon
>> 抄送: users at ovirt.org
>> 主题: Re: [ovirt-users] 3.5 hosted engine: 2nd host Cannot acquire bridge address
>>
>> Il 06/11/2014 08:19, Jiri Moskovcak ha scritto:
>>> On 11/06/2014 02:19 AM, Robert Story wrote:
>>>> On Wed, 5 Nov 2014 19:57:07 -0500 Robert wrote:
>>>> RS> I've got a hosted engine up and running on a freshly installed 
>>>> RS> 3.5 host (CentOS 6.6), and I'm tyying to add a second host. The 
>>>> RS> install fails trying to configure the ovirtmgmt bridge:
>>>> RS>
>>>> RS> [ INFO  ] Updating hosted-engine configuration [ INFO  ] Stage: 
>>>> RS> Transaction commit [ INFO  ] Stage: Closing up [ ERROR ] Failed 
>>>> RS> to execute stage 'Closing up': Cannot acquire bridge address
>>>> RS>
>>>> RS> From the setup log:
>>>> RS> [snip]
>>>>
>>>> complete logs from the second host at 
>>>> http://futz.org/users/tmp/ovirt7/
>>>>
>>>>
>>>
>>> Hi,
>>> this seems like a question for our network gurus, Antoni, can you please take a look?
>>
>> Adding Antoni to cc
>>
>>>
>>> Thanks,
>>> Jirka
>>>
>>>>
>>>> Robert
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> 
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Users mailing list