Michael March
2008-Jun-02 18:19 UTC
[Xen-users] Trying to create a domU under a ''fresh'' install of RHEL5 / virt-manager..
I''m trying to create a *VERY SIMPLE* domU under RedHat 5.2 using virt-manager. It looks like the networks is sort of working for the kernel image is being pulled ovedr the network: ==> access_log <=192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET /virt/os/linux/RHEL/5_2/x86_64//Server/ HTTP/1.1" 200 697313 "-" "urlgrabber/3.1.0" 192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET /virt/os/linux/RHEL/5_2/x86_64//images/xen/vmlinuz HTTP/1.1" 200 1963165 "-" "urlgrabber/3.1.0" 192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET /virt/os/linux/RHEL/5_2/x86_64//images/xen/initrd.img HTTP/1.1" 200 5938853 "-" "urlgrabber/3.1.0" However.. when it tries to grab the kickstart image.. here''s what happens: 18:11:52 ERROR : no DNS server, can''t look up hostname 18:11:52 INFO : doing kickstart... setting it up 18:11:52 WARNING : reverse name lookup failed 18:11:52 INFO : file location: http://192.168.150.6/virt/kickstart/test-2.cfg 18:11:52 INFO : transferring http://192.168.150.6/virt/kickstart/test-2.cfg to a fd 18:11:52 ERROR : failed to retreive http://192.168.150.6/virt/kickstart/test-2.cfg -- <admiral> Michael F. March ----- mmarch at gmail dot com "Seriously" - HSR _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tmac
2008-Jul-24 04:25 UTC
Re: [Xen-users] Trying to create a domU under a ''fresh'' install of RHEL5 / virt-manager..
My fix was to do something like this.... using the virt-install command (NOT the gui, virt-manager), i had to utilize: --extra-args so virt-install (all the normal args here) --extra-args="ip=x.y.z.a netmask=255.255.255.0 gw=x.y.z.254" The wrapper (virt-install) will tack on the ks=http://192.168.150.6/virt/kickstart/test-2.cfg as well. This was the "only" way for me to get it to work. I also had change all NFSreferences to either http or ftp and in the %post of the kickstart, instead of NFS mounting, I used wget ftp://path/to/file to get everything I needed. --tmac RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer #805007643429572 (RHEL5) Principal Consultant On Mon, Jun 2, 2008 at 2:19 PM, Michael March <mmarch@gmail.com> wrote:> I''m trying to create a *VERY SIMPLE* domU under RedHat 5.2 using > virt-manager. It looks like the networks is sort of working for the > kernel image is being pulled ovedr the network: > > ==> access_log <=> 192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET > /virt/os/linux/RHEL/5_2/x86_64//Server/ HTTP/1.1" 200 697313 "-" > "urlgrabber/3.1.0" > 192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET > /virt/os/linux/RHEL/5_2/x86_64//images/xen/vmlinuz HTTP/1.1" 200 > 1963165 "-" "urlgrabber/3.1.0" > 192.168.150.6 - - [02/Jun/2008:14:10:57 -0400] "GET > /virt/os/linux/RHEL/5_2/x86_64//images/xen/initrd.img HTTP/1.1" 200 > 5938853 "-" "urlgrabber/3.1.0" > > However.. when it tries to grab the kickstart image.. here''s what happens: > > 18:11:52 ERROR : no DNS server, can''t look up hostname > 18:11:52 INFO : doing kickstart... setting it up > 18:11:52 WARNING : reverse name lookup failed > 18:11:52 INFO : file location: http://192.168.150.6/virt/kickstart/test-2.cfg > 18:11:52 INFO : transferring > http://192.168.150.6/virt/kickstart/test-2.cfg to a fd > 18:11:52 ERROR : failed to retreive > http://192.168.150.6/virt/kickstart/test-2.cfg > > -- > <admiral> > > Michael F. March ----- mmarch at gmail dot com > > "Seriously" - HSR > > _______________________________________________ > 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