[Users] Unable to add fresh oVirt host

I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting: 2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com. No meaningful response recieved from Host. (Stage: Running first installation script on Host) The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/> Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] <url> <subject> <random_num> What can I do to figure what could be wrong?

Are some more digging. I have discovered the following. If provision a vdsm node exactly the same way and add it to an old, working ovirt of mine, it works. I've reprovisioned the new ovirt again, the same exact way as before and hit the same problem. Here is what I found on the node logs: # cat vds_installer.283838.log Fri, 27 Apr 2012 03:14:11 DEBUG **** Start VDS Installation **** Fri, 27 Apr 2012 03:14:11 DEBUG get_id_line: read line Red Hat Enterprise Linux Server release 6.2 (Santiago). Fri, 27 Apr 2012 03:14:11 DEBUG lsb_release: input line Red Hat Enterprise Linux Server release 6.2 (Santiago). Fri, 27 Apr 2012 03:14:11 DEBUG lsb_release: return: RedHatEnterpriseServer. Fri, 27 Apr 2012 03:14:11 DEBUG <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> Fri, 27 Apr 2012 03:14:11 DEBUG trying to fetch deployUtil.py script cmd = '/usr/bin/curl -s -k -w %{http_code} -o /tmp/deployUtil.py http://mgmt.example.com:8080/Components/vds/deployUtil.py' Fri, 27 Apr 2012 03:14:12 DEBUG <BSTRAP component='INSTALLER LIB' status='OK' message='deployUtil.py download succeeded'/> Fri, 27 Apr 2012 03:14:12 DEBUG trying to fetch vds_bootstrap.py script cmd = '/usr/bin/curl -s -k -w %{http_code} -o /tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py http://mgmt.example.com:8080/Components/vds/vds_bootstrap.py' Fri, 27 Apr 2012 03:14:12 DEBUG <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py download succeeded'/> Fri, 27 Apr 2012 03:14:12 DEBUG trying to run /tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com51b8d414-a8fa-44f9-8613-f7819255d2eb' There is no output after this. vds_boostrap log is empty. if I run the bootstrap command as specified in the log file, I get this as the only failure: <BSTRAP component='REQ PACKAGES' status='FAIL' result='SDL.x86_64' message='Setting up Install Process No package SDL.x86_64 available. Error: Nothing to do '/> <BSTRAP component='RHEV_INSTALL' status='FAIL'/> After installing the package, I got this: <BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add rhevm bridge'/> <BSTRAP component='SetSSHAccess' status='FAIL' message='Failed to retrieve server SSH key.'/> <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Finally, I looked at the bootstrap log and found the details: Fri, 27 Apr 2012 03:33:19 DEBUG Bridge rhevm not found, need to create it. Fri, 27 Apr 2012 03:33:19 DEBUG getAddress Entry. url=script Fri, 27 Apr 2012 03:33:19 DEBUG getAddress return. address=script port=None Fri, 27 Apr 2012 03:33:19 DEBUG makeBridge begin. Fri, 27 Apr 2012 03:33:19 DEBUG _getMGTIface: read vdc_host_name: script Fri, 27 Apr 2012 03:33:19 DEBUG _getMGTIface: error trying to figure out VDC's IP Fri, 27 Apr 2012 03:33:19 DEBUG _getMGTIface: using vdc_host_name script strVDCIP= None Fri, 27 Apr 2012 03:33:19 DEBUG _getMGTIface VDC IP=None strIface=None Fri, 27 Apr 2012 03:33:19 DEBUG makeBridge got mgtIface None. This is a routing or resolution issue. Fri, 27 Apr 2012 03:33:19 ERROR makeBridge errored: out= err=None ret=None Fri, 27 Apr 2012 03:33:19 DEBUG makeBridge return. Fri, 27 Apr 2012 03:33:19 ERROR addNetwork error trying to add rhevm bridge Fri, 27 Apr 2012 03:33:19 DEBUG <BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add rhevm bridge'/> Fri, 27 Apr 2012 03:33:19 DEBUG getAddress Entry. url=script Fri, 27 Apr 2012 03:33:19 DEBUG getAddress return. address=script port=None Fri, 27 Apr 2012 03:33:19 DEBUG getRemoteFile start. IP = script port = None fileName = "/rhevm.ssh.key.txt" Fri, 27 Apr 2012 03:33:19 DEBUG /rhevm.ssh.key.txt failed in HTTPS. Retrying using HTTP. Traceback (most recent call last): File "/tmp/deployUtil.py", line 1279, in getRemoteFile sock.connect((IP, nPort)) File "<string>", line 1, in connect gaierror: [Errno -2] Name or service not known Fri, 27 Apr 2012 03:33:19 ERROR Failed to fetch /rhevm.ssh.key.txt using http. Traceback (most recent call last): File "/tmp/deployUtil.py", line 1295, in getRemoteFile conn.request("GET", fileName) File "/usr/lib64/python2.6/httplib.py", line 914, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request self.endheaders() File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders self._send_output() File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output self.send(msg) File "/usr/lib64/python2.6/httplib.py", line 739, in send self.connect() File "/usr/lib64/python2.6/httplib.py", line 720, in connect self.timeout) File "/usr/lib64/python2.6/socket.py", line 553, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): gaierror: [Errno -2] Name or service not known Fri, 27 Apr 2012 03:33:19 ERROR Failed to fetch /rhevm.ssh.key.txt status Fri, 27 Apr 2012 03:33:19 DEBUG getRemoteFile end. Fri, 27 Apr 2012 03:33:19 DEBUG <BSTRAP component='SetSSHAccess' status='FAIL' message='Failed to retrieve server SSH key.'/> Fri, 27 Apr 2012 03:33:19 ERROR setSSHAccess test failed Fri, 27 Apr 2012 03:33:19 DEBUG <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Fri, 27 Apr 2012 03:33:19 DEBUG **** End VDS Validation **** It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?. Note, that I used the following answers file to install ovirt: [general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432 HOST_FQDN=mgmt.example.com AUTH_PASS=password DB_LOCAL_PASS=password On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <ma3oxuct@gmail.com> wrote:
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:
2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com. No meaningful response recieved from Host. (Stage: Running first installation script on Host)
The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/>
Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] <url> <subject> <random_num>
What can I do to figure what could be wrong?

