[ovirt-users] oVirt Hosted Engine Setup fails

Manuel Luis Aznar manuel.luis.aznar at gmail.com
Mon May 1 16:09:31 UTC 2017


Hello there Sahina Bose

First of all thanks for your answer...

Yeah it seems there is a problem creating the Hosted Engine VM (I mean the
VM that will have the ovirt-engine). I have done the installation before
and sometimes fails and others not...

To the question: Which version on qemu-kvm are you using?

[root at host1 manuel]# yum list | grep qemu-kvm
qemu-kvm-common-ev.x86_64              10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-ev.x86_64                     10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-ev-debuginfo.x86_64           10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-tools-ev.x86_64               10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm.x86_64                        10:1.5.3-126.el7_3.6
 updates
qemu-kvm-common.x86_64                 10:1.5.3-126.el7_3.6
 updates
qemu-kvm-tools.x86_64                  10:1.5.3-126.el7_3.6
 updates

It seems I am using version 2.6.0. Do you know which version is fine?¿?

Thanks for all in advance
I will be waiting for an answer
Manuel Luis Aznar


2017-05-01 16:07 GMT+01:00 Sahina Bose <sabose at redhat.com>:

> There's an error creating the HE VM. Which version on qemu-kvm are you
> using?
>
> 2017-05-01 11:47:45,038+0100 ERROR (vm/92faf919) [virt.vm]
> (vmId='92faf919-b7b1-42dc-a70c-15c6eb32ba2f') The vm start process failed
> (vm:632)
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 563, in _startUnderlyingVm
>     self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 2021, in _run
>     self._connection.createXML(domxml, flags),
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
> 123, in wrapper
>     ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
> wrapper
>     return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
> createXML
>     if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: internal error: process exited while connecting to monitor:
> /dev/random -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
> -msg timestamp=on
> Could not access KVM kernel module: Permission denied
> failed to initialize KVM: Permission denied
>
>
> On Mon, May 1, 2017 at 6:44 PM, Manuel Luis Aznar <
> manuel.luis.aznar at gmail.com> wrote:
>
>> Hello there,
>>
>> I have been looking in the internet using google why my installation of
>> ovirt-hosted-engine is failing.
>>
>> I have found this link:
>>
>>      https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
>> engine install failed; vdsm upset about broker)
>>
>> It seems to be the same error...
>>
>> So to knarra and Jamie Lawrence my question is:
>>
>>     Did you manage to discover the problem?? In my instalation I am using
>> nfs and not gluster...
>>
>> I have read the error and is the same error "BrokerConnectionError: ...".
>> The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
>> is creating the engine VM...
>>
>> As I have said before any help would be very appreciated...no matter whom
>> will give it
>> Thanks for all in advance
>> Manuel Luis Aznar
>>
>>
>>
>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar <manuel.luis.aznar at gmail.com
>> >:
>>
>> > Hello Simone and all the comunity,
>> >
>> > I have been doing the instalation of ovirt hosted engine again and it
>> > fails, libvirtd and vdsmd services are failing. They are failing with
>> the
>> > following errors:
>> >
>> >
>> > libvirt daemon
>> >
>> >   libvirtd.service - Virtualization daemon
>> >    Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> > vendor preset: enabled)
>> >   Drop-In: /etc/systemd/system/libvirtd.service.d
>> >            ââunlimited-core.conf
>> >    Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min
>> ago
>> >      Docs: man:libvirtd(8)
>> >            http://libvirt.org
>> >  Main PID: 21993 (libvirtd)
>> >    CGroup: /system.slice/libvirtd.service
>> >            ââ21993 /usr/sbin/libvirtd --listen
>> >
>> > may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
>> > daemon...
>> > may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
>> daemon
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170501/0a4cf9e3/attachment.html>


More information about the Users mailing list