I have made a another attempt with the following command: virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/var/lib/xen/images/fc6g3.img --file-size=5 --paravirt --location= http://10.1.10.2/Zod-dvd-x86_64/ --vnc
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.logwhich shows the following error: [2007-02-05 13:45:39 xend 3391] ERROR (SrvBase:88) Request wait_for_devices failed. Not sure what devices this is referring to. Any one have some suggestions? Thanks, Bill The xend.log contains the following info: [2007-02-05 13:43:52 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1460) XendDomainInfo.destroy: domid=18 [2007-02-05 13:43:52 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1468) XendDomainInfo.destroyDomain(18) [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/12/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/14/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/15/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/17/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/12/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/13/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/14/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/15/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/17/0/hotplug-status. [2007-02-05 13:43:53 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/18/0/hotplug-status. [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= http://10.1.10.2/Zod-dvd-x86_64/ '], ['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']]]]) [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= http://10.1.10.2/Zod-dvd-x86_64/ '], ['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']]]] [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= http://10.1.10.2/Zod-dvd-x86_64/ '], ['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} [2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 19 1.0 [2007-02-05 13:43:59 xend 3391] INFO (image:222) configuring linux guest [2007-02-05 13:43:59 xend 3391] INFO (image:245) setting use_graphics [2007-02-05 13:43:59 xend 3391] DEBUG (balloon:127) Balloon: 1523556 KiB free; need 524288; done. [2007-02-05 13:43:59 xend 3391] INFO (image:138) buildDomain os=linux dom=19 vcpus=1 [2007-02-05 13:43:59 xend 3391] WARNING (image:598) Unable to set e820 map. Probably an old HyperVisor. (38, 'Function not implemented') [2007-02-05 13:43:59 xend 3391] DEBUG (image:201) dom = 19 [2007-02-05 13:43:59 xend 3391] DEBUG (image:202) image = /var/lib/xen/vmlinuz.BF-1d7 [2007-02-05 13:43:59 xend 3391] DEBUG (image:203) store_evtchn = 1 [2007-02-05 13:43:59 xend 3391] DEBUG (image:204) console_evtchn = 2 [2007-02-05 13:43:59 xend 3391] DEBUG (image:205) cmdline = method= http://10.1.10.2/Zod-dvd-x86_64/ [2007-02-05 13:43:59 xend 3391] DEBUG (image:206) ramdisk = /var/lib/xen/initrd.img.QDw2yy [2007-02-05 13:43:59 xend 3391] DEBUG (image:207) vcpus = 1 [2007-02-05 13:43:59 xend 3391] DEBUG (image:208) features = [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' [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. [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. [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. [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. [2007-02-05 13:43:59 xend 3391] INFO (image:287) spawning video: ['/usr/lib64/xen/bin/xen-vncfb', '--unused', '--listen', '127.0.0.1', '--domid', '19', '--title', 'fc6g3'] [2007-02-05 13:43:59 xend 3391] INFO (image:289) device model pid: 7643 [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= http://10.1.10.2/Zod-dvd-x86_64/ ') (vnc 1) (vncunused 1))", 'maxmem': '512'} [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'} [2007-02-05 13:43:59 xend.XendDomainInfo 3391] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-02-05 13:43:59 xend 3391] DEBUG (DevController:143) Waiting for devices vif. [2007-02-05 13:43:59 xend 3391] DEBUG (DevController:149) Waiting for 0. [2007-02-05 13:43:59 xend 3391] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status. [2007-02-05 13:45:39 xend 3391] ERROR (SrvBase:88) Request wait_for_devices failed. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomain.py", line 72, in op_wait_for_devices return self.dom.waitForDevices() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1607, in waitForDevices self.waitForDevices_(c) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1101, in waitForDevices_ return self.getDeviceController(deviceClass).waitForDevices() File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices return map(self.waitForDevice, self.deviceIDs()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 154, in waitForDevice self.destroyDevice(devid) TypeError: destroyDevice() takes exactly 3 arguments (2 given) On 2/5/07, Bill Zingler <[EMAIL PROTECTED]> wrote:
Dan, Thanks for the response. I changed my command to: virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/var/lib/xen/images/fc6g3.img --file-size=5 --paravirt --location=http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os--vnc But, I get the same error. I then disabled SELinux and still got the same error. Do you know of any working tutorials on this? I have looked at: https://virt.108.redhat.com/articles/2007/01/15/xen-chapter-from-fedora-core-6-unleashed.html http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 They both are short on details. Thanks, Bill On 2/4/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 01, 2007 at 03:38:33PM -0500, Bill Zingler wrote: > > The following command yeilds the error below. Anyone have any ideas > what > > could be the problem. Am I encountering a problem due to using the > x86_64 > > version of FC6? > > > > Thanks, > > > > Bill > > > > virt-install --name=fc6g3 --ram=512 --vcpus=1 > --file=/home/admin/fc6g3.img > > --file-size=5 --paravirt --location= > > http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os--vnc > > If you have SELinux enabled, then this will fail because the disk image > is > under in a permitted directory. SELinux policy requires disk images to > be > in either /xen (for legacy compat), or /var/lib/xen/images (current > preferred). > > If you really really want to keep disk images elsewhere, then you need > to > add the extra directory to the policy & make sure its labelled, eg > > To add to policy: > > semanage fcontext --add -t xen_image_t '/home/admin/xen(/.*)?' > > And then to label the dir: > > restorecon /home/admin/xen > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 > 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/<http://search.cpan.org/%7Edanberr/> > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > <http://freshmeat.net/%7Edanielpb/> -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| > -- Bill Zingler Zingler & Associates, Inc. (443) 822-4857
-- Bill Zingler Zingler & Associates, Inc. (443) 822-4857
-- Fedora-xen mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-xen
