| Summary: | xl create fails to create domain, gives unhelpful error messages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Green <greenrd> | ||||
| Component: | xen | Assignee: | Xen Maintainance List <xen-maint> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | berrange, jforbes, ketuzsezr, kraxel, m.a.young, virt-maint, xen-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-03 18:08:05 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Robin Green
2012-01-01 22:06:50 UTC
Created attachment 550169 [details]
xen config file
The real error is in xend.log:
[2012-01-01 21:28:07 27025] ERROR (XendDomain:447) Unable to recreate domain
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line 445, in _refreshTxn
new_dom = XendDomainInfo.recreate(dom, False)
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 204, in recreate
vmpath = vmpath)
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 455, in __init__
self._checkName(self.info['name_label'])
File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 3518, in _checkName
(" as domain %s" % str(dom.domid)) or ""))
VmError: VM name 'F16' already exists
Confusing - I thought that xl did not use xend.
It does not. That log is probably from the previous invocation when you tried to start it using xm. You can easily verify that by removing the log files before you use 'xl'. Anyhow the "libxl: error: libxl_dom.c:603:userdata_path unable to find domain info for domain 4: No such file or directory" could be: 1) a bug in pygrub - but I doubt it as I understand you tried it with 'xm' and it worked, right? 2). xl is not getting the details from 'pygrub' as it simply does have the functionality to do that (b/c it is not implemented in the 4.1 version). But either way, xl in 4.1 is in experimental phase, not yet fully baked. If you want to have a version that has features/fixes in it, I recommend you use the xen-unstable version. That will require you compile the xen-unstable toolstack and hypervisor by yourself. So closing this bug as NETXTRELEASE. But if you try it with the xen-unstable version, and you see the same problem, then please post it on xen-devel and we can handle it there. If however, it fails with 'xm' as well, then lets open a different bug with 'xm' and pygrub. Also make sure you have the latest version of Xen - MA Young added a bunch of fixes to pygrub. It won't help with the error messages but there are two things to try to get xl working; 1. disable selinux beforehand (eg. by running setenforce 0 as root) 2. run xm or xl as root - I am not convinced either of them work as an ordinary user. |