new2xen
2008-Mar-02 14:17 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
I''ve not gone completly mad... but I''m getting there..... I have been trying to get a VM under a XEN-CentOS5.1 installation and its not having any of it! I first looked for help in the http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12946 CentOS forums but have currently had no reply. (sorry for linking to the details outside of this forum) Basically - I have a fully patched, clean install (XEN up and running) and have been following a few web based forums, blogs and user guides; all with out luck.. Any advise or guidance would be very much appreciated. Thanks in advance... -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15764149.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2008-Mar-02 17:12 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
You should explain what you did so far and where you are stuck right now. Only then we would be able to help you. How r u creating guest OS? Using virt-manager or virt-install? --Sadique new2xen wrote:> I''ve not gone completly mad... but I''m getting there..... > > I have been trying to get a VM under a XEN-CentOS5.1 installation and its > not having any of it! > > I first looked for help in the > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12946 CentOS > forums but have currently had no reply. > (sorry for linking to the details outside of this forum) > > Basically - I have a fully patched, clean install (XEN up and running) and > have been following a few web based forums, blogs and user guides; all with > out luck.. > > Any advise or guidance would be very much appreciated. > > Thanks in advance... >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
new2xen
2008-Mar-02 20:24 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Sadique, A fully history is here: (let me know if you''d prefer me to repost it) http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12946 I''m starting from a fresh patched CentOs 5.1 with XEN configured as part of the installer. I have tried using both the VM Manager and XM create - neither of which seem to work; I guess that I''m missing a basic Let me know if you need more info (and thanks). Colin -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15792605.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Horsley
2008-Mar-02 21:35 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
On Sun, 2 Mar 2008 12:24:31 -0800 (PST) new2xen <colinking@lineone.net> wrote:> I have tried using both the VM Manager and XM create - neither of which seem > to work; I guess that I''m missing a basicI was just experimenting with centos on centos paravirt images and kept getting the same invalid install source messages. I was trying to install from a loopback mounted centos DVD iso image, and I finally noticed errors about loop problems mounting on some silly path virt-manager was trying to use internally. I figured it must be trying to loopback mount the thing I''ve already loopback mounted and that was giving it indigestion. I started apache, mounted the DVD image under /var/www/html, then pointed virt-manager at the http://localhost/centos/ tree, and that made it happy - it was able to install via http. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
new2xen
2008-Mar-03 18:01 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Was it really that simple.... Its taken me weeks to do just write: cd /var/www/html ln -s /media/CentOS_5.1_Final virt-manager Now what was I trying to do again......... Thanks you very much. -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15809710.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
new2xen
2008-Mar-03 20:49 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Although starting off well - I''m now hitting "Unable to retrieve http://127.0.0.1/CentOS_5.1_Final/images/stage2.img " Reading up a little I have found the using 127.0.0.1 is a bit of a no-no; so have changed to use the actual IP address; but the problem is the same. Also read that "ln -s" isn''t great either so I have not tried to mount via: mount -t iso9660 -o ro /dev/cdrom /var/www/html/CentOS Which seems to work (the mounting part) same problem though. Now - when I first did this I hit: "Unable to retreive http:/127.0.0.1/images/minstg2.img" but this just went away after a few attempts and moved onto "stage2.img"... I have not tried to copy the whole DVD under /var/www/html - perhaps I should! any ideas? -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15813515.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Evan Lavelle
2008-Mar-03 22:43 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
new2xen wrote:> Although starting off well - I''m now hitting > > "Unable to retrieve http://127.0.0.1/CentOS_5.1_Final/images/stage2.img " > > Reading up a little I have found the using 127.0.0.1 is a bit of a no-no; so > have changed to use the actual IP address; but the problem is the same. > > Also read that "ln -s" isn''t great either so I have not tried to mount via: > > mount -t iso9660 -o ro /dev/cdrom /var/www/html/CentOS > > Which seems to work (the mounting part) same problem though. > > Now - when I first did this I hit: "Unable to retreive > http:/127.0.0.1/images/minstg2.img" but this just went away after a few > attempts and moved onto "stage2.img"... > > I have not tried to copy the whole DVD under /var/www/html - perhaps I > should!No, don''t do that. Look at: http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ That''s the top level of an Anaconda install tree. Can you point your web browser at anything on your *local* network that looks like that? If you can, then give that URL to virt-install/manager/whatever. If you can''t: 1) mount your DVD in it''s normal location, as given by /etc/fstab; let''s say it''s ''/media/dvd''. when you ''ls'' it, it should look like the URL above. 2) Find the directory Apache serves files from, go to it. Create a symlink in this directory to ''/media/dvd'': > ln -s /media/dvd MYDVD When you ''ls'' MYDVD, it should look like the URL above. 3) Browse to ''http://127.0.0.l/MYDVD''. This should look like the URL above. 4) Start virt-install, supply ''http://127.0.0.1/MYDVD''. I''ve only done this between two machines, rather than using 127.0.0.1, but I''d be surprised if 127.0.0.1 doesn''t work. You need to paste the error messages you get, and the commands you try, *exactly*. Your commands and error messages don''t make sense. Evan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
new2xen
2008-Mar-03 23:35 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Thanks for the input..... I''ll try to provide better descriptions in the future. The installation tree looks very similar to that of the DVD root..... When I: "ln -s /media/CentOS_5.1_Final /var/www/html/dvd" I can see it at "http://127.0.0.1/dvd". So running virt-manager: System Name: CentOS Method: Paravirtualized Media: http://127.0.0.1/dvd Simple File: /var/lib/xen/images/CentOS.img (4000mb) Network: Shared Physical Device (xenbro) Allocations: min: 512, max: 1024 vcpu: 1 (actual total: 4096, 4 - domU is using 2048, 2) Creates Storage: OK Creates Domain: OK Starts VM Console: OK Language: English Keyboard: UK Network: defaults (dynamic IPv4/6 - I have DHCP running on Router) Error: "Unable to retreive http://127.0.0.1//dvd/images/stage2.img" or even Error: "Unable to retreive http://192.168.0.123//dvd/images/stage2.img" There is a similar message from the fedora6 OS supplied "Unable to retrieve http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os//images/stage2.img" Is there a difference between the DVD and an installation tree, and what am I missing?? (Thanks for you time....) -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15816872.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2008-Mar-04 07:21 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Evan Lavelle wrote:> new2xen wrote: >> Although starting off well - I''m now hitting >> >> "Unable to retrieve >> http://127.0.0.1/CentOS_5.1_Final/images/stage2.img " >> >> Reading up a little I have found the using 127.0.0.1 is a bit of a >> no-no; so >> have changed to use the actual IP address; but the problem is the same. >> >> Also read that "ln -s" isn''t great either so I have not tried to >> mount via: >> >> mount -t iso9660 -o ro /dev/cdrom /var/www/html/CentOS >> >> Which seems to work (the mounting part) same problem though. >> >> Now - when I first did this I hit: "Unable to retreive >> http:/127.0.0.1/images/minstg2.img" but this just went away after a few >> attempts and moved onto "stage2.img"... >> >> I have not tried to copy the whole DVD under /var/www/html - perhaps I >> should! > > No, don''t do that. Look at: > > http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ > > That''s the top level of an Anaconda install tree. > > Can you point your web browser at anything on your *local* network > that looks like that? If you can, then give that URL to > virt-install/manager/whatever. If you can''t: > > 1) mount your DVD in it''s normal location, as given by /etc/fstab; > let''s say it''s ''/media/dvd''. when you ''ls'' it, it should look like the > URL above. > > 2) Find the directory Apache serves files from, go to it. Create a > symlink in this directory to ''/media/dvd'': > > > ln -s /media/dvd MYDVD > > When you ''ls'' MYDVD, it should look like the URL above. > > 3) Browse to ''http://127.0.0.l/MYDVD''. This should look like the URL > above. > > 4) Start virt-install, supply ''http://127.0.0.1/MYDVD''.You should never give 127.0.0.1 to the virt-install/virt-manager. It would start up the installation, but wouldn''t continue further. The problem is that after the installation is started up, anaconda in the guests looks for the distribution at 127.0.0.1 which is local to the guest and there won''t be an installation tree available there. You should always give the ip address of dom0 instead of 127.0.0.1. --Sadique> I''ve only done this between two machines, rather than using 127.0.0.1, > but I''d be surprised if 127.0.0.1 doesn''t work. > > You need to paste the error messages you get, and the commands you > try, *exactly*. Your commands and error messages don''t make sense. > > Evan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2008-Mar-04 07:22 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
new2xen wrote:> Thanks for the input..... I''ll try to provide better descriptions in the > future. > > The installation tree looks very similar to that of the DVD root..... > > When I: "ln -s /media/CentOS_5.1_Final /var/www/html/dvd" I can see it at > "http://127.0.0.1/dvd". > > So running virt-manager: > > System Name: CentOS > Method: Paravirtualized > Media: http://127.0.0.1/dvd > Simple File: /var/lib/xen/images/CentOS.img (4000mb) > Network: Shared Physical Device (xenbro) > Allocations: min: 512, max: 1024 vcpu: 1 (actual total: 4096, 4 - domU is > using 2048, 2) > > Creates Storage: OK > Creates Domain: OK > Starts VM Console: OK > > Language: English > Keyboard: UK > Network: defaults (dynamic IPv4/6 - I have DHCP running on Router) > > Error: "Unable to retreive http://127.0.0.1//dvd/images/stage2.img" > or even > Error: "Unable to retreive http://192.168.0.123//dvd/images/stage2.img" >As for your problem, it looks like a networking issue in the guest and it''s not able to communicate with dom0''s ip. How did you configure the networking in the guest? Via DHCP or statically? --Sadique> There is a similar message from the fedora6 OS supplied > "Unable to retrieve > http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os//images/stage2.img" > > Is there a difference between the DVD and an installation tree, and what am > I missing?? > > (Thanks for you time....) > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
new2xen
2008-Mar-05 01:22 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
Not using 127.0.0.1 makes complete sense.... I have got it working; would you believe I had used up all the free DHCP IP address trying to get it work??!!!!! I did hit a major issue that may need some investigation: I have recently received and installed a few new patches (via the auto updater) which once applied has the affect to removing the "Shared Physical Device - xenbr0" from the VM Manager options... very odd. I have rebuild and have XEN working with a single CentOS 5.1 guest - I now have the 35 updates to apply.... I''ll post again if I get the same issue.... In the event all being well - Thank you all very much for your time. Colin. -- View this message in context: http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15841040.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bob Gamble
2008-Mar-06 00:32 UTC
Re: [Xen-users] Xen: invalid source and/or image destination
I have the same problem with centos 5.1...that is not having the xenbr0 option when using virt-manager. I originally installed a windows OS and it did give me the option, obviously with a fully virtualized system. However, after updating the host system a couple days ago, the xenbr0 option is gone. The only option I have is using a virtual network that assigns virbr0 and that doesn''t work. Any one else seeing this and have a solution? Thank you. On Wed, Mar 5, 2008 at 4:22 PM, new2xen <colinking@lineone.net> wrote:> > Not using 127.0.0.1 makes complete sense.... > > I have got it working; would you believe I had used up all the free DHCP > IP > address trying to get it work??!!!!! > > I did hit a major issue that may need some investigation: I have recently > received and installed a few new patches (via the auto updater) which once > applied has the affect to removing the "Shared Physical Device - xenbr0" > from the VM Manager options... very odd. > > I have rebuild and have XEN working with a single CentOS 5.1 guest - I now > have the 35 updates to apply.... I''ll post again if I get the same > issue.... > > In the event all being well - Thank you all very much for your time. > > Colin. > -- > View this message in context: > http://www.nabble.com/Re%3A-Xen%3A-invalid-source-and-or-image-destination-tp15764149p15841040.html > Sent from the Xen - User mailing list archive at Nabble.com. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users