[Fedora-xen] Disk image does not exist

Jochen Wiedmann jochen.wiedmann at gmail.com
Fri Nov 10 22:56:18 UTC 2006


Hi,

I am trying to create a new guest using virt-manager. I have verified
that pae and hvm are present. xend and xendomains have been started.
In virt-manager, I have entered the following data:

    Name: fc6-guest
    Fully Virtualized
    CD-ROM (FC6 DVD is in the drive)
    Simple file, location /var/xen/win/data  (file exists with size of 5GB)
    VM Max Memory = Startup Memory = 800MB, 1 CPU

However, when I try to finish, I receive the error message

    Error creating domain: Disk image does not exist: /var/xen/win/data'

(See log file below.) I have tried both the fc6 virt-manager and the
rawhide virt-manager.


Any ideas, what might be wrong?


Thanks,

Jochen




-- 
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)



[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:190) XendDomainInfo.create(['vm', ['name',
'fc6-guest'], ['memory', '800'], ['maxmem', '800'], ['vcpus', '1'],
['uuid', 'ab3b46b4-8826-018f-a97b-e7d85865df16'], ['on_poweroff',
'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'],
['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/lib/xen/bin/qemu-dm'], ['boot', 'd'], ['acpi',
'1'], ['apic', '1'], ['pae', '1'], ['vnc', '1'], ['vncunused', '1']]],
['device', ['vbd', ['dev', 'hda:disk'], ['uname',
'file:/var/xen/win/data'], ['mode', 'w']]], ['device', ['vbd', ['dev',
'hdc:cdrom'], ['uname', 'phy:/dev/hdc'], ['mode', 'r']]], ['device',
['vif', ['mac', '00:16:3e:11:e8:be'], ['bridge', 'xenbr0'], ['script',
'/etc/xen/scripts/vif-bridge'], ['type', 'ioemu']]]])
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:296) parseConfig: config is ['vm', ['name',
'fc6-guest'], ['memory', '800'], ['maxmem', '800'], ['vcpus', '1'],
['uuid', 'ab3b46b4-8826-018f-a97b-e7d85865df16'], ['on_poweroff',
'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'],
['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/lib/xen/bin/qemu-dm'], ['boot', 'd'], ['acpi',
'1'], ['apic', '1'], ['pae', '1'], ['vnc', '1'], ['vncunused', '1']]],
['device', ['vbd', ['dev', 'hda:disk'], ['uname',
'file:/var/xen/win/data'], ['mode', 'w']]], ['device', ['vbd', ['dev',
'hdc:cdrom'], ['uname', 'phy:/dev/hdc'], ['mode', 'r']]], ['device',
['vif', ['mac', '00:16:3e:11:e8:be'], ['bridge', 'xenbr0'], ['script',
'/etc/xen/scripts/vif-bridge'], ['type', 'ioemu']]]]
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:395) parseConfig: result is {'shadow_memory': None,
'uuid': 'ab3b46b4-8826-018f-a97b-e7d85865df16', 'on_crash': 'destroy',
'on_reboot': 'destroy', 'localtime': None, 'image': ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['boot', 'd'], ['acpi', '1'], ['apic',
'1'], ['pae', '1'], ['vnc', '1'], ['vncunused', '1']], 'on_poweroff':
'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'fc6-guest',
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None,
'vcpu_avail': None, 'memory': 800, 'device': [('vbd', ['vbd', ['dev',
'hda:disk'], ['uname', 'file:/var/xen/win/data'], ['mode', 'w']]),
('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'phy:/dev/hdc'],
['mode', 'r']]), ('vif', ['vif', ['mac', '00:16:3e:11:e8:be'],
['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge'],
['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': 800}
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:1253) XendDomainInfo.construct: None
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:1285) XendDomainInfo.initDomain: 5 1.0
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: boot, val: d
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: fda, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: fdb, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: soundhw, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: localtime, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: serial, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: std-vga, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: isa, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: vcpus, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: acpi, val: 1
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: usb, val: None
[2006-11-10 23:46:55 xend 3028] DEBUG (image:379) args: usbdevice, val: None
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] ERROR
(XendDomainInfo:202) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 195, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1298, in initDomain
    self.info['device'])
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 47, in create
    return findImageHandlerClass(imageConfig)(vm, imageConfig, deviceConfig)
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 77,
in __init__
    self.configure(imageConfig, deviceConfig)
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 314,
in configure
    self.dmargs = self.parseDeviceModelArgs(imageConfig, deviceConfig)
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 391,
in parseDeviceModelArgs
    raise VmError('Disk image does not exist: %s' %
VmError: Disk image does not exist: /var/xen/win/data
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:1449) XendDomainInfo.destroy: domid=5
[2006-11-10 23:46:55 xend.XendDomainInfo 3028] DEBUG
(XendDomainInfo:1457) XendDomainInfo.destroyDomain(5)
[2006-11-10 23:46:55 xend 3028] ERROR (SrvBase:88) Request create failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85,
in perform
    return op_method(op, req)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: Disk image does not exist: /var/xen/win/data




More information about the Fedora-xen mailing list