Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm
Hi, Here are the packages I have at the moment, which are proven to work for me: kernel-2.6.18-194.8.1.el5 kvm-83-164.el5 kmod-kvm-83-164.el5 etherboot-roms-kvm-5.4.4-13.el5.centos etherboot-zroms-kvm-5.4.4-13.el5.centos Cheers, Vladimir 2010/7/27 cris rock : > Hi guys, I hope you can help me on this issue with kvm/libvirt: > > using this command to install a kvm virtual machine: > > virt-install --connect qemu:///system \ > --name p3k0401 \ > --ram 2048 \ > --file //dev/VolGroup01/p3k0401logvol \ > --accelerate \ > -s 10 \ > --nographics \ > --hvm \ > --location='http://10.1.4.80' > > I get: > > Starting install... > Retrieving file vmlinuz... | 1.8 MB 00:00 > Retrieving file initrd.img... | 7.1 MB 00:00 > ERROR internal error Domain p3k0401 didn't show up > > Domain installation may not have been > successful. If it was, you can restart your domain > by running 'virsh start p3k0401'; otherwise, please > restart your installation. > ERROR internal error Domain p3k0401 didn't show up > Traceback (most recent call last): > File "/usr/sbin/virt-install", line 889, in ? > main() > File "/usr/sbin/virt-install", line 751, in main > start_time, guest.start_install) > File "/usr/sbin/virt-install", line 813, in do_install > dom = install_func(conscb, progresscb, wait=(not wait)) > File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in > start_install > return self._do_install(consolecb, meter, removeOld, wait) > File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in > _do_install > self.domain = self.conn.createLinux(install_xml, 0) > File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in > createLinux > if ret is None:raise libvirtError('virDomainCreateLinux() failed', > conn=self) > libvirtError: internal error Domain p3k0401 didn't show up > > > On the /var/log/libvirt/qemu/p3k0401.log: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ > /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401 > -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor > pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c > -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd > /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append > method=http://10.1.4.80 -drive > file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net > nic,macaddr=54:52:00:15:c4:50,vlan=0 -net > tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb > Supported machines are: > pc Standard PC (alias of pc-0.12) > pc-0.12 Standard PC (default) > pc-0.11 Standard PC, qemu 0.11 > pc-0.10 Standard PC, qemu 0.10 > isapc ISA-only PC > xenpv Xen Para-virtualized PC > > > And my packages installed: > > # rpm -qa | grep qemu > qemu-0.12.4-1.el5.rf > > # rpm -qa | grep kvm > etherboot-zroms-kvm-5.4.4-13.el5.centos > kmod-kvm-83-164.el5_5.12 > kvm-83-164.el5_5.12 > > # rpm -qa | grep libvirt > libvirt-0.6.3-33.el5_5.1 > libvirt-0.6.3-33.el5_5.1 > libvirt-python-0.6.3-33.el5_5.1 > > # uname -a > Linux gs1p304 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 > x86_64 x86_64 GNU/Linux > > Please any pointer is appreciated... > > thanks! > > cris > > > Hotmail: Free, trusted and rich email service. Get it now. > ___ > CentOS-virt mailing list > CentOS-virt@centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > > ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm
On Tue, Jul 27, 2010 at 2:47 PM, Kenni Lund wrote: > 2010/7/27 cris rock : >> And my packages installed: >> >> # rpm -qa | grep qemu >> qemu-0.12.4-1.el5.rf >> >> # rpm -qa | grep kvm >> etherboot-zroms-kvm-5.4.4-13.el5.centos >> kmod-kvm-83-164.el5_5.12 >> kvm-83-164.el5_5.12 > > I haven't used CentOS as a KVM host yet, only Fedora, but your setup > still puzzles me...why do you have a brand new qemu-package (as in > "not from the CentOS/RHEL repositories") installed? I would guess that > this package would conflict with the kvm package and mess things up. > > Your error message mentions /usr/bin/qemu-system-x86_64 as the > executable. If you run > rpm -qf /usr/bin/qemu-system-x86_64 > does it then tell you that this file belong to the qemu package? If > so, I believe this is your problem...you try to use qemu, which has > partial KVM support, instead of using qemu-kvm (which is the "real" > KVM userspace executable that originates from the kvm package). I > don't think the arguments supported by qemu-system-x86_64 and qemu-kvm > are the same, which probably could be the cause of the client not > booting and libvirt/virt-manager failing. Right, and there is a bit more about kvm-qemu (correct) versus qemu (incorrect) as explained by Fabian Arrotin in this bug report: http://bugs.centos.org/view.php?id=4111 Remove the installed qemu and install kvm-qemu-img and try again. Akemi ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm
2010/7/27 cris rock : > > On the /var/log/libvirt/qemu/p3k0401.log: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ > /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401 > -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor > pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c > -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd > /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append > method=http://10.1.4.80 -drive > file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net > nic,macaddr=54:52:00:15:c4:50,vlan=0 -net > tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb > Supported machines are: > pc Standard PC (alias of pc-0.12) > pc-0.12 Standard PC (default) > pc-0.11 Standard PC, qemu 0.11 > pc-0.10 Standard PC, qemu 0.10 > isapc ISA-only PC > xenpv Xen Para-virtualized PC > > > And my packages installed: > > # rpm -qa | grep qemu > qemu-0.12.4-1.el5.rf > > # rpm -qa | grep kvm > etherboot-zroms-kvm-5.4.4-13.el5.centos > kmod-kvm-83-164.el5_5.12 > kvm-83-164.el5_5.12 I haven't used CentOS as a KVM host yet, only Fedora, but your setup still puzzles me...why do you have a brand new qemu-package (as in "not from the CentOS/RHEL repositories") installed? I would guess that this package would conflict with the kvm package and mess things up. Your error message mentions /usr/bin/qemu-system-x86_64 as the executable. If you run rpm -qf /usr/bin/qemu-system-x86_64 does it then tell you that this file belong to the qemu package? If so, I believe this is your problem...you try to use qemu, which has partial KVM support, instead of using qemu-kvm (which is the "real" KVM userspace executable that originates from the kvm package). I don't think the arguments supported by qemu-system-x86_64 and qemu-kvm are the same, which probably could be the cause of the client not booting and libvirt/virt-manager failing. Best Regards Kenni ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm
Hi guys, I hope you can help me on this issue with kvm/libvirt: using this command to install a kvm virtual machine: virt-install --connect qemu:///system \ --name p3k0401 \ --ram 2048 \ --file //dev/VolGroup01/p3k0401logvol \ --accelerate \ -s 10 \ --nographics \ --hvm \ --location='http://10.1.4.80' I get: Starting install... Retrieving file vmlinuz... | 1.8 MB 00:00 Retrieving file initrd.img... | 7.1 MB 00:00 ERROR internal error Domain p3k0401 didn't show up Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start p3k0401'; otherwise, please restart your installation. ERROR internal error Domain p3k0401 didn't show up Traceback (most recent call last): File "/usr/sbin/virt-install", line 889, in ? main() File "/usr/sbin/virt-install", line 751, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 813, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error Domain p3k0401 didn't show up On the /var/log/libvirt/qemu/p3k0401.log: LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401 -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append method=http://10.1.4.80 -drive file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net nic,macaddr=54:52:00:15:c4:50,vlan=0 -net tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb Supported machines are: pc Standard PC (alias of pc-0.12) pc-0.12 Standard PC (default) pc-0.11 Standard PC, qemu 0.11 pc-0.10 Standard PC, qemu 0.10 isapc ISA-only PC xenpv Xen Para-virtualized PC And my packages installed: # rpm -qa | grep qemu qemu-0.12.4-1.el5.rf # rpm -qa | grep kvm etherboot-zroms-kvm-5.4.4-13.el5.centos kmod-kvm-83-164.el5_5.12 kvm-83-164.el5_5.12 # rpm -qa | grep libvirt libvirt-0.6.3-33.el5_5.1 libvirt-0.6.3-33.el5_5.1 libvirt-python-0.6.3-33.el5_5.1 # uname -a Linux gs1p304 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Please any pointer is appreciated... thanks! cris _ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install failed while install windows2003 guest
Hi,All I've solve this problem by doing a chcon --reference=/var/lib/libvirt/images /vm this solve selinux block kvm from accessing disk image outside of /var/lib/libvirt/images Thanks 2009-12-09 rewing 发件人: centos-virt-request 发送时间: 2009-12-09 00:57:19 收件人: centos-virt 抄送: 主题: CentOS-virt Digest, Vol 28, Issue 9 Send CentOS-virt mailing list submissions to centos-virt@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-virt or, via email, send a message with subject or body 'help' to centos-virt-requ...@centos.org You can reach the person managing the list at centos-virt-ow...@centos.org When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-virt digest..." Today's Topics: 1. virt-install failed while install windows2003 guest (rewing) 2. Re: virt-install failed while install windows2003 guest (Markus Falb) 3. Re: virt-install failed while install windows2003 guest (Tait Clarridge) -- Message: 1 Date: Tue, 8 Dec 2009 16:58:56 +0800 From: "rewing" Subject: [CentOS-virt] virt-install failed while install windows2003 guest To: "centos-virt" Message-ID: <200912081658540620...@howfortune.com> Content-Type: text/plain; charset="us-ascii" Here's the procedure: # qemu-img -f qcow2 /vm/win2k3.img 8G # virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso -f /vm/win2k3.img -s 4 --network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate And I get error as below: Starting install... internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start win2k3'; otherwise, please restart your installation. ERRORinternal error unable to start guest: qemu: could not open disk image /vm/win2k3.img Traceback (most recent call last): File "/usr/sbin/virt-install", line 861, in ? main() File "/usr/sbin/virt-install", line 759, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 814, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img any idea? 2009-12-08 rewing -- next part -- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos-virt/attachments/20091208/55c24500/attachment-0001.html -- Message: 2 Date: Tue, 8 Dec 2009 12:41:34 +0100 From: Markus Falb Subject: Re: [CentOS-virt] virt-install failed while install windows2003 guest To: Discussion about the virtualization on CentOS Message-ID: <7fef197d-7025-4e95-87db-72ae50cef...@fasel.at> Content-Type: text/plain; charset="us-ascii" On 8 Dec 2009, at 09:58, rewing wrote: > libvirtError: internal error unable to start guest: qemu: could not > open disk image /vm/win2k3.img Do you have selinux enabled ? As far as I know the location for images is restricted to /var/lib/libvirt/images by default. -- Markus -- next part -- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos-virt/attachments/20091208/ac8640d6/attachment-0001.html -- Message: 3 Date: Tue, 08 Dec 2009 09:11:02 -0500 From: Tait Clarridge Subject: Re: [CentOS-virt] virt-install failed while install windows2003 guest To: Discussion about the virtualization on CentOS Message-ID: <1260281462.2495.1.ca...@taiterltp.int.interactivemedia.com> Content-Type: text/plain; charset="utf-8" On Tue, 2009-12-08 at 12:41 +0100, Markus Falb wrote: > > On 8 Dec 2009, at 09:58, rewing wrote: > > libvirtError: internal error unable to start guest: qemu: could not open > > disk image /vm/win2k3.img > > > Do you have selinux enabled ? As far as I know the location for images > is restricted to /var/lib/libvirt/images by default. > > -- Or does the actual disk image exist at /vm/win2k3.img with r/w access to whoever is running the virt-install command? Does the /vm d
Re: [CentOS-virt] virt-install failed while install windows2003 guest
On Tue, 2009-12-08 at 12:41 +0100, Markus Falb wrote: > > On 8 Dec 2009, at 09:58, rewing wrote: > > libvirtError: internal error unable to start guest: qemu: could not open > > disk image /vm/win2k3.img > > > Do you have selinux enabled ? As far as I know the location for images > is restricted to /var/lib/libvirt/images by default. > > -- Or does the actual disk image exist at /vm/win2k3.img with r/w access to whoever is running the virt-install command? Does the /vm directory exist and does the user have permissions to access it? signature.asc Description: This is a digitally signed message part ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install failed while install windows2003 guest
On 8 Dec 2009, at 09:58, rewing wrote: libvirtError: internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img Do you have selinux enabled ? As far as I know the location for images is restricted to /var/lib/libvirt/images by default. -- Markus ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] virt-install failed while install windows2003 guest
Here's the procedure: # qemu-img -f qcow2 /vm/win2k3.img 8G # virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso -f /vm/win2k3.img -s 4 --network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate And I get error as below: Starting install... internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start win2k3'; otherwise, please restart your installation. ERRORinternal error unable to start guest: qemu: could not open disk image /vm/win2k3.img Traceback (most recent call last): File "/usr/sbin/virt-install", line 861, in ? main() File "/usr/sbin/virt-install", line 759, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 814, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img any idea? 2009-12-08 rewing ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install
Version number. It's 0.5.3-10. Current version on lfarkas's repository is 0.7.0-4. I use it (0.7.0) for a month now, I think, and have not seen any issues so far. I also use kvm-84 from his repository and I have mot seen any problems except I am not able to connect with virtsh to qemu:///system, from root, just qemu:///test. All clients are CentOS 5.3 with kernel 2.6.18-128.1.6, but I must keep virtual host (CentOS 5.3) on 2.6.18-92.1.22 kernel because of issues with MB with AMD chipset (I was going to report this but never got the time to prepare all the info needed). Ljubomir Karanbir Singh wrote: > Ljubomir Ljubojevic wrote: >> My suggestion is to go install >> http://www.lfarkas.org/linux/packages/centos/lfarkas.repo in your >> /etc/yumconfig.d folder and run "yum install virt-manager" > > Whats wrong with the virt-manage etc already included in CentOS ? > > - KB > ___ > CentOS-virt mailing list > CentOS-virt@centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install
Ljubomir Ljubojevic wrote: > My suggestion is to go install > http://www.lfarkas.org/linux/packages/centos/lfarkas.repo in your > /etc/yumconfig.d folder and run "yum install virt-manager" Whats wrong with the virt-manage etc already included in CentOS ? - KB ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install
Thanks but i not use x on the server -Ursprungligt meddelande- Från: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] För Ljubomir Ljubojevic Skickat: den 29 april 2009 12:12 Till: Discussion about the virtualization on CentOS Ämne: Re: [CentOS-virt] Virt-install mattias wrote: > Exuse all my questiosn but i not find any info about virt-install on > centos.org So how install e.g debian with virt-install with an iso? My suggestion is to go install http://www.lfarkas.org/linux/packages/centos/lfarkas.repo in your /etc/yumconfig.d folder and run "yum install virt-manager" and maybe few more needed packages. It is GUI for management of virtual machines. It is under the Red Hat's wing and I used it to easily set ALL parameters for install. There is no need for virt-install commands. > > ___ > CentOS-virt mailing list > CentOS-virt@centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install
mattias wrote: > Exuse all my questiosn but i not find any info about virt-install on > centos.org > So how install e.g debian with virt-install with an iso? My suggestion is to go install http://www.lfarkas.org/linux/packages/centos/lfarkas.repo in your /etc/yumconfig.d folder and run "yum install virt-manager" and maybe few more needed packages. It is GUI for management of virtual machines. It is under the Red Hat's wing and I used it to easily set ALL parameters for install. There is no need for virt-install commands. > > ___ > CentOS-virt mailing list > CentOS-virt@centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virt-install
mattias wrote: > Exuse all my questiosn but i not find any info about virt-install on > centos.org > So how install e.g debian with virt-install with an iso? www.centos.org/docs/ ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] Virt-install
Exuse all my questiosn but i not find any info about virt-install on centos.org So how install e.g debian with virt-install with an iso? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] virt-install error messages
I get two errors when doing a fully automated kickstart install with virt- install: > libvir: QEMU error : connect: /var/run/libvirt/qemud-sock: Connection refused > libvir: warning : Failed to find the network: Is the daemon running ? that seems to be harmless and is caused by libvirtd being shut off. Then I get: > Starting install... > libvir: Xen Daemon error : GET operation failed: > Retrieving CentOS...194 kB 00:00 > Retrieving vmlinuz... 2.0 MB 00:00 > Retrieving initrd.img...5.0 MB 00:00 > libvir: Xen Daemon error : GET operation failed: > Creating domain... 0 B 00:00 > Domain installation still in progress. You can reconnect > to the console to complete the installation process. The "GET operation failed:" error seems to be harmless, too, but it happens whether libvirt is running or not. From googling around it looks like this is a pretty standard error. Could this be a bug in virt-install? Apart from that I notice that the virt-install installation seems to be more ressource hungry than starting a kickstart installation with virt-manager. While I don't recognize much of the virt-manager installation performance-wise, the virt-install installation clearly drains on the CPU, the system reaches 100% CPU utilization during the first one or two minutes and that is noticable at least on the desktop. Do you have the same experience? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] virt-install in CentOS 5
On Thu, 2008-03-20 at 12:34 -0400, Ross S. W. Walker wrote: > Apache permissions problem? > > Mime types problem (.rpm needs to be set text/plain)? None of the above. I managed to fix the problem, but I'm still confused: I don't know why I needed to do this: [EMAIL PROTECTED] cd /var/www/mirror/fedora/linux/releases/8/Fedora/i386/os [EMAIL PROTECTED] ln -s /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/ . in order to get virt-install to work with my local copy of the Fedora 8 DVD. I definitely don't need to do this for CentOS 5 or CentOS 4 domUs. FYI: /var/www/mirror/fedora/linux is a symlink that points to the real install tree, /srv/intranet/iso-images/fedora/linux. Maybe this is the reason why the http location for the virt-install failed. If so, I don't understand why. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 01:58:36 up 16 days, 14:03, 3 users, load average: 0.46, 0.47, 0.53 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] virt-install in CentOS 5
Kanwar Ranbir Sandhu wrote: > > On Thu, 2008-03-20 at 16:15 +0100, Kai Schaetzl wrote: > > Then compare the two. There must be something different. Maybe Fedora DVDs > > are different from their repos. Maybe just an additional or removed word > > in the path. I can just talk about CentOS and there I have successfully > > installed from mirrors that I created by copying the DVD to the drive and > > by rsyncing the latest CentOS base repo. > > Well, I actually tried that last night. I did a rsync dryrun against > kernel.org's Fedora 8 mirror, and got these differences: > > 4100 files to consider > ./ > .discinfo > Packages/ > Packages/compiz-manager-0.6.0-3.fc8.noarch.rpm > Packages/fedora-release-notes-8.0.0-3.noarch.rpm > Packages/hal-info-20071030-1.fc8.noarch.rpm > Packages/kernel-doc-2.6.23.1-42.fc8.noarch.rpm > Packages/system-config-date-1.9.16-1.fc8.noarch.rpm > images/ > images/pxeboot/ > images/xen/ > isolinux/ > isolinux/isolinux.bin > repodata/ > repodata/Fedora-8-comps.xml > repodata/filelists.sqlite.bz2 > repodata/filelists.xml.gz > repodata/other.sqlite.bz2 > repodata/other.xml.gz > repodata/primary.sqlite.bz2 > repodata/primary.xml.gz > repodata/repomd.xml > repoview/ > repoview/layout/ > stylesheet-images/ > > This was the command I ran: > > rsync -rlptDvzn --progress > mirrors.kernel.org::fedora/releases/8/Fedora/i386/os/ > /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/i386/os/ > > So, I synchronized my local copy against kernel.org, but when I ran > virt-install again, it still failed. Now I'm really confused. Apache permissions problem? Mime types problem (.rpm needs to be set text/plain)? -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Thu, 2008-03-20 at 16:15 +0100, Kai Schaetzl wrote: > Then compare the two. There must be something different. Maybe Fedora DVDs > are different from their repos. Maybe just an additional or removed word > in the path. I can just talk about CentOS and there I have successfully > installed from mirrors that I created by copying the DVD to the drive and > by rsyncing the latest CentOS base repo. Well, I actually tried that last night. I did a rsync dryrun against kernel.org's Fedora 8 mirror, and got these differences: 4100 files to consider ./ .discinfo Packages/ Packages/compiz-manager-0.6.0-3.fc8.noarch.rpm Packages/fedora-release-notes-8.0.0-3.noarch.rpm Packages/hal-info-20071030-1.fc8.noarch.rpm Packages/kernel-doc-2.6.23.1-42.fc8.noarch.rpm Packages/system-config-date-1.9.16-1.fc8.noarch.rpm images/ images/pxeboot/ images/xen/ isolinux/ isolinux/isolinux.bin repodata/ repodata/Fedora-8-comps.xml repodata/filelists.sqlite.bz2 repodata/filelists.xml.gz repodata/other.sqlite.bz2 repodata/other.xml.gz repodata/primary.sqlite.bz2 repodata/primary.xml.gz repodata/repomd.xml repoview/ repoview/layout/ stylesheet-images/ This was the command I ran: rsync -rlptDvzn --progress mirrors.kernel.org::fedora/releases/8/Fedora/i386/os/ /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/i386/os/ So, I synchronized my local copy against kernel.org, but when I ran virt-install again, it still failed. Now I'm really confused. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 12:18:31 up 16 days, 23 min, 1 user, load average: 0.21, 0.08, 0.08 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] virt-install in CentOS 5
Kai Schaetzl wrote: > Kanwar Ranbir Sandhu wrote on Wed, 19 Mar 2008 21:29:58 -0400: > > > http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/ > > > > but, fails when I use my internal mirror. > > > > My internal mirror is just a rsync of the Fedora 8 DVD. > > Then compare the two. There must be something different. Maybe Fedora DVDs > are different from their repos. Maybe just an additional or removed word > in the path. I can just talk about CentOS and there I have successfully > installed from mirrors that I created by copying the DVD to the drive and > by rsyncing the latest CentOS base repo. Kai's right the CD/DVD repo has a different directory structure then the HTTP repo. Not a problem when using 'yum' as it finds out the structure from 'repodata', but for clients that want to directly access the data it can throw them for a loop. -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
ystemsaligned.com> Reply-To: centos-virt@centos.org X-Rcpt-To: Kanwar Ranbir Sandhu wrote on Wed, 19 Mar 2008 21:29:58 -0400: > http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/ > > but, fails when I use my internal mirror. > > My internal mirror is just a rsync of the Fedora 8 DVD. Then compare the two. There must be something different. Maybe Fedora DVDs are different from their repos. Maybe just an additional or removed word in the path. I can just talk about CentOS and there I have successfully installed from mirrors that I created by copying the DVD to the drive and by rsyncing the latest CentOS base repo. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Sat, 2008-03-15 at 18:41 -0400, Kanwar Ranbir Sandhu wrote: > I tried that a while ago, just in case, but it didn't help. I'm still > clued out as to why http installs fail for Fedora 8 domUs, but work just > fine for CentOS 5 domUs. I've done more testing and a http install works when I use this: http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/ but, fails when I use my internal mirror. My internal mirror is just a rsync of the Fedora 8 DVD. As far as I can tell, it's exactly the same as what all the other Fedora 8 mirrors. Obviously, something is different. Am I supposed to recreate the Fedora 8 DVD repo data or do something similar before I can do an http domU install? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 21:16:56 up 15 days, 9:21, 2 users, load average: 0.64, 0.53, 0.45 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Sat, 2008-03-15 at 14:06 -0500, Johnny Hughes wrote: > Did you try with a trailing slash on http .. I see there is one on ftp? I tried that a while ago, just in case, but it didn't help. I'm still clued out as to why http installs fail for Fedora 8 domUs, but work just fine for CentOS 5 domUs. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 18:39:50 up 11 days, 6:45, 1 user, load average: 0.37, 0.36, 0.44 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
Kanwar Ranbir Sandhu wrote: On Wed, 2008-03-12 at 09:48 +0200, Mindaugas wrote: Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the following command: virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 --nographics -l ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/ Well, I tried to run my previous virt-install command with the location set to a Fedora 8 ftp mirror: lo and behold, the install started. WTF?! I either have a borked installation of the python-virtinst package, or there's a bug in virt-install for http locations. Did you try with a trailing slash on http .. I see there is one on ftp? signature.asc Description: OpenPGP digital signature ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Wed, 2008-03-12 at 09:48 +0200, Mindaugas wrote: > Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the > following command: > virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 > --nographics -l > ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/ Well, I tried to run my previous virt-install command with the location set to a Fedora 8 ftp mirror: lo and behold, the install started. WTF?! I either have a borked installation of the python-virtinst package, or there's a bug in virt-install for http locations. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 14:48:48 up 8 days, 2:54, 2 users, load average: 0.23, 0.38, 0.48 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
> > > Does anyone know why the above doesn't work for a Fedora 8 domU on a > > > CentOS 5 dom0? I'm completely mystified. > > > > Does your mirror have the identical structure and data as the original? > > Yes. I've even gone so far as test with a public mirror. I get the same > errors. Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the following command: virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 --nographics -l ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/ Regards, Mindaugas ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] virt-install in CentOS 5
On Mon, 2008-03-10 at 17:52 -0400, Ross S. W. Walker wrote: > > Does anyone know why the above doesn't work for a Fedora 8 domU on a > > CentOS 5 dom0? I'm completely mystified. > > Does your mirror have the identical structure and data as the original? Yes. I've even gone so far as test with a public mirror. I get the same errors. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 21:14:38 up 6 days, 9:20, 2 users, load average: 1.50, 0.98, 0.78 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] virt-install in CentOS 5
Kanwar Ranbir Sandhu wrote: > > On Sun, 2008-03-09 at 08:56 -0400, Kanwar Ranbir Sandhu wrote: > > > http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os > > > as the base url. > > Does anyone know why the above doesn't work for a Fedora 8 domU on a > CentOS 5 dom0? I'm completely mystified. Does your mirror have the identical structure and data as the original? -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Sun, 2008-03-09 at 08:56 -0400, Kanwar Ranbir Sandhu wrote: > > http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os > > as the base url. Does anyone know why the above doesn't work for a Fedora 8 domU on a CentOS 5 dom0? I'm completely mystified. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 17:46:38 up 6 days, 5:52, 2 users, load average: 0.70, 0.75, 0.91 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
On Sat, 2008-03-08 at 20:35 -0800, Mark D. Foster wrote: > Try passing > > http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os > as the base url. I've tried that too, and even though I wasn't very clear about it in my original email, it's what I used for the CentOS 5 domU installs. Anyway, for Fedora 8, that base USL makes virt-install bomb out even harder: [EMAIL PROTECTED] apcupsd]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os -f /dev/vg00/krs -d Starting install... Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Fedora Sun, 09 Mar 2008 08:41:37 DEBUGCannot find file Fedora Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Server Sun, 09 Mar 2008 08:41:37 DEBUGCannot find file Server Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Client Sun, 09 Mar 2008 08:41:37 DEBUGCannot find file Client Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/RedHat Sun, 09 Mar 2008 08:41:37 DEBUGCannot find file RedHat Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/CentOS Sun, 09 Mar 2008 08:41:37 DEBUGCannot find file CentOS Sun, 09 Mar 2008 08:41:37 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/directory.yast Sun, 09 Mar 2008 08:41:37 DEBUGDoesn't look like a Suse distro Invalid URL location given: [Errno 14] HTTP Error 404: Not Found ERROR: Could not find an installable distribution the install location What the hell is virt-install doing? Why isn't it just looking for the xen kernel in the images sub-dir of that base url? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 08:47:13 up 4 days, 20:53, 2 users, load average: 1.08, 0.78, 0.55 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] virt-install in CentOS 5
Kanwar Ranbir Sandhu wrote: Hi All, [I originally posted this message in the main CentOS users' list, but later found this list. So, I'm reposting it here since this is where it belongs.] I'm trying to install a Fedora 8 domU on a CentOS 5 dom0, but the following command fails: [EMAIL PROTECTED] ~]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8 -f /dev/vg00/krs -d Try passing http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os as the base url. -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP <[EMAIL PROTECTED]> http://mark.foster.cc/ ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] virt-install in CentOS 5
Hi All, [I originally posted this message in the main CentOS users' list, but later found this list. So, I'm reposting it here since this is where it belongs.] I'm trying to install a Fedora 8 domU on a CentOS 5 dom0, but the following command fails: [EMAIL PROTECTED] ~]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8 -f /dev/vg00/krs -d Starting install... Sat, 08 Mar 2008 12:27:56 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8//Fedora Sat, 08 Mar 2008 12:27:56 DEBUGSaved file to /var/lib/xen/virtinst-Fedora.VhrSOC Retrieving Fedora... 100% |=| 965 B 00:00 Sat, 08 Mar 2008 12:27:56 DEBUGDetected a Fedora distro Sat, 08 Mar 2008 12:27:56 DEBUGFetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/images/xen/vmlinuz ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Not Found I have no idea why virt-install is looking for the xen kernel in http://10.19.75.200/mirror/fedora/linux/releases/8/images/xen/vmlinuz : it's actually here: http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/images/xen/ I've used the above syntax to install CentOS 5 domUs on the same host without any problems. What gives? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 20:51:42 up 4 days, 9:58, 2 users, load average: 1.23, 0.63, 0.48 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt