Re: [Users] Host deployment on 3.2

2013-02-16 Thread Alon Bar-Lev
commit 44f16ba2411e29a8bc9f3c14054993e9782f5266
Author: Alon Bar-Lev 
Date:   Sat Feb 16 18:38:03 2013 +0200

vdsm: bridge: cleanup bridge/vlan message

Change-Id: Ic8778566a34808ac777510ab1c918c2cf92bae20
Signed-off-by: Alon Bar-Lev 

commit 780eebe76ed0687311caa7960073e4cd6eadacb4
Author: Alon Bar-Lev 
Date:   Sat Feb 16 11:00:51 2013 +0200

commit 144e888903664c1eb38b97d955e0027e9b8aa1c6
Author: Alon Bar-Lev 
Date:   Sat Feb 16 10:51:50 2013 +0200

vdsm: bridge: /proc/net/vlan may contain tabs

Reference-Url: 
http://lists.ovirt.org/pipermail/users/2013-February/012365.html
Reported-By: Jeff Bailey 
Change-Id: I1aa5f1d1a88e41447ecd1eb2121d4b829f586b27
Signed-off-by: Alon Bar-Lev 


- Original Message -
> From: "Jeff Bailey" 
> To: users@ovirt.org
> Sent: Saturday, February 16, 2013 1:41:17 PM
> Subject: Re: [Users] Host deployment on 3.2
> 
> 
> On 2/16/2013 3:53 AM, Alon Bar-Lev wrote:
> > Thanks!
> > Can you please check if the following fixes the problem?
> 
> Looks like that fixed it.  Thanks.
> 
> > I can provide rpms if you like.
> >
> > - Original Message -
> >> From: "Jeff Bailey" 
> >> To: users@ovirt.org
> >> Sent: Saturday, February 16, 2013 10:29:43 AM
> >> Subject: Re: [Users] Host deployment on 3.2
> >>
> >>
> >> On 2/16/2013 2:00 AM, Alon Bar-Lev wrote:
> >>> Can you please send the content of /proc/net/vlan?
> >> Here's a "cat /proc/net/vlan/em1_1.538".  I attached it instead of
> >> pasting so you can get an exact copy with all the white space etc.
> >>
> >>> ----- Original Message -
> >>>> From: "Jeff Bailey" 
> >>>> To: "Alon Bar-Lev" 
> >>>> Cc: users@ovirt.org
> >>>> Sent: Saturday, February 16, 2013 2:01:44 AM
> >>>> Subject: Re: [Users] Host deployment on 3.2
> >>>>
> >>>> On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:
> >>>>> Can you please provide the relevant log from
> >>>>> /var/log/ovirt-engine/host-deploy?
> >>>> Sure.  Here's the error and some bits around it.
> >>>>
> >>>>> - Original Message -
> >>>>>> From: "Jeff Bailey" 
> >>>>>> To: users@ovirt.org
> >>>>>> Sent: Saturday, February 16, 2013 1:29:44 AM
> >>>>>> Subject: [Users] Host deployment on 3.2
> >>>>>>
> >>>>>> I've hit a couple of small problems deploying an F18 minimal
> >>>>>> host
> >>>>>> with
> >>>>>> 3.2.  The first problem was missing tar.  Second, I had
> >>>>>> manually
> >>>>>> set
> >>>>>> up
> >>>>>> a vlan on the host for initial communication and the regular
> >>>>>> expression
> >>>>>> in bridge.py of the otopi plugin couldn't determine the vlan
> >>>>>> id.
> >>>>>> After
> >>>>>> tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was
> >>>>>> fine.
> >>>>>>
> >>>>>> ---
> >>>>>>   Jeff
> >>>>>>
> >>>>>> ___
> >>>>>> 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
> >>
> 
> ___
> 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


Re: [Users] Host deployment on 3.2

2013-02-16 Thread Jeff Bailey


