I have made a another attempt with the following command:<br>virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/var/lib/xen/images/fc6g3.img --file-size=5 --paravirt --location=<a href="http://10.1.10.2/Zod-dvd-x86_64/">
http://10.1.10.2/Zod-dvd-x86_64/</a> --vnc<br><br>This time, the location agrument is getting install files from a local server, but I still get the same results. I have included the xend.log which shows the following error:
<br>[2007-02-05 13:45:39 xend 3391] ERROR (SrvBase:88) Request wait_for_devices failed.<br>Not sure what devices this is referring to. Any one have some suggestions?<br><br>Thanks,<br><br>Bill<br><br>The xend.log contains the following info:
<br><br>[2007-02-05 13:43:52 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1460) XendDomainInfo.destroy: domid=18<br>[2007-02-05 13:43:52 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1468) XendDomainInfo.destroyDomain
(18)<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/12/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/14/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/15/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/17/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/12/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/14/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/15/0/hotplug-status.
<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/17/0/hotplug-status.<br>[2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status.
<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'fc6g3'], ['memory', '512'], ['maxmem', '512'], ['vcpus', '1'], ['uuid', '4dd02285-72d1-1c50-04e9-6ec2408966fe'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/lib/xen/vmlinuz.BF-1d7'], ['ramdisk', '/var/lib/xen/initrd.img.QDw2yy'], ['args', ' method=
<a href="http://10.1.10.2/Zod-dvd-x86_64/">http://10.1.10.2/Zod-dvd-x86_64/</a> '], ['vnc', '1'], ['vncunused', '1']]], ['device', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/var/lib/xen/images/fc6g3.img'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:71:78:08'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']]]])
<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'fc6g3'], ['memory', '512'], ['maxmem', '512'], ['vcpus', '1'], ['uuid', '4dd02285-72d1-1c50-04e9-6ec2408966fe'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/lib/xen/vmlinuz.BF-1d7'], ['ramdisk', '/var/lib/xen/initrd.img.QDw2yy'], ['args', ' method=
<a href="http://10.1.10.2/Zod-dvd-x86_64/">http://10.1.10.2/Zod-dvd-x86_64/</a> '], ['vnc', '1'], ['vncunused', '1']]], ['device', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/var/lib/xen/images/fc6g3.img'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:71:78:08'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']]]]
<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '4dd02285-72d1-1c50-04e9-6ec2408966fe', 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['linux', ['kernel', '/var/lib/xen/vmlinuz.BF-1d7'], ['ramdisk', '/var/lib/xen/initrd.img.QDw2yy'], ['args', ' method=
<a href="http://10.1.10.2/Zod-dvd-x86_64/">http://10.1.10.2/Zod-dvd-x86_64/</a> '], ['vnc', '1'], ['vncunused', '1']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'fc6g3', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 512, 'device': [('tap', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/var/lib/xen/images/fc6g3.img'], ['mode', 'w']]), ('vif', ['vif', ['mac', '00:16:3e:71:78:08'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']])], 'bootloader': None, 'cpu': None, 'maxmem': 512}
<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 19 1.0
<br>[2007-02-05 13:43:59 xend 3391] INFO (image:222) configuring linux guest<br>[2007-02-05 13:43:59 xend 3391] INFO (image:245) setting use_graphics<br>[2007-02-05 13:43:59 xend 3391] DEBUG (balloon:127) Balloon: 1523556 KiB free; need 524288; done.
<br>[2007-02-05 13:43:59 xend 3391] INFO (image:138) buildDomain os=linux dom=19 vcpus=1<br>[2007-02-05 13:43:59 xend 3391] WARNING (image:598) Unable to set e820 map. Probably an old HyperVisor. (38, 'Function not implemented')
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:201) dom = 19<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:202) image = /var/lib/xen/vmlinuz.BF-1d7<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:203) store_evtchn = 1
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:204) console_evtchn = 2<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:205) cmdline = method=<a href="http://10.1.10.2/Zod-dvd-x86_64/">http://10.1.10.2/Zod-dvd-x86_64/
</a> <br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:206) ramdisk = /var/lib/xen/initrd.img.QDw2yy<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:207) vcpus = 1<br>[2007-02-05 13:43:59 xend 3391] DEBUG (image:208) features =
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/tap/19/51712'} to /local/domain/19/device/vbd/51712.
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:112) DevController: writing {'domain': 'fc6g3', 'frontend': '/local/domain/19/device/vbd/51712', 'dev': 'xvda', 'state': '1', 'params': 'aio:/var/lib/xen/images/fc6g3.img', 'mode': 'w', 'online': '1', 'frontend-id': '19', 'type': 'tap'} to /local/domain/0/backend/tap/19/51712.
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:71:78:08', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/19/0'} to /local/domain/19/device/vif/0.
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'fc6g3', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/19/device/vif/0', 'mac': '00:16:3e:71:78:08', 'online': '1', 'frontend-id': '19'} to /local/domain/0/backend/vif/19/0.
<br>[2007-02-05 13:43:59 xend 3391] INFO (image:287) spawning video: ['/usr/lib64/xen/bin/xen-vncfb', '--unused', '--listen', '<a href="http://127.0.0.1">127.0.0.1</a>', '--domid', '19', '--title', 'fc6g3']
<br>[2007-02-05 13:43:59 xend 3391] INFO (image:289) device model pid: 7643<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:715) Storing VM details: {'shadow_memory': '0', 'uuid': '4dd02285-72d1-1c50-04e9-6ec2408966fe', 'on_reboot': 'destroy', 'start_time': '
1170701039.71', 'on_poweroff': 'destroy', 'name': 'fc6g3', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash': 'destroy', 'image': "(linux (kernel /var/lib/xen/vmlinuz.BF-1d7) (ramdisk /var/lib/xen/initrd.img.QDw2yy) (args ' method=
<a href="http://10.1.10.2/Zod-dvd-x86_64/">http://10.1.10.2/Zod-dvd-x86_64/</a> ') (vnc 1) (vncunused 1))", 'maxmem': '512'}<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:750) Storing domain details: {'console/ring-ref': '629607', 'console/port': '2', 'name': 'fc6g3', 'console/limit': '1048576', 'vm': '/vm/4dd02285-72d1-1c50-04e9-6ec2408966fe', 'domid': '19', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '629608', 'store/port': '1'}
<br>[2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:143) Waiting for devices vif.<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:149) Waiting for 0.
<br>[2007-02-05 13:43:59 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status.<br>[2007-02-05 13:45:39 xend 3391] ERROR (SrvBase:88) Request wait_for_devices failed.<br>
Traceback (most recent call last):<br> File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform<br> return op_method(op, req)<br> File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomain.py", line 72, in op_wait_for_devices
<br> return self.dom.waitForDevices()<br> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1607, in waitForDevices<br> self.waitForDevices_(c)<br> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1101, in waitForDevices_
<br> return self.getDeviceController(deviceClass).waitForDevices()<br> File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices<br> return map(self.waitForDevice
, self.deviceIDs())<br> File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 154, in waitForDevice<br> self.destroyDevice(devid)<br>TypeError: destroyDevice() takes exactly 3 arguments (2 given)
<br><br><div><span class="gmail_quote">On 2/5/07, <b class="gmail_sendername">Bill Zingler</b> <<a href="mailto:billzingler@gmail.com">billzingler@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dan,<br><br>Thanks for the response. I changed my command to: <br><br>virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/var/lib/xen/images/fc6g3.img --file-size=5 --paravirt --location=<a href="http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os</a> --vnc<br><br>But, I get the same error. I then disabled SELinux and still got the same error.<br><br>Do you know of any working tutorials on this? I have looked at:
<br><a href="https://virt.108.redhat.com/articles/2007/01/15/xen-chapter-from-fedora-core-6-unleashed.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://virt.108.redhat.com/articles/2007/01/15/xen-chapter-from-fedora-core-6-unleashed.html
</a><br><a href="http://fedoraproject.org/wiki/FedoraXenQuickstartFC6" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://fedoraproject.org/wiki/FedoraXenQuickstartFC6</a><br>They both are short on details.<br><br>Thanks,<br><span class="sg"><br>Bill</span><div><span class="e" id="q_1109214588931827_2"><br><br><br><div><span class="gmail_quote">
On 2/4/07, <b class="gmail_sendername">Daniel P. Berrange</b>
<<a href="mailto:berrange@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">berrange@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Feb 01, 2007 at 03:38:33PM -0500, Bill Zingler wrote:
<br>> The following command yeilds the error below. Anyone have any ideas what<br>> could be the problem. Am I encountering a problem due to using the x86_64<br>> version of FC6?<br>><br>> Thanks,<br>>
<br>> Bill<br>><br>> virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/home/admin/fc6g3.img<br>> --file-size=5 --paravirt --location=<br>> <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os</a> --vnc<br><br>If you have SELinux enabled, then this will fail because the disk image is<br>under in a permitted directory. SELinux policy requires disk images to be
<br>in either /xen (for legacy compat), or /var/lib/xen/images (current preferred).<br><br>If you really really want to keep disk images elsewhere, then you need to<br>add the extra directory to the policy & make sure its labelled, eg
<br><br>To add to policy:<br><br> semanage fcontext --add -t xen_image_t '/home/admin/xen(/.*)?'<br><br>And then to label the dir:<br><br> restorecon /home/admin/xen<br><br>Regards,<br>Dan.<br>--<br>|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
<br>|=- Perl modules: <a href="http://search.cpan.org/%7Edanberr/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://search.cpan.org/~danberr/</a> -=|<br>|=- Projects:
<a href="http://freshmeat.net/%7Edanielpb/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://freshmeat.net/~danielpb/
</a> -=|<br>|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|<br></blockquote></div><br><br clear="all"><br></span></div><div><span class="e" id="q_1109214588931827_3">-- <br>Bill Zingler
<br>Zingler & Associates, Inc.<br>(443) 822-4857
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Bill Zingler<br>Zingler & Associates, Inc.<br>(443) 822-4857