[ovirt-users] Problem with start VDSMD durring hosted-engine --deploy

Yaniv Kaul ykaul at redhat.com
Mon Oct 24 08:20:20 UTC 2016


On Mon, Oct 24, 2016 at 8:59 AM, Grzegorz Szypa <grzegorz.szypa at gmail.com>
wrote:

> Hi  Support,
>

Not really support, just a community mailing list :-)


>
> Could you  help me with my problem, because when I try to deploy host on
> fresh Centos  7.1 installation  I got an error that vdsmd servies cannot
> bestarted, and deploy after taht are terminated:
>
> [root at vmsrv1 ~]#
> [root at vmsrv1 ~]# hosted-engine --deploy
> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15:
> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
> deprecated, please use vdsm.jsonrpcvdscli
>   import vdsm.vdscli
> [ INFO  ] Stage: Initializing
> [ INFO  ] Generating a temporary VNC password.
> [ INFO  ] Stage: Environment setup
>           During customization use CTRL-D to abort.
>           Continuing will configure this host for serving as hypervisor
> and create a VM where you have to install the engine afterwards.
>           Are you sure you want to continue? (Yes, No)[Yes]:
>           It has been detected that this program is executed through an
> SSH connection without using screen.
>           Continuing with the installation may lead to broken installation
> if the network connection fails.
>           It is highly recommended to abort the installation and run it
> inside a screen session using command "screen".
>           Do you want to continue anyway? (Yes, No)[No]: Yes
> [ INFO  ] Hardware supports virtualization
>           Configuration files: []
>           Log file: /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20161024074216-iagc54.log
>           Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> *[ ERROR ] Failed to execute stage 'Environment setup': Failed to start
> service 'vdsmd'*
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20161024074222.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed
>           Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20161024074216-iagc54.log
> [root at vmsrv1 ~]#
>
>
> Firstly I tried to do it by ovirt portal, but every time failed. so I try
> to do it  by hosted-engine --deploy, and this time I got  more  information
> as above. (SELinux is disabled). firewall are disabled. Onlywhat make me
> confuse are vdsm. So I checkd it and for sure it has been installed (with
> version vdsm-4.18.13-1.el7.centos.x86_64)
>
> [root at vmsrv1 ~]# yum install vdsm
> Wczytane wtyczki: fastestmirror, versionlock
> Loading mirror speeds from cached hostfile
>  * base: centos.trisect.eu
>  * epel: epel.mirrors.ovh.net
>  * extras: centos.trisect.eu
>  * ovirt-4.0: ftp.nluug.nl
>  * ovirt-4.0-epel: epel.mirrors.ovh.net
>  * updates: centos.trisect.eu
> Pakiet vdsm-4.18.13-1.el7.centos.x86_64 jest już zainstalowany w
> najnowszej wersji
> Nie ma niczego do zrobienia
>
> after that I tried to find it and restart :
> [root at vmsrv1 ~]# systemctl vdsmd restart
> Unknown operation 'vdsmd'.
>
> So question is if vdsm has been installed, what going on? So:
> [root at vmsrv1 ~]# systemctl |grep -i vdsm
>   supervdsmd.service
>                 loaded    active running   Auxiliary vdsm service for
> running helper functions as root
>   vdsm-network.service
>                 loaded    active exited    Virtual Desktop Server Manager
> network restoration
> [root at vmsrv1 ~]#
>
>
> As see  above there are completly different name convention, and it shuld
> be like vdsmd.service. What is strange, this exist  on host where is
> Portal, but it is not possible to start it, because of
> "vdsm-network.service"
>
> Question are how to avoid it, because for sure hosted-engine script do not
>  know how to start vdsm
>
> Additionaly, I tried to reconfigure  vdsm:
>
> [root at vmsrv1 ~]# vdsm-tool configure --force
> /usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py:28:
> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
> deprecated, please use vdsm.jsonrpcvdscli
>   from vdsm import vdscli
>
> 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.
>
>
> [root at vmsrv1 ~]# systemctl start vdsmd
> A dependency job for vdsmd.service failed. See 'journalctl -xe' for
> details.
>
>
> [root at vmsrv1 ~]# journalctl -xe
> -- Subject: Ukończono uruchamianie jednostki libvirtd.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka libvirtd.service ukończyła uruchamianie.
> --
> -- Wynik uruchamiania: done.
> paź 24 07:57:12 vmsrv1.szypa.net systemd[1]: Configuration file
> /usr/lib/systemd/system/ebtables.service is marked executable. Please
> remove executable permission bits. Proceeding anyway.
> paź 24 07:57:12 vmsrv1.szypa.net systemd[1]: Started Auxiliary vdsm
> service for running helper functions as root.
> -- Subject: Ukończono uruchamianie jednostki supervdsmd.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka supervdsmd.service ukończyła uruchamianie.
> --
> -- Wynik uruchamiania: done.
> paź 24 07:57:12 vmsrv1.szypa.net systemd[1]: Starting Auxiliary vdsm
> service for running helper functions as root...
> -- Subject: Rozpoczęto uruchamianie jednostki supervdsmd.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka supervdsmd.service rozpoczęła uruchamianie.
> paź 24 07:57:54 vmsrv1.szypa.net polkitd[1154]: Registered Authentication
> Agent for unix-process:14438:14347412 (system bus name :1.4915 [<unknown>],
> object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
> pl_PL.UTF-8)
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Starting Device-Mapper
> Multipath Device Controller...
> -- Subject: Rozpoczęto uruchamianie jednostki multipathd.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka multipathd.service rozpoczęła uruchamianie.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Starting Virtual Desktop
> Server Manager network restoration...
> -- Subject: Rozpoczęto uruchamianie jednostki vdsm-network.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka vdsm-network.service rozpoczęła uruchamianie.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: multipathd.service: control
> process exited, code=exited status=1
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Failed to start
> Device-Mapper Multipath Device Controller.
>

