Re: [ovirt-users] Problem with start VDSMD durring hosted-engine --deploy
On Mon, Oct 24, 2016 at 8:59 AM, Grzegorz Szypawrote: > 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@vmsrv1 ~]# > [root@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@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@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@vmsrv1 ~]# systemctl vdsmd restart > Unknown operation 'vdsmd'. > > So question is if vdsm has been installed, what going on? So: > [root@vmsrv1 ~]# systemctl |grep -i vdsm > supervdsmd.service > loadedactive running Auxiliary vdsm service for > running helper functions as root > vdsm-network.service > loadedactive exitedVirtual Desktop Server Manager > network restoration > [root@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@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@vmsrv1 ~]# systemctl start vdsmd > A dependency job for vdsmd.service failed. See 'journalctl -xe' for > details. > > > [root@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
[ovirt-users] Problem with start VDSMD durring hosted-engine --deploy
Hi Support, 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@vmsrv1 ~]# [root@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@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@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@vmsrv1 ~]# systemctl vdsmd restart Unknown operation 'vdsmd'. So question is if vdsm has been installed, what going on? So: [root@vmsrv1 ~]# systemctl |grep -i vdsm supervdsmd.service loadedactive running Auxiliary vdsm service for running helper functions as root vdsm-network.service loadedactive exitedVirtual Desktop Server Manager network restoration [root@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@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@vmsrv1 ~]# systemctl start vdsmd A dependency job for vdsmd.service failed. See 'journalctl -xe' for details. [root@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