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

2014-12-09 Thread Sandro Bonazzola
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
 (?Paddress\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
 .+
 \s+
 (?Pinterface\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-boun...@ovirt.org [mailto:users-boun...@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-12-09 Thread Sandro Bonazzola
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
(?Paddress\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
.+
\s+
(?Pinterface\w+)
$

)

I guess the match is failing due to the '.' in 'eth1.79'


 
 Xie
 
 -邮件原件-
 发件人: users-boun...@ovirt.org [mailto:users-boun...@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-12-09 Thread Robert Story
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  (?Paddress\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
SB  .+
SB  \s+
SB  (?Pinterface\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

  https://bugzilla.redhat.com/show_bug.cgi?id=1172287


Robert

-- 
Senior Software Engineer @ Parsons


signature.asc
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-12-09 Thread Sandro Bonazzola
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  (?Paddress\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
 SB  .+
 SB  \s+
 SB  (?Pinterface\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
 
   https://bugzilla.redhat.com/show_bug.cgi?id=1172287
 

Thanks

 
 Robert
 


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


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

2014-12-08 Thread Xie, Chao
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-boun...@ovirt.org [mailto:users-boun...@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users