Any idea what happened to multipath?
Can it be started manually?
Y.


> -- Subject: Jednostka multipathd.service się nie powiodła
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka multipathd.service się nie powiodła.
> --
> -- Wynik: failed.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Dependency failed for
> Virtual Desktop Server Manager.
> -- Subject: Jednostka vdsmd.service się nie powiodła
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka vdsmd.service się nie powiodła.
> --
> -- Wynik: dependency.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Dependency failed for MOM
> instance configured for VDSM purposes.
> -- Subject: Jednostka mom-vdsm.service się nie powiodła
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka mom-vdsm.service się nie powiodła.
> --
> -- Wynik: dependency.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Job mom-vdsm.service/start
> failed with result 'dependency'.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Job vdsmd.service/start
> failed with result 'dependency'.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: Unit multipathd.service
> entered failed state.
> paź 24 07:57:54 vmsrv1.szypa.net systemd[1]: multipathd.service failed.
> paź 24 07:57:54 vmsrv1.szypa.net polkitd[1154]: Unregistered
> Authentication Agent for unix-process:14438:14347412 (system bus name
> :1.4915, object path /org/freedesktop/PolicyKit1/AuthenticationAgent,
> locale pl_PL.UTF-8) (disconnected from bus)
> paź 24 07:57:54 vmsrv1.szypa.net vdsm-tool[14444]:
> /usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py:28:
> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
> deprecated, please use vdsm.jsonrpcvdscli
> paź 24 07:57:54 vmsrv1.szypa.net vdsm-tool[14444]: from vdsm import vdscli
> paź 24 07:57:54 vmsrv1.szypa.net vdsm-tool[14454]:
> /usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py:28:
> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
> deprecated, please use vdsm.jsonrpcvdscli
> paź 24 07:57:54 vmsrv1.szypa.net vdsm-tool[14454]: from vdsm import vdscli
> paź 24 07:57:55 vmsrv1.szypa.net systemd[1]: Started Virtual Desktop
> Server Manager network restoration.
> -- Subject: Ukończono uruchamianie jednostki vdsm-network.service
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka vdsm-network.service ukończyła uruchamianie.
> --
> -- Wynik uruchamiania: done.
> paź 24 07:58:01 vmsrv1.szypa.net systemd[1]: Started Session c2440 of
> user root.
> -- Subject: Ukończono uruchamianie jednostki session-c2440.scope
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka session-c2440.scope ukończyła uruchamianie.
> --
> -- Wynik uruchamiania: done.
> paź 24 07:58:01 vmsrv1.szypa.net systemd[1]: Starting Session c2440 of
> user root.
> -- Subject: Rozpoczęto uruchamianie jednostki session-c2440.scope
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Jednostka session-c2440.scope rozpoczęła uruchamianie.
> paź 24 07:58:01 vmsrv1.szypa.net CROND[14473]: (root) CMD
> (/usr/local/rtm/bin/rtm 7 > /dev/null 2> /dev/null)
> lines 4205-4296/4296 (END)
>
>
>
>
>
>
> --
> G.Sz.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161024/470773a8/attachment-0001.html>


More information about the Users mailing list