Bug 529880 - xm-create incorrectly states a vm is in use, when it isn't
Summary: xm-create incorrectly states a vm is in use, when it isn't
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.5
Hardware: All
OS: Linux
urgent
medium
Target Milestone: rc
: 5.5
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 547289
TreeView+ depends on / blocked
 
Reported: 2009-10-20 15:10 UTC by Andrew Jones
Modified: 2010-04-08 16:25 UTC (History)
4 users (show)

Fixed In Version: xen-3.0.3-99.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 08:57:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix domain name conflicts after domain shutdown (3.94 KB, patch)
2009-11-03 16:26 UTC, Jiri Denemark
no flags Details | Diff
Fix domain name conflicts after domain shutdown (3.84 KB, patch)
2009-11-18 09:46 UTC, Jiri Denemark
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0294 0 normal SHIPPED_LIVE xen bug fix and enhancement update 2010-03-29 14:20:32 UTC

Description Andrew Jones 2009-10-20 15:10:46 UTC
Description of problem:

Received a message that a domain is in use when attempting to create it, even though the domain isn't in use.

Version-Release number of selected component (if applicable):

Latest 5.4 xen.

How reproducible:

50%

Steps to Reproduce:
1. Use halt command to shutdown a linux vm.
2. Attempt to create the vm with 'xm create -c $VM'
3.
  
Actual results:

# xm create -c raw-64pv
Using config file "/etc/xen/raw-64pv".
Error: VM name 'raw-64pv' already in use by domain 216

Expected results:

vm creates, since it's actually not in use.

Additional info:

If 'xm list' or possibly other xm commands are run before the 'xm create' command, then 'xm create' will succeed.

Comment 1 Jiri Denemark 2009-10-21 09:21:46 UTC
Regression between 5.4 (xen-3.0.3-94.el5) and xen-3.0.3-95.el5. Raising priority and taking care of it (I think I know where the problem is)...

BTW I can reproduce it almost in 100% cases on -95.el5.

Comment 6 Jiri Denemark 2009-11-18 09:46:55 UTC
Created attachment 370045 [details]
Fix domain name conflicts after domain shutdown

Comment 13 Rita Wu 2009-12-28 10:44:03 UTC
Verified on -102.el5
Here are the details of the testing:
x86-64-Server: Tried 20 times and no reproduction
i386-Server: Tried 20 times and no reproduction
ia64:Tried 20 times and no reproduction
i386-Client: Tried 30 times and no reproduction
x86-64-Client:Tried 25 times and no reproduction

Comment 15 errata-xmlrpc 2010-03-30 08:57:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0294.html

Comment 16 Paolo Bonzini 2010-04-08 15:44:36 UTC
This bug was closed during 5.5 development and it's being removed from the internal tracking bugs (which are now for 5.6).


Note You need to log in before you can comment on or make changes to this bug.