On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <ma3oxuct@gmail.com> wrote:
Are some more digging. I have discovered the following.
It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?.
Ugh...I've been "over-debugging"...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: "Fri, 27 Apr 2012 03:33:19 DEBUG getAddress Entry. url=script" When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log. is in vds_installer script. It passes "-v" to bootstrap script: Fri, 27 Apr 2012 03:14:12 DEBUG trying to run /tmp/vds_bootstrap_51b8d414- a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com51b8d414-a8fa-44f9-8613-f7819255d2eb' I was able to figure that out after changing this: except: print main.__doc__ return 0 to this: except Exception, e: print e Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(. It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source.
Note, that I used the following answers file to install ovirt:
[general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432
HOST_FQDN=mgmt.example.com AUTH_PASS=password DB_LOCAL_PASS=password
On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <ma3oxuct@gmail.com> wrote:
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:
2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com. No meaningful response recieved from Host. (Stage: Running first installation script on Host)
The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/>
Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] <url> <subject> <random_num>
What can I do to figure what could be wrong?

This is a multi-part message in MIME format. --------------080001040806050205090803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit How about the ouput of "brctl show" in your ovirt node? It looks like that the right bridge was not created. On 2012-4-27 12:39, Andrey F. wrote:
On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
Are some more digging. I have discovered the following.
It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?.
Ugh...I've been "over-debugging"...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: "Fri, 27 Apr 2012 03:33:19 DEBUG getAddress Entry. url=script"
When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log.
is in vds_installer script. It passes "-v" to bootstrap script:
Fri, 27 Apr 2012 03:14:12 DEBUG trying to run /tmp/vds_bootstrap_51b8d414- a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com <http://salesforce.com/> -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com/> 51b8d414-a8fa-44f9-8613-f7819255d2eb'
I was able to figure that out after changing this:
except: print main.__doc__ return 0
to this:
except Exception, e: print e
Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(.
It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source.
Note, that I used the following answers file to install ovirt:
[general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com <http://example.com> DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432
HOST_FQDN=mgmt.example.com <http://mgmt.example.com> AUTH_PASS=password DB_LOCAL_PASS=password
On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:
2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com <http://node.example.com>. No meaningful response recieved from Host. (Stage: Running first installation script on Host)
The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com <http://example.com>' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com> 9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/>
Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] <url> <subject> <random_num>
What can I do to figure what could be wrong?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Shu Ming<shuming@linux.vnet.ibm.com> IBM China Systems and Technology Laboratory --------------080001040806050205090803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> How about the ouput of "brctl show" in your ovirt node? It looks like that the right bridge was not created.<br> On 2012-4-27 12:39, Andrey F. wrote: <blockquote cite="mid:CAD7sfFyiVvg0D4H5H+Y6Adf60SRz=gs8HCpX5+ckn3Catz9eUw@mail.gmail.com" type="cite"> <div class="gmail_extra"> <div class="gmail_quote">On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ma3oxuct@gmail.com" target="_blank">ma3oxuct@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div>Are some more digging. I have discovered the following. <br> <br> It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?. </div> </blockquote> <div><br> Ugh...I've been "over-debugging"...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: "Fri, 27 Apr 2012 03:33:19 DEBUG getAddress Entry. url=script"<br> <br> When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log. <br> <br> is in vds_installer script. It passes "-v" to bootstrap script:<br> <br> Fri, 27 Apr 2012 03:14:12 DEBUG trying to run /tmp/vds_bootstrap_51b8d414- <div class="gmail_extra"> a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O <a moz-do-not-send="true" href="http://salesforce.com/" target="_blank">salesforce.com</a> -t 2012-04-27T03:12:27 <a moz-do-not-send="true" href="http://mgmt.example.com:8080/Components/vds/" target="_blank">http://mgmt.example.com:8080/Components/vds/</a> <a moz-do-not-send="true" href="http://node.example.com/" target="_blank">node.example.com</a> 51b8d414-a8fa-44f9-8613-f7819255d2eb'<br> <br> I was able to figure that out after changing this:<br> <br> except:<br> print main.__doc__<br> return 0<br> <br> to this:<br> <br> except Exception, e:<br> print e<br> <br> Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(. <br> <br> It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source. <br> </div> <br> </div> <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div>Note, that I used the following answers file to install ovirt: <br> <br> </div> </blockquote> <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div class="gmail_extra"> <br> [general]<br> OVERRIDE_IPTABLES=no<br> HTTP_PORT=8080<br> HTTPS_PORT=8443<br> MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF<br> ORG_NAME=<a moz-do-not-send="true" href="http://example.com" target="_blank">example.com</a><br> DC_TYPE=NFS<br> CONFIG_NFS=no<br> NFS_MP=<br> ISO_DOMAIN_NAME=<br> DB_REMOTE_INSTALL=local<br> #DB_HOST=localhost<br> #DB_PORT=5432<br> <br> HOST_FQDN=<a moz-do-not-send="true" href="http://mgmt.example.com" target="_blank">mgmt.example.com</a><br> AUTH_PASS=password<br> DB_LOCAL_PASS=password <div> <div class="h5"><br> <br> <br> <div class="gmail_quote">On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ma3oxuct@gmail.com" target="_blank">ma3oxuct@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:<br> <br> 2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of <a moz-do-not-send="true" href="http://node.example.com" target="_blank">node.example.com</a>. No meaningful response recieved from Host. (Stage: Running first installation script on Host)<br> <br> The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: <br> /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O '<a moz-do-not-send="true" href="http://example.com" target="_blank">example.com</a>' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v <a moz-do-not-send="true" href="http://mgmt.example.com:8080/Components/vds/" target="_blank">http://mgmt.example.com:8080/Components/vds/</a> <a moz-do-not-send="true" href="http://mgmt.example.com:8080/Components/vds/" target="_blank">http://mgmt.example.com:8080/Components/vds/</a> <a moz-do-not-send="true" href="http://node.example.com" target="_blank">node.example.com</a> 9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False<br> <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/><br> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/><br> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/><br> <br> Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime]<br> [-n netconsole_host:port] [-u (seProductRepo) true|false ]<br> [-f firewall_rules_file ] <url> <subject> <random_num><br> <br> What can I do to figure what could be wrong?<br> </blockquote> </div> <br> </div> </div> </div> </blockquote> </div> <br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Shu Ming <a class="moz-txt-link-rfc2396E" href="mailto:shuming@linux.vnet.ibm.com"><shuming@linux.vnet.ibm.com></a> IBM China Systems and Technology Laboratory</pre> </body> </html> --------------080001040806050205090803--

On 04/27/2012 07:39 AM, Andrey F. wrote:
On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
Are some more digging. I have discovered the following.
It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?.
Ugh...I've been "over-debugging"...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: "Fri, 27 Apr 2012 03:33:19 DEBUGÂ Â Â getAddress Entry. url=script"
When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log.
is in vds_installer script. It passes "-v" to bootstrap script:
Fri, 27 Apr 2012 03:14:12 DEBUGÂ Â Â trying to run /tmp/vds_bootstrap_51b8d414- a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com <http://salesforce.com/> -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com/> 51b8d414-a8fa-44f9-8613-f7819255d2eb'
I was able to figure that out after changing this:
except: Â Â Â Â Â Â Â print main.__doc__ Â Â Â Â Â Â Â return 0
to this:
except Exception, e: Â Â Â Â Â Â Â print e
Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(.
It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source.
I think Oved pushed a patch to fix this if still an issue
Â
Note, that I used the following answers file to install ovirt:Â
[general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com <http://example.com> DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432
HOST_FQDN=mgmt.example.com <http://mgmt.example.com> AUTH_PASS=password DB_LOCAL_PASS=password
On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:
2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com <http://node.example.com>. No meaningful response recieved from Host. (Stage: Running first installation script on Host)
The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com <http://example.com>' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com> 9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/>
       Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime]            [-n netconsole_host:port] [-u (seProductRepo) true|false ]            [-f firewall_rules_file ] <url> <subject> <random_num>
What can I do to figure what could be wrong?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 30/04/12 19:28, Itamar Heim wrote:
On 04/27/2012 07:39 AM, Andrey F. wrote:
On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
Are some more digging. I have discovered the following.
It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?.
Ugh...I've been "over-debugging"...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: "Fri, 27 Apr 2012 03:33:19 DEBUGÂ Â Â getAddress Entry. url=script"
When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log.
is in vds_installer script. It passes "-v" to bootstrap script:
Fri, 27 Apr 2012 03:14:12 DEBUGÂ Â Â trying to run /tmp/vds_bootstrap_51b8d414- a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com <http://salesforce.com/> -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com/> 51b8d414-a8fa-44f9-8613-f7819255d2eb'
I was able to figure that out after changing this:
except: Â Â Â Â Â Â Â print main.__doc__ Â Â Â Â Â Â Â return 0
to this:
except Exception, e: Â Â Â Â Â Â Â print e
Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(.
It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source.
I think Oved pushed a patch to fix this if still an issue
This will be the fix- http://gerrit.ovirt.org/#change,4053 Should be merged today.
Â
Note, that I used the following answers file to install ovirt:Â
[general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com <http://example.com> DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432
HOST_FQDN=mgmt.example.com <http://mgmt.example.com> AUTH_PASS=password DB_LOCAL_PASS=password
On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. <ma3oxuct@gmail.com <mailto:ma3oxuct@gmail.com>> wrote:
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting:
2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com <http://node.example.com>. No meaningful response recieved from Host. (Stage: Running first installation script on Host)
The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com <http://example.com>' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com <http://node.example.com> 9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/>
       Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime]            [-n netconsole_host:port] [-u (seProductRepo) true|false ]            [-f firewall_rules_file ] <url> <subject> <random_num>
What can I do to figure what could be wrong?
_______________________________________________ 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
-- /d "All computers wait at the same speed."
participants (4)
-
Andrey F.
-
Doron Fediuck
-
Itamar Heim
-
Shu Ming