hi, I am using the following xen config file to install a virtual machine using kickstart. command is : "xm create vm1-inst -c" It says unable to load the kickstart file. What might be the issue. -- kernel = "/boot/vm-inst/vmlinuz" ramdisk = "/boot/vm-inst/initrd.img" name = "vm1-inst" memory = 512 disk = [ ''phy:/dev/vgraid/vm-root,xvda,w'', ] vif = [''bridge=xenbr0'', ] vcpus = 1 ip = ''10.42.250.4'' netmask = ''255.255.0.0'' gateway = ''10.42.0.1'' extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" --- This is where I have refereed. http://www.clubnix.net/index.php/Getting_Started:_Virtualisation_with_Xen_on_CentOS_using_Kickstart Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting "Paras pradhan" <pradhanparas@gmail.com>:> hi, > > I am using the following xen config file to install a virtual machine > using kickstart. command is : "xm create vm1-inst -c" It says unable > to load the kickstart file. What might be the issue.Hello Paras, Stupid questions, but gotta'' ask. :) Are your permissions on the webserver allowing you to get to the file? Can you browse to it with a browser? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 4, 2009 at 10:59 AM, <jonr@destar.net> wrote:> Quoting "Paras pradhan" <pradhanparas@gmail.com>: > >> hi, >> >> I am using the following xen config file to install a virtual machine >> using kickstart. command is : "xm create vm1-inst -c" It says unable >> to load the kickstart file. What might be the issue. > > Hello Paras, > > Stupid questions, but gotta'' ask. :) > > Are your permissions on the webserver allowing you to get to the file? Can > you browse to it with a browser?Yes its accessible from a browser.> > Jon > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting "Paras pradhan" <pradhanparas@gmail.com>:> On Wed, Mar 4, 2009 at 10:59 AM, <jonr@destar.net> wrote: >> Quoting "Paras pradhan" <pradhanparas@gmail.com>: >> >>> hi, >>> >>> I am using the following xen config file to install a virtual machine >>> using kickstart. command is : "xm create vm1-inst -c" It says unable >>> to load the kickstart file. What might be the issue. >> >> Hello Paras, >> >> Stupid questions, but gotta'' ask. :) >> >> Are your permissions on the webserver allowing you to get to the file? Can >> you browse to it with a browser? > > Yes its accessible from a browser. >OK, is the format in the file wrong, is it a correct. What are the logs telling you when it tries to connect? Did your extra line get wrapped in this email, is it on one line in your config? And finally, is the IP right in your config and extra line? It looks like you are trying to pull the ks file from the new VM you are creating. Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 4, 2009 at 11:17 AM, <jonr@destar.net> wrote:> Quoting "Paras pradhan" <pradhanparas@gmail.com>: > >> On Wed, Mar 4, 2009 at 10:59 AM, <jonr@destar.net> wrote: >>> >>> Quoting "Paras pradhan" <pradhanparas@gmail.com>: >>> >>>> hi, >>>> >>>> I am using the following xen config file to install a virtual machine >>>> using kickstart. command is : "xm create vm1-inst -c" It says unable >>>> to load the kickstart file. What might be the issue. >>> >>> Hello Paras, >>> >>> Stupid questions, but gotta'' ask. :) >>> >>> Are your permissions on the webserver allowing you to get to the file? >>> Can >>> you browse to it with a browser? >> >> Yes its accessible from a browser. >> > > OK, is the format in the file wrong, is it a correct. What are the logs > telling you when it tries to connect?I didn''t see anything intresting in xend.log Did your extra line get wrapped in> this email, is it on one line in your config?Yes it got wrapped in this email. Its a single line . And finally, is the IP right> in your config and extra line? It looks like you are trying to pull the ks > file from the new VM you are creating.in extra line, mydomain in my external web server in my network.> > Jon > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I am have some doubt on dns resolution. the vm took the IP but not sure if it took the dns or not. Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paras pradhan wrote:> hi, > > I am using the following xen config file to install a virtual machine > using kickstart. command is : "xm create vm1-inst -c" It says unable > to load the kickstart file. What might be the issue. > > extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg > ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >Is the url really "http://mydomain/ks..."? If it is then you probably should replace "mydomain" with a fully qualified domain -- the dns settings don''t (and I believe, cant) specify a default domain. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 4, 2009 at 11:51 AM, John Haxby <john.haxby@oracle.com> wrote:> Paras pradhan wrote: >> >> hi, >> >> I am using the following xen config file to install a virtual machine >> using kickstart. command is : "xm create vm1-inst -c" It says unable >> to load the kickstart file. What might be the issue. >> >> extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg >> ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >> > > Is the url really "http://mydomain/ks..."? If it is then you probablyThat was just an example. I am using FQDN.> should replace "mydomain" with a fully qualified domain -- the dns settings > don''t (and I believe, cant) specify a default domain. > > jch >Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paras pradhan wrote:> On Wed, Mar 4, 2009 at 11:51 AM, John Haxby <john.haxby@oracle.com> wrote: > >> Paras pradhan wrote: >> >>> extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg >>> ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >>> >>> >> Is the url really "http://mydomain/ks..."? If it is then you probably >> > > That was just an example. I am using FQDN. >That''s the problem with edited examples :-) Regardless, I''d start by looking in the web server logs and if there''s nothing there, break out wireshark. If that doesn''t show anything then your network isn''t being set up. I''m not entirely sure if the ip=... parameters are honoured by the centos kernel, you may want to move the IP configuration into the extra line so that the kernel can pick them up from there. Either that or configure a dhcp server so that the kernel can configure itself early. Might also be worth swapping the domain name for an IP address. jch jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
A few things things that you may try: 1. Don''t use the FQDN, use the IP of the webserver. I found the DNS argument in the extra line rarely works. 2. is the routing between xen guest and webserver right. Are there and firewall issues? 3. is the url spelt correctly? Have you missed any case-sensitivity in the path? Those are the things that usually trip me up. Tom 2009/3/4 John Haxby <john.haxby@oracle.com>> Paras pradhan wrote: > >> On Wed, Mar 4, 2009 at 11:51 AM, John Haxby <john.haxby@oracle.com> >> wrote: >> >> >>> Paras pradhan wrote: >>> >>> >>>> extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg >>>> ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >>>> >>>> >>>> >>> Is the url really "http://mydomain/ks..."? If it is then you probably >>> >>> >> >> That was just an example. I am using FQDN. >> >> > > That''s the problem with edited examples :-) > > Regardless, I''d start by looking in the web server logs and if there''s > nothing there, break out wireshark. If that doesn''t show anything then your > network isn''t being set up. I''m not entirely sure if the ip=... parameters > are honoured by the centos kernel, you may want to move the IP configuration > into the extra line so that the kernel can pick them up from there. Either > that or configure a dhcp server so that the kernel can configure itself > early. Might also be worth swapping the domain name for an IP address. > > jch > > jch > > > _______________________________________________ > 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
On Wed, Mar 4, 2009 at 2:18 PM, Tom <tom.ashley@gmail.com> wrote:> A few things things that you may try: > 1. Don''t use the FQDN, use the IP of the webserver. I found the DNS argumentEven this is not working.> in the extra line rarely works. > 2. is the routing between xen guest and webserver right. Are there and > firewall issues?No firewall> 3. is the url spelt correctly? Have you missed any case-sensitivity in the > path? >Yes its spelt correctly> Those are the things that usually trip me up. > > Tom > > 2009/3/4 John Haxby <john.haxby@oracle.com> >> >> Paras pradhan wrote: >>> >>> On Wed, Mar 4, 2009 at 11:51 AM, John Haxby <john.haxby@oracle.com> >>> wrote: >>> >>>> >>>> Paras pradhan wrote: >>>> >>>>> >>>>> extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg >>>>> ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >>>>> >>>>> >>>> >>>> Is the url really "http://mydomain/ks..."? If it is then you probably >>>> >>> >>> That was just an example. I am using FQDN. >>> >> >> That''s the problem with edited examples :-) >> >> Regardless, I''d start by looking in the web server logs and if there''s >> nothing there, break out wireshark. If that doesn''t show anything then your >> network isn''t being set up. I''m not entirely sure if the ip=... parameters >> are honoured by the centos kernel, you may want to move the IP configuration >> into the extra line so that the kernel can pick them up from there. Either >> that or configure a dhcp server so that the kernel can configure itself >> early. Might also be worth swapping the domain name for an IP address. >> >> jch >> >> jch >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >I have a similar machine with different xen version in another machine and same thing works over there. This machine is giving me trouble. Here are the packages in the problematic machine -- [root@vm-ext1 init.d]# rpm -qa |grep xen kernel-xen-2.6.18-92.el5 kernel-xen-devel-2.6.18-92.1.22.el5 xen-libs-3.0.3-64.el5_2.9 kernel-xen-2.6.18-92.1.22.el5 xen-3.0.3-64.el5_2.9 [root@vm-ext1 init.d]# -- uname -a returns: Linux vm-ext1 2.6.18-92.1.22.el5xen #1 SMP Tue Dec 16 12:26:32 EST 2008 x86_64 x86_64 x86_64 GNU/Linux I am totally confused. Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 4, 2009 at 5:34 PM, Paras pradhan <pradhanparas@gmail.com> wrote:> On Wed, Mar 4, 2009 at 2:18 PM, Tom <tom.ashley@gmail.com> wrote: >> A few things things that you may try: >> 1. Don''t use the FQDN, use the IP of the webserver. I found the DNS argument > > Even this is not working. > >> in the extra line rarely works. >> 2. is the routing between xen guest and webserver right. Are there and >> firewall issues? > > No firewall > >> 3. is the url spelt correctly? Have you missed any case-sensitivity in the >> path? >> > > Yes its spelt correctly > > >> Those are the things that usually trip me up. >> >> Tom >> >> 2009/3/4 John Haxby <john.haxby@oracle.com> >>> >>> Paras pradhan wrote: >>>> >>>> On Wed, Mar 4, 2009 at 11:51 AM, John Haxby <john.haxby@oracle.com> >>>> wrote: >>>> >>>>> >>>>> Paras pradhan wrote: >>>>> >>>>>> >>>>>> extra = "text ks=http://mydomain/ks/centos/5/message-vm1.cfg >>>>>> ip=10.42.250.4 netmask=255.255.0.0 gateway=10.42.0.1 dns=x.x.x.x" >>>>>> >>>>>> >>>>> >>>>> Is the url really "http://mydomain/ks..."? If it is then you probably >>>>> >>>> >>>> That was just an example. I am using FQDN. >>>> >>> >>> That''s the problem with edited examples :-) >>> >>> Regardless, I''d start by looking in the web server logs and if there''s >>> nothing there, break out wireshark. If that doesn''t show anything then your >>> network isn''t being set up. I''m not entirely sure if the ip=... parameters >>> are honoured by the centos kernel, you may want to move the IP configuration >>> into the extra line so that the kernel can pick them up from there. Either >>> that or configure a dhcp server so that the kernel can configure itself >>> early. Might also be worth swapping the domain name for an IP address. >>> >>> jch >>> >>> jch >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >> > > > > I have a similar machine with different xen version in another machine > and same thing works over there. This machine is giving me trouble. > > Here are the packages in the problematic machine > > -- > [root@vm-ext1 init.d]# rpm -qa |grep xen > kernel-xen-2.6.18-92.el5 > kernel-xen-devel-2.6.18-92.1.22.el5 > xen-libs-3.0.3-64.el5_2.9 > kernel-xen-2.6.18-92.1.22.el5 > xen-3.0.3-64.el5_2.9 > [root@vm-ext1 init.d]# > > -- > > uname -a returns: Linux vm-ext1 2.6.18-92.1.22.el5xen #1 SMP Tue Dec > 16 12:26:32 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > I am totally confused. > > > Paras. >This got resolved. It was a tcp checksum problem. More info: http://wiki.wireshark.org/TCP_checksum_offload Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users