[Users] Unable to add fresh oVirt host

Doron Fediuck dfediuck at redhat.com
Tue May 1 09:58:54 UTC 2012


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 at gmail.com
>> <mailto:ma3oxuct at 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 at gmail.com
>>     <mailto:ma3oxuct at 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 at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


-- 

/d

"All computers wait at the same speed."



More information about the Users mailing list