Bug 1010693
Summary: | When starting vdsmd service, service asks for authentication name and password and wait forever | |||
---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Nir Soffer <nsoffer> | |
Component: | vdsm | Assignee: | Yaniv Bronhaim <ybronhei> | |
Status: | CLOSED DUPLICATE | QA Contact: | Haim <hateya> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 3.4 | CC: | abaron, acathrow, bazulay, danken, iheim, jsvarova, mbourvin, mgoldboi, yeylon | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | infra | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Whereas the status command of libvirt-guests init script returned "0" value when libvirt-guests service was stopped, LSB (Linux Standard Base) required a different value ("3") in such case. Consequently, other scripts relying on the return value could not distinguish whether the service was running or not. The libvirt-guests script has been fixed to conform with LSB and the "service libvirt-guests status" command now returns the correct value in the described scenario.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1011981 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-29 20:47:02 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: | ||||
Bug Depends On: | 1011981 | |||
Bug Blocks: |
Description
Nir Soffer
2013-09-22 15:10:57 UTC
Entering empty password, vdsmd service starts: ... Please enter your authentication name: Please enter your password: Can't connect to default. Skipping. initctl: Job is already running: libvirtd vdsm: Running run_init_hooks vdsm: Running gencerts vdsm: Running reconfigure_sanlock vdsm: Running reconfigure_libvirt libvirt is already configured for vdsm vdsm: Running syslog_available vdsm: Running nwfilter libvir: Network Filter Driver error : Requested operation is not valid: nwfilter is in use vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running mkdirs vdsm: Running test_space vdsm: Running test_lo vdsm: Running test_conflicting_conf SUCCESS: ssl configured to true. No conflicts Starting up vdsm daemon: vdsm start [ OK ] From the engine side, the host seems to function correctly. The vms can be stopped and started again. The problem is real, due to # service libvirt-guests status; echo $? stopped, with no saved guests 0 returning a wrong $? == 0 even when it is stopped (should be 3) The issue is solved in upstream libvirt by virtue of commit 9c51de2b4e2158b93adab4467293b35626099ff6 Author: Ján Tomko <jtomko> Date: Tue Apr 30 13:44:33 2013 +0200 libvirt-guests: status: return non-zero when stopped Note: the issue is hidden if somehow there were saved guests such as in # service libvirt-guests status; echo $? stopped, with saved guests 3 *** Bug 1010667 has been marked as a duplicate of this bug. *** Fix in libvirt-guests init script (BZ 1011981), putting bug on POST until merge to rhel6.4 Attached workaround to avoid password request when starting vdsmd service. The workaround was part of vdsmd init script already in the past and was removed by mistake, this adds it back and will be removed once libvirt-guests init script returns the right exit code. The workardound do work on RHEL 6.4 and vdsm 5ffd93d758c3c66. *** This bug has been marked as a duplicate of bug 1010667 *** |