On 2/16/2013 3:53 AM, Alon Bar-Lev wrote:

Thanks!
Can you please check if the following fixes the problem?


Looks like that fixed it.  Thanks.


I can provide rpms if you like.

- Original Message -

From: "Jeff Bailey" 
To: users@ovirt.org
Sent: Saturday, February 16, 2013 10:29:43 AM
Subject: Re: [Users] Host deployment on 3.2


On 2/16/2013 2:00 AM, Alon Bar-Lev wrote:

Can you please send the content of /proc/net/vlan?

Here's a "cat /proc/net/vlan/em1_1.538".  I attached it instead of
pasting so you can get an exact copy with all the white space etc.


- Original Message -

From: "Jeff Bailey" 
To: "Alon Bar-Lev" 
Cc: users@ovirt.org
Sent: Saturday, February 16, 2013 2:01:44 AM
Subject: Re: [Users] Host deployment on 3.2

On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:

Can you please provide the relevant log from
/var/log/ovirt-engine/host-deploy?

Sure.  Here's the error and some bits around it.


- Original Message -

From: "Jeff Bailey" 
To: users@ovirt.org
Sent: Saturday, February 16, 2013 1:29:44 AM
Subject: [Users] Host deployment on 3.2

I've hit a couple of small problems deploying an F18 minimal
host
with
3.2.  The first problem was missing tar.  Second, I had manually
set
up
a vlan on the host for initial communication and the regular
expression
in bridge.py of the otopi plugin couldn't determine the vlan id.
After
tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was
fine.

---
  Jeff

___
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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host deployment on 3.2

2013-02-16 Thread Alon Bar-Lev
Thanks!
Can you please check if the following fixes the problem?
I can provide rpms if you like.

- Original Message -
> From: "Jeff Bailey" 
> To: users@ovirt.org
> Sent: Saturday, February 16, 2013 10:29:43 AM
> Subject: Re: [Users] Host deployment on 3.2
> 
> 
> On 2/16/2013 2:00 AM, Alon Bar-Lev wrote:
> > Can you please send the content of /proc/net/vlan?
> 
> Here's a "cat /proc/net/vlan/em1_1.538".  I attached it instead of
> pasting so you can get an exact copy with all the white space etc.
> 
> >
> > - Original Message -
> >> From: "Jeff Bailey" 
> >> To: "Alon Bar-Lev" 
> >> Cc: users@ovirt.org
> >> Sent: Saturday, February 16, 2013 2:01:44 AM
> >> Subject: Re: [Users] Host deployment on 3.2
> >>
> >> On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:
> >>> Can you please provide the relevant log from
> >>> /var/log/ovirt-engine/host-deploy?
> >> Sure.  Here's the error and some bits around it.
> >>
> >>> - Original Message -
> >>>> From: "Jeff Bailey" 
> >>>> To: users@ovirt.org
> >>>> Sent: Saturday, February 16, 2013 1:29:44 AM
> >>>> Subject: [Users] Host deployment on 3.2
> >>>>
> >>>> I've hit a couple of small problems deploying an F18 minimal
> >>>> host
> >>>> with
> >>>> 3.2.  The first problem was missing tar.  Second, I had manually
> >>>> set
> >>>> up
> >>>> a vlan on the host for initial communication and the regular
> >>>> expression
> >>>> in bridge.py of the otopi plugin couldn't determine the vlan id.
> >>>>After
> >>>> tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was
> >>>> fine.
> >>>>
> >>>> ---
> >>>>  Jeff
> >>>>
> >>>> ___
> >>>> 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
> 
From 7a168feb795dff304c0de2aa8d69f3fd1ffa0c91 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev 
Date: Sat, 16 Feb 2013 10:51:50 +0200
Subject: [PATCH] vdsm: bridge: /proc/net/vlan may contain tabs

Change-Id: I1aa5f1d1a88e41447ecd1eb2121d4b829f586b27
Signed-off-by: Alon Bar-Lev 
---
 src/plugins/ovirt-host-deploy/vdsm/bridge.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/ovirt-host-deploy/vdsm/bridge.py b/src/plugins/ovirt-host-deploy/vdsm/bridge.py
index c00838c..4b099af 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/bridge.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/bridge.py
@@ -128,8 +128,9 @@ class Plugin(plugin.PluginBase):
 _RE_VLAN_ID = re.compile(
 flags=re.VERBOSE,
 pattern=r"""
+^
 .*
-VID: ([0-9]+)
+\sVID:\s(\d+)\s
 .*
 """
 )
-- 
1.7.12.4

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host deployment on 3.2

2013-02-16 Thread Jeff Bailey


On 2/16/2013 2:00 AM, Alon Bar-Lev wrote:

Can you please send the content of /proc/net/vlan?


Here's a "cat /proc/net/vlan/em1_1.538".  I attached it instead of 
pasting so you can get an exact copy with all the white space etc.




- Original Message -

From: "Jeff Bailey" 
To: "Alon Bar-Lev" 
Cc: users@ovirt.org
Sent: Saturday, February 16, 2013 2:01:44 AM
Subject: Re: [Users] Host deployment on 3.2

On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:

Can you please provide the relevant log from
/var/log/ovirt-engine/host-deploy?

Sure.  Here's the error and some bits around it.


- Original Message -

From: "Jeff Bailey" 
To: users@ovirt.org
Sent: Saturday, February 16, 2013 1:29:44 AM
Subject: [Users] Host deployment on 3.2

I've hit a couple of small problems deploying an F18 minimal host
with
3.2.  The first problem was missing tar.  Second, I had manually
set
up
a vlan on the host for initial communication and the regular
expression
in bridge.py of the otopi plugin couldn't determine the vlan id.
   After
tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was
fine.

---
 Jeff

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





em1_1.538  VID: 538  REORDER_HDR: 1  dev->priv_flags: 1
 total frames received   469445
  total bytes received   6044333168
  Broadcast/Multicast Rcvd12437

  total frames transmitted   418744
   total bytes transmitted197589374
Device: em1_1
INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
 EGRESS priority mappings: 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host deployment on 3.2

2013-02-15 Thread Alon Bar-Lev
Can you please send the content of /proc/net/vlan?

- Original Message -
> From: "Jeff Bailey" 
> To: "Alon Bar-Lev" 
> Cc: users@ovirt.org
> Sent: Saturday, February 16, 2013 2:01:44 AM
> Subject: Re: [Users] Host deployment on 3.2
> 
> On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:
> > Can you please provide the relevant log from
> > /var/log/ovirt-engine/host-deploy?
> 
> Sure.  Here's the error and some bits around it.
> 
> >
> > - Original Message -
> >> From: "Jeff Bailey" 
> >> To: users@ovirt.org
> >> Sent: Saturday, February 16, 2013 1:29:44 AM
> >> Subject: [Users] Host deployment on 3.2
> >>
> >> I've hit a couple of small problems deploying an F18 minimal host
> >> with
> >> 3.2.  The first problem was missing tar.  Second, I had manually
> >> set
> >> up
> >> a vlan on the host for initial communication and the regular
> >> expression
> >> in bridge.py of the otopi plugin couldn't determine the vlan id.
> >>   After
> >> tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was
> >> fine.
> >>
> >> ---
> >> Jeff
> >>
> >> ___
> >> 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


Re: [Users] Host deployment on 3.2

2013-02-15 Thread Jeff Bailey

On 2/15/2013 6:42 PM, Alon Bar-Lev wrote:

Can you please provide the relevant log from /var/log/ovirt-engine/host-deploy?


Sure.  Here's the error and some bits around it.



- Original Message -

From: "Jeff Bailey" 
To: users@ovirt.org
Sent: Saturday, February 16, 2013 1:29:44 AM
Subject: [Users] Host deployment on 3.2

