Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1050860

Summary: [vdsm] vdsm service fails to start (not via host-deploy)
Product: [Retired] oVirt Reporter: Elad <ebenahar>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4CC: abaron, acathrow, bazulay, gklein, hateya, iheim, lpeer, mgoldboi, pstehlik, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-09 14:37:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log none

Description Elad 2014-01-09 09:18:39 UTC
Created attachment 847542 [details]
vdsm.log

Description of problem:
After manual installation of vdsm, the service fails to start:

[root@magenta-vds5 ~]# /etc/init.d/vdsmd start
Starting wdmd:                                             [  OK  ]
Starting sanlock:                                          [  OK  ]
Starting libvirtd daemon:                                  [  OK  ]
supervdsm start                                            [  OK  ]
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running run_init_hooks
vdsm: Running gencerts
vdsm: Running check_is_configured
libvirt is not configured for vdsm yet
sanlock service requires restart
Modules libvirt are not configured
 Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 145, in <module>
    sys.exit(main())
  File "/usr/bin/vdsm-tool", line 142, in main
    return tool_command[cmd]["command"](*args[1:])
  File "/usr/lib64/python2.6/site-packages/vdsm/tool/configurator.py", line 243, in isconfigured
    raise RuntimeError("Not configured. Try 'vdsm-tool configure'")
RuntimeError: Not configured. Try 'vdsm-tool configure'
vdsm: failed to execute check_is_configured, error code 1
vdsm start                                                 [FAILED]


Version-Release number of selected component (if applicable):
vdsm-4.13.0-327.gitf4315ec.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install vdsm manually using yum install
2. Start vdsm service


Additional info: vdsm.log

Comment 1 Yaniv Bronhaim 2014-01-09 14:44:04 UTC
This is a normal usage of the new configure approach. although still the prints might be misleading, and for that we have bz 1029812

this is solved by running "vdsm-tool configure" as the exception says