Bug 1043572
| Summary: | don't perform arch/os/hvtype validation when reading configs from disk | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Cole Robinson <crobinso> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | ingram.julian, lzap, rbalakri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-06 19:40:45 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
Cole Robinson
2013-12-16 16:38:13 UTC
*** Bug 971544 has been marked as a duplicate of this bug. *** Is there a workaround? I am hitting this on RHEL 7.0 after I do this:
echo 'auth_unix_rw = "none"' >> /etc/libvirt/libvirtd.conf
echo 'auth_tls = "none"' >> /etc/libvirt/libvirtd.conf
service libvirtd restart && sleep 10
# create network
cat >/tmp/nested.xml <<'EON'
<network>
<name>nested</name>
<uuid>71e5409e-59d0-11e4-8c48-3ca9f45639f8</uuid>
<forward mode='nat'/>
<bridge name='virbr1' stp='on' delay='0' />
<mac address='52:54:C4:9E:13:05'/>
<ip address='192.168.222.1' netmask='255.255.255.0'>
</ip>
</network>
EON
virsh net-define /tmp/nested.xml
virsh net-start nested
virsh net-autostart nested
# create pool
mkdir -p /var/lib/libvirt/nested
cat >/tmp/nested.xml <<'EOP'
<pool type='dir'>
<name>nested</name>
<uuid>1117824d-b2dc-441f-8543-f49308c77d2a</uuid>
<source>
</source>
<target>
<path>/var/lib/libvirt/nested</path>
<permissions>
<mode>0755</mode>
<owner>-1</owner>
<group>-1</group>
</permissions>
</target>
</pool>
EOP
virsh pool-define /tmp/nested.xml
virsh pool-autostart nested
Now when I try to create a VM -> BANG.
Could be either: missing qemu, host doesn't have hardware virt support, or libvirtd needs a restart. patches posted here: https://www.redhat.com/archives/libvir-list/2015-April/thread.html first patch improves the error message, second patch skips this validation check when reading configs from disk at daemon startup time. This all landed in v1.2.15 |