I've hit a couple of small problems deploying an F18 minimal host
with
3.2.  The first problem was missing tar.  Second, I had manually set
up
a vlan on the host for initial communication and the regular
expression
in bridge.py of the otopi plugin couldn't determine the vlan id.
  After
tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was fine.

---
Jeff

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
bridge._waitForRoute:248 connect established ('131.123.38.29', 80)
2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
bridge._getInterfaceForDestination:302 determine interface for 131.123.38.29
2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
plugin.executeRaw:347 execute: ('/sbin/ip', 'route', 'get', 'to', 
'131.123.38.29'), executable='None', cwd='None', env=None
2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
plugin.executeRaw:364 execute-result: ('/sbin/ip', 'route', 'get', 'to', 
'131.123.38.29'), rc=0
2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
plugin.execute:411 execute-output: ('/sbin/ip', 'route', 'get', 'to', 
'131.123.38.29') stdout:
131.123.38.29 dev em1_1.538  src 131.123.38.20 
cache 

2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
plugin.execute:416 execute-output: ('/sbin/ip', 'route', 'get', 'to', 
'131.123.38.29') stderr:


2013-02-15 14:57:13 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge 
bridge._getInterfaceForDestination:337 interface for 131.123.38.29 is em1_1.538
2013-02-15 14:57:13 DEBUG otopi.context context._executeMethod:130 method 
exception
Traceback (most recent call last):
  File "/tmp/ovirt-DyHo6SymCE/pythonlib/otopi/context.py", line 120, in 
_executeMethod
method['method']()
  File "/tmp/ovirt-DyHo6SymCE/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", 
line 733, in _validation
self._getVlanMasterDevice(name=interface)
  File "/tmp/ovirt-DyHo6SymCE/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", 
line 393, in _getVlanMasterDevice
interface=name,
RuntimeError: Interface em1_1.538 is VLAN interface However its configuration 
is unexpected
2013-02-15 14:57:13 ERROR otopi.context context._executeMethod:139 Failed to 
execute stage 'Setup validation': Interface em1_1.538 is VLAN interface However 
its configuration is unexpected
2013-02-15 14:57:13 DEBUG otopi.context context.dumpEnvironment:391 ENVIRONMENT 
DUMP - BEGIN
2013-02-15 14:57:13 DEBUG otopi.context context.dumpEnvironment:401 ENV 
BASE/error=bool:'True'
2013-02-15 14:57:13 DEBUG otopi.context context.dumpEnvironment:401 ENV 
VDSM/engineAddress=str:'131.123.38.29'
2013-02-15 14:57:13 DEBUG otopi.context context.dumpEnvironment:403 ENVIRONMENT 
DUMP - END
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host deployment on 3.2

2013-02-15 Thread Alon Bar-Lev
Can you please provide the relevant log from /var/log/ovirt-engine/host-deploy?

- Original Message -
> From: "Jeff Bailey" 
> To: users@ovirt.org
> Sent: Saturday, February 16, 2013 1:29:44 AM
> Subject: [Users] Host deployment on 3.2
> 
> I've hit a couple of small problems deploying an F18 minimal host
> with
> 3.2.  The first problem was missing tar.  Second, I had manually set
> up
> a vlan on the host for initial communication and the regular
> expression
> in bridge.py of the otopi plugin couldn't determine the vlan id.
>  After
> tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was fine.
> 
> ---
>Jeff
> 
> ___
> 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


[Users] Host deployment on 3.2

2013-02-15 Thread Jeff Bailey
I've hit a couple of small problems deploying an F18 minimal host with 
3.2.  The first problem was missing tar.  Second, I had manually set up 
a vlan on the host for initial communication and the regular expression 
in bridge.py of the otopi plugin couldn't determine the vlan id.  After 
tweeking it a bit to make it similar to _RE_VLAN_DEVICE it was fine.


---
  Jeff

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users