Created attachment 885452[details]
deploy log
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:
Created attachment 885452 [details] deploy log 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: