Adding a host with a Neutron external network provider failed with the error: "from host_deploy log". This was caused by the engine sending integers instead of strings for configuration. These integers are now converted to strings, so adding a host with Neutron succeeds.
This could have been found with simply sanity....
---
openstack: neutron: convert keys to strings
engine sends integers instead of strings for configuration, make sure
these are converted to strings.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989915
Change-Id: I8dc4d250f9d143d5b56af74a7df680970b4cf107
Signed-off-by: Alon Bar-Lev <alonbl>
Meni,
Thanks!
To progress, you can manually perform these[1] simple changes after installing ovirt-host-deploy.
Please report if it works for you.
[1] http://gerrit.ovirt.org/#/c/17457/
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-0074.html
Created attachment 780383 [details] host-deploy and engine logs Description of problem: Add host with neutron external provider fails with error: from host_deploy log: 2013-07-29 17:05:32 DEBUG otopi.plugins.ovirt_host_deploy.openstack.neutron plugin.executeRaw:366 execute: ('/usr/bin/openstack-config', '--set', '/etc/quantum /quantum.conf', 'DEFAULT', 'qpid_port', 5672), executable='None', cwd='None', env=None 2013-07-29 17:05:32 DEBUG otopi.plugins.ovirt_host_deploy.openstack.neutron plugin.executeRaw:389 execute-result: ('/usr/bin/openstack-config', '--set', '/etc/ quantum/quantum.conf', 'DEFAULT', 'qpid_port', 5672), exception Traceback (most recent call last): File "/tmp/ovirt-FDNB8sGwze/pythonlib/otopi/plugin.py", line 376, in executeRaw env=env, File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__ errread, errwrite) File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings 2013-07-29 17:05:32 DEBUG otopi.context context._executeMethod:132 method exception Traceback (most recent call last): File "/tmp/ovirt-FDNB8sGwze/pythonlib/otopi/context.py", line 122, in _executeMethod method['method']() File "/tmp/ovirt-FDNB8sGwze/otopi-plugins/ovirt-host-deploy/openstack/neutron.py", line 114, in _misc value, File "/tmp/ovirt-FDNB8sGwze/pythonlib/otopi/plugin.py", line 432, in execute **kwargs File "/tmp/ovirt-FDNB8sGwze/pythonlib/otopi/plugin.py", line 376, in executeRaw env=env, File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__ errread, errwrite) File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings Version-Release number of selected component (if applicable): rhevm-3.3.0-0.11.master.el6ev.noarch Steps to Reproduce: 1.add host to cluster with neutron external provider Actual results: add host to cluster fails Expected results: successfully add host to cluster Additional info: