Bug 842208
| Summary: | "Segmentation fault" when use virsh command with vdsm installed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | EricLee <bili> |
| Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.4 | CC: | acathrow, dallan, dyasny, dyuan, mzhan, rwu, whuang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.10.0-0rc0.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
The installation of vdsm reconfigured libvirt in a way, which caused it to search for non-existing option when used outside of vdsm in some scenarios.
Consequence:
When using virsh on such configured machine, it resulted in a crash.
Fix:
The code path that lead to the invalid option search was fixed.
Result:
Users can now use virsh on machines configured by vdsm.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 07:19:25 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
EricLee
2012-07-23 05:46:20 UTC
Not every new crash is a regression. Removing the keyword. Patches has been posted upstream: https://www.redhat.com/archives/libvir-list/2012-July/msg01234.html Patches have been commited upstream, moving to POST:
commit 5eef74320b0bb9e604400168e0896c5ac527abef
Author: Martin Kletzander <mkletzan>
Date: Tue Jul 24 16:08:46 2012 +0200
fixed SegFault in virauth
Verified with libvirt-0.10.0-0rc0.el6:
As steps in Description:
# virsh list --all
Please enter your authentication name: test
Please enter your password:
Id Name State
----------------------------------------------------
1 install running
# virsh dumpxml install
Please enter your authentication name: test
Please enter your password:
<domain type='kvm' id='1'>
<name>install</name>
<uuid>4953872c-f24d-4a42-beda-91f9a05b6cd6</uuid>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>1020</shares>
</cputune>
.....
virsh commands work well, no "Segmentation fault".
So setting to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |