Bug 1231614 - [6.7_3.5.4]Setup hosted engine failed through vlan tagged network
Summary: [6.7_3.5.4]Setup hosted engine failed through vlan tagged network
Keywords:
Status: CLOSED DUPLICATE of bug 1206884
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.5.3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 3.5.4
Assignee: Sandro Bonazzola
QA Contact: meital avital
URL:
Whiteboard: integration
Depends On:
Blocks: 1059435 1250199
TreeView+ depends on / blocked
 
Reported: 2015-06-15 05:30 UTC by wanghui
Modified: 2015-08-04 17:51 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-17 10:10:37 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log files (131.21 KB, application/x-gzip)
2015-06-15 05:30 UTC, wanghui
no flags Details

Description wanghui 2015-06-15 05:30:04 UTC
Created attachment 1038766 [details]
/var/log files

Description of problem:
Setup hosted engine failed through the vlan tagged network.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.7-20150609.0
ovirt-node-3.2.3-3.el6.noarch
ovirt-node-plugin-vdsm-0.2.0-25.el6ev.noarch
ovirt-node-plugin-hosted-engine-0.2.0-15.0.el6ev.noarch
ovirt-hosted-engine-ha-1.2.6-2.el6ev.noarch
ovirt-hosted-engine-setup-1.2.4-2.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor6-6.7-20150609.0
2. Setup network as vlan tagged.
3. File the OVA URL for download.
4. While setup hosted engine, choose "eth3.20" as network.
5. Check the network after configured.

Actual results:
1. It will report error and quit the setup process. And the rhevm network can not be created.

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
  File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/network/bridge.py", line 207, in _misc
  File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/network/bridge.py", line 225, in _setupNetworks
RuntimeError: Failed to setup networks {'rhevm': {'nic': 'eth3', 'vlan': 20, 'blockingdhcp': True, 'bootproto': 'dhcp'}}. Error code: "16" message: "Unexpected exception"
2015-06-12 09:14:26 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': Failed to setup networks {'rhevm': {'nic': 'eth3', 'vlan': 20, 'blockingdhcp': True, 'bootproto': 'dhcp'}}. Error code: "16" message: "Unexpected exception"

2. #ifconfig
eth3      Link encap:Ethernet  HWaddr 00:0E:0C:B0:95:6A  
          inet6 addr: fe80::20e:cff:feb0:956a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1191196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:401588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1794968013 (1.6 GiB)  TX bytes:26962982 (25.7 MiB)

eth3.20   Link encap:Ethernet  HWaddr 00:0E:0C:B0:95:6A  
          inet addr:192.168.22.185  Bcast:192.168.22.255  Mask:255.255.255.0
          inet6 addr: 2001::b8:1:0:20e:cff:feb0:956a/64 Scope:Global
          inet6 addr: fe80::20e:cff:feb0:956a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1190173 errors:0 dropped:0 overruns:0 frame:0
          TX packets:401475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1778243765 (1.6 GiB)  TX bytes:26955480 (25.7 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:648669 (633.4 KiB)  TX bytes:648669 (633.4 KiB)


Expected results:
1. It should setup hosted engine succeed.

Additional info:

Comment 1 wanghui 2015-06-15 05:38:57 UTC
Since this issue blocks the hosted engine setup through vlan network. So add the TestBlocker as the keyword.

Comment 3 Fabian Deutsch 2015-06-15 19:48:23 UTC
Moving this to hosted-engine setup according to the traceback in comment 0:

File "/usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/network/bridge.py", line 225, in _setupNetworks

Comment 4 Sandro Bonazzola 2015-06-17 09:59:54 UTC
Thread-17::DEBUG::2015-06-12 09:14:26,545::BindingXMLRPC::1133::vds::(wrapper) client [127.0.0.1]::call setupNetworks with ({'rhevm': {'nic': 'eth3', 'vlan': 20, 'blockingdhcp': True, 'bootproto': 'dhcp'}}, {}, {'connectivityCheck': False}) {}
Thread-17::ERROR::2015-06-12 09:14:26,549::BindingXMLRPC::1143::vds::(wrapper) libvirt error
Traceback (most recent call last):
  File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1136, in wrapper
  File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 554, in setupNetworks
  File "/usr/share/vdsm/API.py", line 1398, in setupNetworks
  File "/usr/share/vdsm/supervdsm.py", line 50, in __call__
  File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda>
  File "<string>", line 2, in setupNetworks
  File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in _callmethod
libvirtError: internal error client socket is closed

Comment 5 Sandro Bonazzola 2015-06-17 10:01:18 UTC
I can't reproduce the issue on a rhel install so it may be something related to the rhevh environment. I'm testing it on rhev-h now.

Comment 7 Sandro Bonazzola 2015-06-17 10:10:37 UTC
Looks like a duplicate of bug #1206884. The error on vdsm side is the same as reported in https://bugzilla.redhat.com/show_bug.cgi?id=1206884#c7

*** This bug has been marked as a duplicate of bug 1206884 ***


Note You need to log in before you can comment on or make changes to this bug.