[ovirt-users] Problem with hosted engine setup - vsdmd does not start

Yedidyah Bar David didi at redhat.com
Thu Dec 17 06:07:28 EST 2015


On Thu, Dec 17, 2015 at 9:51 AM, Fabian Deutsch <fdeutsch at redhat.com> wrote:
> On Wed, Dec 16, 2015 at 10:52 PM, Willard Dennis <wdennis at nec-labs.com> wrote:
>> Any thoughts on this issue?? This is holding up my project (oVirt hosted
>> engine install won’t proceed if VDSM service is not running…)  Why am I even
>> having such problems with the VDSM service? It’s on a vanilla CentOS 7
>> install…
>
> Hey,
>
> so it looks like vdsm has an issue, can you provide some logs?
>

Perhaps it's this one:

https://bugzilla.redhat.com/show_bug.cgi?id=1292178

> - fabian
>
>> Thanks
>> Will
>>
>>
>> On Dec 2, 2015, at 10:35 AM, Will Dennis <wdennis at nec-labs.com> wrote:
>>
>> Ran the configure the first time and got an error...
>>
>> root at ovirt-node-01 ~> vdsm-tool configure --force
>>
>> Checking configuration status...
>>
>> Current revision of multipath.conf detected, preserving
>> libvirt is not configured for vdsm yet
>> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
>> vdsm.conf with ssl=True requires the following changes:
>> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
>> qemu.conf: spice_tls=1.
>>
>> Running configure...
>> Reconfiguration of sebool is done.
>> Reconfiguration of passwd is done.
>> Reconfiguration of libvirt is done.
>>
>> Done configuring modules to VDSM.
>>
>> So, made the appropriate edits to libvirtd.conf and qemu.conf
>>
>> root at ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/libvirtd.conf
>> listen_tls = 1
>> listen_tcp = 0
>> auth_tcp = "sasl"
>> auth_unix_rw="sasl"
>> ca_file="/etc/pki/vdsm/certs/cacert.pem"
>> cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
>> host_uuid="2b026fff-bae2-429f-9386-c60ffc5f3f32"
>> keepalive_interval=-1
>> key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
>> unix_sock_group="qemu"
>> unix_sock_rw_perms="0770"
>>
>> root at ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/qemu.conf
>> spice_tls = 1
>> auto_dump_path="/var/log/core"
>> dynamic_ownership=0
>> lock_manager="sanlock"
>> remote_display_port_max=6923
>> remote_display_port_min=5900
>> save_image_format="lzop"
>> spice_tls=1
>> spice_tls_x509_cert_dir="/etc/pki/vdsm/libvirt-spice"
>>
>> Then re-ran the config...
>>
>> root at ovirt-node-01 ~> vdsm-tool configure --force
>>
>> Checking configuration status...
>>
>> Current revision of multipath.conf detected, preserving
>> libvirt is already configured for vdsm
>> SUCCESS: ssl configured to true. No conflicts
>>
>> Running configure...
>> Reconfiguration of sebool is done.
>> Reconfiguration of libvirt is done.
>>
>> Done configuring modules to VDSM.
>>
>> Sadly, vdsmd STILL fails to start...
>>
>> root at ovirt-node-01 ~> systemctl restart vdsmd
>> root at ovirt-node-01 ~> systemctl status vdsmd
>> vdsmd.service - Virtual Desktop Server Manager
>>    Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>>    Active: activating (auto-restart) (Result: exit-code) since Wed
>> 2015-12-02 10:30:47 EST; 1s ago
>>   Process: 6522 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh
>> --post-stop (code=exited, status=0/SUCCESS)
>>   Process: 6506 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1
>> /dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)
>>   Process: 6433 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh
>> --pre-start (code=exited, status=0/SUCCESS)
>> Main PID: 6506 (code=exited, status=1/FAILURE)
>>
>> Dec 02 10:30:47 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed
>> ....
>> Dec 02 10:30:47 ovirt-node-01 systemd[1]: vdsmd.service holdoff time over,
>> s....
>> Hint: Some lines were ellipsized, use -l to show in full.
>>
>> :(
>>
>> From: Simone Tiraboschi [mailto:stirabos at redhat.com]
>> Sent: Wednesday, December 02, 2015 3:57 AM
>> To: Will Dennis
>> Cc: Fabian Deutsch; users
>> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not
>> start
>>
>> [snip]
>>
>> Now can you please now configure it with:
>>   vdsm-tool configure --force
>>
>> Then you have to restart it
>>
>>
>
>
>
> --
> Fabian Deutsch <fdeutsch at redhat.com>
> RHEV Hypervisor
> Red Hat
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi


More information about the Users mailing list