Bug 888258
| Summary: | libvirtd doesn't restart after vdsm configures it | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Ohad Basan <obasan> | ||||||||
| Component: | vdsm | Assignee: | Yaniv Bronhaim <ybronhei> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Haim <hateya> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 3.2 | CC: | abaron, acathrow, alonbl, bazulay, danken, dyasny, eedri, iheim, mgoldboi, yeylon, ykaul | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | 3.2 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | infra | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-02-15 06:47:10 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: | |||||||||||
| Bug Blocks: | 881006 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ohad Basan
2012-12-18 12:12:23 UTC
blocks ovirt live flow. Ohad, this is not full description. You should have written that ovirt-host-deploy executes vdsm reconfigure, this succeeds, and still there is an issue with vdsm/libvirt, even paste the relevant log hank. You should have come up with Dan analyze of the problem, as he did invest time. Created attachment 665986 [details]
engine-setup.log
Created attachment 665987 [details]
host deploy log
I am guessing that vdsmd.service failed to restart libvirt after having /etc/libvirtd.conf reconfigured.
You can verify my guess by applying the following untested patch, and rebuild vdsm:
diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index 7a7ae84..86edc15 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -362,7 +362,11 @@ EOF
ovirt_store_config "$lconf" "$qconf" "$ldconf" "$llogr"
- /sbin/initctl restart libvirtd 2>/dev/null || :
+ if libvirt_should_use_upstart; then
+ /sbin/initctl restart libvirtd 2>/dev/null || :
+ else
+ systemctl reload libvirtd.service
+ fi
#
# finished reconfiguration, do not trigger
Created attachment 666012 [details]
vdsm.log
this patch doesn't seem to be working. log is attached.
merged upstream - http://gerrit.ovirt.org/#/c/10237/ posted for 3.2 branch - http://gerrit.ovirt.org/#/c/10316/ 3.2 beta built, moving to ON_QA status to allow testing |