Bug 1333248
Summary: | Libvirt rejects object name starting with '.' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Fangge Jin <fjin> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | dyuan, jtomko, mzhan, rbalakri, yafu, zpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-2.0.0-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 18:44:42 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
Fangge Jin
2016-05-05 05:54:59 UTC
Upstream patches: https://www.redhat.com/archives/libvir-list/2016-June/msg01388.html Pushed upstream as: commit 5217fe3db439e3dd66e2d657d2c0bebe0443ed22 Author: Ján Tomko <jtomko> CommitDate: 2016-06-23 21:58:38 +0200 Allow configs to start with a dot This fixes the disappearance of domains and networks starting with a dot. https://bugzilla.redhat.com/show_bug.cgi?id=1333248 git describe: v1.3.5-413-g5217fe3 I can reproduce this. verify with build: libvirt-2.0.0-1.el7.x86_64 step: 1. define a guest which name staring with a dot # virsh define q35.xml Domain .q35 defined from q35.xml # virsh list --all Id Name State ---------------------------------------------------- 3 rhel7 running - .q35 shut off # systemctl restart libvirtd [root@intel-e5530-8-1 ~]# virsh list --all Id Name State ---------------------------------------------------- 3 rhel7 running - .q35 shut off test pool: #virsh pool-define pool.xml Pool .test defined from pool.xml # systemctl restart libvirtd # virsh pool-list --all Name State Autostart ------------------------------------------- .test active no default active yes test network: # virsh net-define net.xml Network ..test defined from net.xml # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- ..test inactive no yes default active yes yes # systemctl restart libvirtd # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- ..test inactive no yes default active yes yes worked as expect, move 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. https://rhn.redhat.com/errata/RHSA-2016-2577.html |