3.5 hosted engine: 2nd host Cannot acquire bridge address

--Sig_/LN2bw8TMIqS9=ZENrf7wXWT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I've got a hosted engine up and running on a freshly installed 3.5 host (CentOS 6.6), and I'm tyying to add a second host. The install fails trying to configure the ovirtmgmt bridge: [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up [ ERROR ] Failed to execute stage 'Closing up': Cannot acquire bridge addre= ss =46rom the setup log: 2014-11-05 19:35:00 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.ad= d_host add_host._closeup:434 Updating engine's management network to be vla= nned 2014-11-05 19:35:02 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engi= ne.add_host add_host._closeup:445 Adding the host to the cluster 2014-11-05= 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add= _host._getIPAddress:184 Acquiring nic address 2014-11-05 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.ad= d_host plugin.executeRaw:785 execute: ('/sbin/ip', 'addr', 'show', 'eth1.79= '), executable=3D'None', cwd=3D'None', env=3DNone 2014-11-05 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.ad= d_host plugin.executeRaw:803 execute-result: ('/sbin/ip', 'addr', 'show', '= eth1.79'), rc=3D0 2014-11-05 19:35:03 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.ad= d_host plugin.execute:861 execute-output: ('/sbin/ip', 'addr', 'show', 'eth= 1.79') stdout: 4: eth1.79@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue s= tate 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.ad= d_host plugin.execute:866 execute-output: ('/sbin/ip', 'addr', 'show', 'eth= 1.79') stderr: 2014-11-05 19:35:03 DEBUG otopi.context context._executeMethod:152 method e= xception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _e= xecuteMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hoste= d-engine-setup/engine/add_host.py", line 485, in _closeup address=3Dself._getIPAddress(), File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hoste= d-engine-setup/engine/add_host.py", line 199, in _getIPAddress raise RuntimeError(_('Cannot acquire bridge address')) RuntimeError: Cannot acquire bridge address 2014-11-05 19:35:03 ERROR otopi.context context._executeMethod:161 Failed t= o execute stage 'Closing up': Cannot acquire bridge address The install on the first host worked fine on a VLAN (eth1.79). Robert --=20 Senior Software Engineer @ Parsons --Sig_/LN2bw8TMIqS9=ZENrf7wXWT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRax2cACgkQ7/fVLLY1mngpJwCeKPtZFsr41sAJVHV6LIeK7a35 SGIAn0T47ampbAbCzcOUeUArVCYLAtzn =YGdM -----END PGP SIGNATURE----- --Sig_/LN2bw8TMIqS9=ZENrf7wXWT--

--Sig_/7IJm3.xtYZjarUS+4_l0RVs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 3.5 host RS> (CentOS 6.6), and I'm tyying to add a second host. The install fails RS> trying to configure the ovirtmgmt bridge: RS>=20 RS> [ INFO ] Updating hosted-engine configuration RS> [ INFO ] Stage: Transaction commit RS> [ INFO ] Stage: Closing up RS> [ ERROR ] Failed to execute stage 'Closing up': Cannot acquire bridge RS> address RS>=20 RS> From the setup log: RS> [snip] complete logs from the second host at http://futz.org/users/tmp/ovirt7/ Robert --=20 Senior Software Engineer @ Parsons --Sig_/7IJm3.xtYZjarUS+4_l0RVs Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRazLoACgkQ7/fVLLY1mnhimQCeNuMDaAi77iOg+2n82IJRAgCS NQwAnRmeHXqffIPjVjSRuT0JPNJiccR/ =gKOs -----END PGP SIGNATURE----- --Sig_/7IJm3.xtYZjarUS+4_l0RVs--

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 3.5 host RS> (CentOS 6.6), and I'm tyying to add a second host. The install fails RS> trying to configure the ovirtmgmt bridge: RS> RS> [ INFO ] Updating hosted-engine configuration RS> [ INFO ] Stage: Transaction commit RS> [ INFO ] Stage: Closing up RS> [ ERROR ] Failed to execute stage 'Closing up': Cannot acquire bridge RS> 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? Thanks, Jirka
Robert
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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 3.5 host RS> (CentOS 6.6), and I'm tyying to add a second host. The install fails RS> trying to configure the ovirtmgmt bridge: RS> RS> [ INFO ] Updating hosted-engine configuration RS> [ INFO ] Stage: Transaction commit RS> [ INFO ] Stage: Closing up RS> [ ERROR ] Failed to execute stage 'Closing up': Cannot acquire bridge RS> 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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

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 ?? Xie -----邮件原件----- 发件人: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] 代表 Sandro Bonazzola 发送时间: 2014年11月6日 15:39 收件人: Antoni Segura Puimedon 抄送: users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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'
Xie
-----邮件原件----- 发件人: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] 代表 Sandro Bonazzola 发送时间: 2014年11月6日 15:39 收件人: Antoni Segura Puimedon 抄送: users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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@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

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@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@ovirt.org [mailto:users-bounces@ovirt.org] 代表 Sandro Bonazzola 发送时间: 2014年11月6日 15:39 收件人: Antoni Segura Puimedon 抄送: users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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@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

--Sig_/a0oJs3HqXOYY3FF6PRWf1mx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 09 Dec 2014 10:33:51 +0100 Sandro wrote: SB> > Looking at setup logs, you have: SB> > OVEHOSTED_NETWORK/bridgeIf=3Dstr:'eth1.79' SB> > [...] SB> > which seems to fail matching REGEXP: SB> >=20 SB> > _ADDRESS_RE =3D re.compile( SB> > flags=3Dre.VERBOSE, SB> > pattern=3Dr""" SB> > \s+ SB> > inet SB> > \s SB> > (?P<address>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) SB> > .+ SB> > \s+ SB> > (?P<interface>\w+) SB> > $ SB> > """ SB> > ) SB> >=20 SB> > I guess the match is failing due to the '.' in 'eth1.79' SB>=20 SB> If you haven't already opened a BZ about it, please open one, thanks https://bugzilla.redhat.com/show_bug.cgi?id=3D1172287 Robert --=20 Senior Software Engineer @ Parsons --Sig_/a0oJs3HqXOYY3FF6PRWf1mx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSHSoEACgkQ7/fVLLY1mniDhQCghrfXNyeT4jcuMySlejTqPORR kGUAn1YPZohirkeyUPhpgsxq5MgW5lwT =tAv8 -----END PGP SIGNATURE----- --Sig_/a0oJs3HqXOYY3FF6PRWf1mx--

Il 09/12/2014 20:16, Robert Story ha scritto:
On Tue, 09 Dec 2014 10:33:51 +0100 Sandro wrote: SB> > Looking at setup logs, you have: SB> > OVEHOSTED_NETWORK/bridgeIf=str:'eth1.79' SB> > [...] SB> > which seems to fail matching REGEXP: SB> > SB> > _ADDRESS_RE = re.compile( SB> > flags=re.VERBOSE, SB> > pattern=r""" SB> > \s+ SB> > inet SB> > \s SB> > (?P<address>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) SB> > .+ SB> > \s+ SB> > (?P<interface>\w+) SB> > $ SB> > """ SB> > ) SB> > SB> > I guess the match is failing due to the '.' in 'eth1.79' SB> SB> If you haven't already opened a BZ about it, please open one, thanks
Thanks
Robert
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (4)
-
Jiri Moskovcak
-
Robert Story
-
Sandro Bonazzola
-
Xie, Chao