Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Version-Release number of selected component (if applicable):
libvirt-0.8.7-18.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
# virsh -c lxc:///
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # define lxc-1.xml
Domain vm1 defined from lxc-1.xml
virsh # list --all
Id Name State
----------------------------------
- vm1 shut off
virsh # define lxc-1.xml
Domain vm1 defined from lxc-1.xml
virsh # define lxc-1.xml
Domain vm1 defined from lxc-1.xml
virsh # list --all
Id Name State
----------------------------------
- vm1 shut off
Actual results:
Expected results:
the prompt message enhancement is required .
Additional info:
Tried to change the lxc guest name in the xml , and leave the uuid the same with the existing one . Could get the exact error prompt
virsh # define lxc-1.xml
error: Failed to define domain from lxc-1.xml
error: operation failed: domain 'vm1' is already defined with uuid 386f5b25-43ee-9d62-4ce2-58c3809e47c1
You can also define a domain with same xml for qemu, but that's expected, and actually it's a design.
If a same domain (same domain name and UUID) is already defined, any new "define" will update the domain config. That's why you can define it many times with no changes on the domain xml, but error when you changed the guest name.
Description of problem: Version-Release number of selected component (if applicable): libvirt-0.8.7-18.el6.x86_64 How reproducible: Always Steps to Reproduce: # virsh -c lxc:/// Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # define lxc-1.xml Domain vm1 defined from lxc-1.xml virsh # list --all Id Name State ---------------------------------- - vm1 shut off virsh # define lxc-1.xml Domain vm1 defined from lxc-1.xml virsh # define lxc-1.xml Domain vm1 defined from lxc-1.xml virsh # list --all Id Name State ---------------------------------- - vm1 shut off Actual results: Expected results: the prompt message enhancement is required . Additional info: Tried to change the lxc guest name in the xml , and leave the uuid the same with the existing one . Could get the exact error prompt virsh # define lxc-1.xml error: Failed to define domain from lxc-1.xml error: operation failed: domain 'vm1' is already defined with uuid 386f5b25-43ee-9d62-4ce2-58c3809e47c1