Bug 1093994 - Neutron: Failed to install Host neseted_host_1. Failed to execute stage 'Misc configuration': list index out of range.
Summary: Neutron: Failed to install Host neseted_host_1. Failed to execute stage 'Misc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: 3.4.1
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard: network
Depends On: 1086789
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-04 07:27 UTC by Moti Asayag
Modified: 2014-05-08 13:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1086789
Environment:
Last Closed: 2014-05-08 13:36:07 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 27295 0 master MERGED engine: Skip empty bridge mappings Never
oVirt gerrit 27343 0 ovirt-engine-3.4 MERGED engine: Skip empty bridge mappings Never

Description Moti Asayag 2014-05-04 07:27:18 UTC
+++ This bug was initially created as a clone of Bug #1086789 +++

Description of problem:
If user tries to install host with external provider support and leaves 
"Bridge Mappings" field in Install Host -> Network Provider empty

Installation fails with following error: 
Failed to install Host neseted_host_1. Failed to execute stage 'Misc configuration': list index out of range.

2014-04-11 15:20:38 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-ZCg95XYwmz/pythonlib/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/tmp/ovirt-ZCg95XYwmz/otopi-plugins/ovirt-host-deploy/openstack/neutron_openvswitch.py", line 193, in _bridge
    bridge = setting.split(':')[1]
IndexError: list index out of range
2014-04-11 15:20:38 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': list index out of range


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.4.0-0.13.beta3.el6ev 

How reproducible:
100%

Steps to Reproduce:
1. Add external Neutron Provided with Open vSwithch plugin
2. add RHOS repo to host 
3. Hosts -> New -> General -> fill in name, address, password
4. Stay in the dialog "New Host" switch to "Network Provider" Tab
5. Pick your neutron provider, leave "Bridge Mappings" empty

Actual results:
Failed to install Host neseted_host_1. Failed to execute stage 'Misc configuration': list index out of range.

Expected results:
1) If bridge mappings is required parameter, engine dialog should not allow to be confirmed with Bridge Mappings field empty

2) neutron_openvswitch.py should not end up with traceback, but return clear log message about what is wrong if needed

Additional info:

Comment 1 Sandro Bonazzola 2014-05-08 13:36:07 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.


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