[Users] Unable to add fresh oVirt host

Andrey F. ma3oxuct at gmail.com
Fri Apr 27 04:39:24 UTC 2012


On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. <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 -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 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. 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?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120426/5ade1b1e/attachment-0001.html>


More information about the Users mailing list