Joe Linoff
2010-Dec-06 21:18 UTC
[Xen-users] XCP 1.0 beta - domU boot: unable to retrieve network based images
Hi Folks: Please help if you can. I am stuck. I am trying to do a network based install of a CentOS 5.5 (64 bit) image using XCP 1.0 and got this error: I have verified that the network images can be accessed on other hosts. Then I tried doing the same install with XCP 0.5 and got the same error which means that I am probably missing some simple, fundamental step. Maybe I am using the wrong UUID in one of the steps. Here is what I did to create the VM. What am I doing wrong? Please note that this work was done on a master (10.45.2.1) that communicates with the XCP host (10.45.2.100). [root@tcc-lab-2 bin]# xe vm-install template=''CentOS 5.5 (64-bit)'' new-name-label=''vm001'' -s 10.45.2.100 -pw test 1483ac54-4cf0-23c4-ec96-05b0db1b853a [root@tcc-lab-2 bin]# xe network-list bridge=xenbr0 --minimal -s 10.45.2.100 -pw test 8d77c968-f362-befa-fc57-92d63d656e1d [root@tcc-lab-2 bin]# xe vif-create network-uuid=8d77c968-f362-befa-fc57-92d63d656e1d vm-uuid=1483ac54-4cf0-23c4-ec96-05b0db1b853a device=0 -s 10.45.2.100 -pw test 3a94364e-a4de-ca43-26a2-686e0e28ae8f [root@tcc-lab-2 bin]# xe vm-param-set uuid=1483ac54-4cf0-23c4-ec96-05b0db1b853a other-config:install-repository=http://10.45.2.1/tcc/os/CentOS-5.5-x86_6 4 -s 10.45.2.100 -pw test [root@tcc-lab-2 bin]# xe vm-start uuid=1483ac54-4cf0-23c4-ec96-05b0db1b853a -s 10.45.2.100 -pw test [root@tcc-lab-2 bin]# xe vm-list -s 10.45.2.100 -pw test uuid ( RO) : f32bcb5b-f55f-419a-8d08-7f9d1b3f0833 name-label ( RW): Control domain on host: tcc-lab-2-xcp01 power-state ( RO): running uuid ( RO) : 1483ac54-4cf0-23c4-ec96-05b0db1b853a name-label ( RW): vm001 power-state ( RO): running uuid ( RO) : 0409c60f-d209-1105-e884-9a25dd238430 name-label ( RW): vm001 power-state ( RO): halted # The following commands were provided by Mike McClurg from Citrix. [root@tcc-lab-1 bin]# ssh root@10.45.2.100 xe vm-list name-label=vm001 params=dom-id -minimal root@10.45.2.100''s password: 1,-1 # XCP 0.5 1 # XCP 1.0 beta [root@tcc-lab-2 bin]# ssh root@10.45.2.100 xenstore-read /local/domain/1/serial/0/vnc-port root@10.45.2.100''s password: 5901 [root@tcc-lab-2 bin]# vncviewer -via root@10.45.2.100 localhost::5901 root@10.45.2.100''s password: Thanks, Joe _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2010-Dec-07 04:45 UTC
Re: [Xen-users] XCP 1.0 beta - domU boot: unable to retrieve network based images
On Mon, Dec 6, 2010 at 4:18 PM, Joe Linoff <jlinoff@tabula.com> wrote:> Hi Folks: > > > > Please help if you can. I am stuck. I am trying to do a network based > install of a CentOS 5.5 (64 bit) image using XCP 1.0 and got this error: > > > > > > I have verified that the network images can be accessed on other hosts. > Then I tried doing the same install with XCP 0.5 and got the same error > which means that I am probably missing some simple, fundamental step. Maybe > I am using the wrong UUID in one of the steps. > > >One possible helpful reference: http://www.xen.org/files/XenCloud/guest.pdf I''ve installed from the Clarkson mirror successfully, this is the URL that I use: http://mirror.clarkson.edu/centos/5.5/os/x86_64/ Typically, I install with openxenmanager or xenwebmanager. Have you tried those? One other thing to check is that your VM is connected to the right network. Hope that helps. Thanks, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joe Linoff
2010-Dec-07 18:14 UTC
RE: [Xen-users] XCP 1.0 beta - domU boot: unable to retrieve network based images
Hi Todd: Thank you for your help.> One possible helpful reference:http://www.xen.org/files/XenCloud/guest.pdf Yup, I have read that document. Unfortunately, at item 6 on page 26 it says "VNC and perform the OS installation" which is where I got stuck.> I''ve installed from the Clarkson mirror successfully, this is the URLthat I use: http://mirror.clarkson.edu/centos/5.5/os/x86_64/ Great, I will try that.> Typically, I install with openxenmanager or xenwebmanager. Have youtried those? Nope but I will try them today.> One other thing to check is that your VM is connected to the rightnetwork. That is a great suggestion and is probably the source of the problem. Unfortunately don''t know how to do that. I have verified that the dom0 VM server is on the right network but how can I check the domU VM while it is booting?> Hope that helps.It does. Thank you again for taking the time. Cheers, Joe From: deshantm@gmail.com [mailto:deshantm@gmail.com] On Behalf Of Todd Deshane Sent: Monday, December 06, 2010 8:45 PM To: Joe Linoff Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] XCP 1.0 beta - domU boot: unable to retrieve network based images On Mon, Dec 6, 2010 at 4:18 PM, Joe Linoff<jlinoff@tabula.com>wrote: Hi Folks: Please help if you can. I am stuck. I am trying to do a network based install of a CentOS 5.5 (64 bit) image using XCP 1.0 and got this error: I have verified that the network images can be accessed on other hosts. Then I tried doing the same install with XCP 0.5 and got the same error which means that I am probably missing some simple, fundamental step. Maybe I am using the wrong UUID in one of the steps. One possible helpful reference: http://www.xen.org/files/XenCloud/guest.pdf I''ve installed from the Clarkson mirror successfully, this is the URL that I use: http://mirror.clarkson.edu/centos/5.5/os/x86_64/ Typically, I install with openxenmanager or xenwebmanager. Have you tried those? One other thing to check is that your VM is connected to the right network. Hope that helps. Thanks, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2010-Dec-07 18:24 UTC
Re: [Xen-users] XCP 1.0 beta - domU boot: unable to retrieve network based images
On Tue, Dec 7, 2010 at 1:14 PM, Joe Linoff <jlinoff@tabula.com> wrote:> > One other thing to check is that your VM is connected to the right network. > > That is a great suggestion and is probably the source of the problem. Unfortunately don’t know how to do that. I have verified that the dom0 VM server is on the right network but how can I check the domU VM while it is booting?The most low-level was is to use the command brctl show. There are Open vSwitch commands and xapi (xe) calls, etc. but that is a lesson for another day. OpenXenManager and other tools will have a graphical way to view the network settings. Hope that helps. Thanks, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users