Bug 1415693
Summary: | libvirt does not autostart guests off gluster storage | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | lejeczek <peljasz> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED NOTABUG | QA Contact: | lijuan men <lmen> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | carl, dyuan, jsuchane, peljasz, rbalakri, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-06 07:13:05 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: |
Description
lejeczek
2017-01-23 13:04:01 UTC
(In reply to lejeczek from comment #0) > Description of problem: > > I've tried both systemd & libvirt mailing list but nothing, nobody commented. > Peter responded a few minutes before you created this bz. Does it help? I'm not sure if you're seeing the same issue I saw. Basically glusterd would not start properly, and when it did, I often got errors about the transport. My temporary fix is to disable glusterd and libvirtd, then put the following into /etc/rc.local: export counter=0 until [ -d /vms/.trashcan ] || [ $counter -eq 10 ]; do service glusterd restart umount /vms mount /vms counter=`expr $counter + 1` sleep 1 done [ -d /vms/.trashcan ] && systemctl start libvirtd (This is a fully patched CentOS 7.3 server if that makes any difference.) Actually, I think that - After=glusterd.service - works for me. There were lots of updates since I filed the report, still on gluster 3.8, 3.8.9-1.el7.x86_64 but it works now. I edited with --full, like: ... After=remote-fs.target After=glusterd.service Documentation=man:libvirtd(8) Documentation=http://libvirt.org I did not manage to reproduce the issue with a host running glusterfs-3.8.4-1.el7. I suspect that the systemd service for glusterd is marked as started prior to glusterd actually working properly. If the bug reproduces again please reopen this BZ and attach also logs for glusterd, since libvirtd can't do much if the storage does not work. |