Univention Bugzilla – Full Text Bug Listing |
Summary: | Add a script which periodically checks/restarts libvirt on uvmm-nodes | ||
---|---|---|---|
Product: | UCS | Reporter: | Erik Damrose <damrose> |
Component: | Virtualization - UVMM | Assignee: | Erik Damrose <damrose> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, jmm, petersen |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 35069, 35070, 36605 |
Description
Erik Damrose
2014-01-22 11:51:37 CET
I've seen the process in a futex quite often in the meantime - therefore the script should be used with "kill -9". * Add libvirt-check.sh to virtualization nodes. It periodically tests if libvirtd responds and restarts libvirtd if necessary. (Bug #33966) * Change to libvirt-bin initscript: use sv force-stop and sv force-restart r48559 univention-virtual-machine-manager-node 2.0.5-3.74.201403141452 r48560 2013-03-14-univention-virtual-machine-manager-node.yaml OK: aptitude install '?source-package(univention-virtual-machine-manager-node)?version(2.0.5-2.73.201311011956)?installed' FAIL: "Restarting UCS libvirt daemon: libvirtdok: run: univention-libvirt: (pid 6123) 0s, normally down" is printed to STDOUT (and mailed to root) OK: pkill -STOP libvirtd OK: gdb -p `pgrep libvirtd` FAIL: > if [ -f /proc/xen/privcmd ] Please add the following additional test as the existence of /proc/xen/privcmd is not sufficient: && grep -q control_d /proc/xen/capabilities FAIL: > echo "libvirt-check.sh: No hypervisor found, exiting" >>"$logfile" that message is append every 2 minutes by default. please remove it. RFA: please indent the 2nd line of the first item in the list by 2 spaces. (In reply to Philipp Hahn from comment #3) > FAIL: "Restarting UCS libvirt daemon: libvirtdok: run: univention-libvirt: > (pid 6123) 0s, normally down" is printed to STDOUT (and mailed to root) Fixed: The message is redirected. > FAIL: > > if [ -f /proc/xen/privcmd ] > Please add the following additional test as the existence of > /proc/xen/privcmd is not sufficient: > && grep -q control_d /proc/xen/capabilities Fix: Check added > FAIL: > > echo "libvirt-check.sh: No hypervisor found, exiting" >>"$logfile" > that message is append every 2 minutes by default. please remove it. Fix: Removed > RFA: please indent the 2nd line of the first item in the list by 2 spaces. Indentation corrected. In addition, the filename has been fixed. r48567 univention-virtual-machine-manager-node 2.0.5-4.75.201403171004 r48568 2014-03-14-univention-virtual-machine-manager-node.yaml OK: 2.0.5-4.75.201403171004 OK: gdb FIXED: yaml r48581 OK: announce_errata -V 2014-03-14-univention-virtual-machine-manager-node.yaml OK: kvm OK: xen |