[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Trying to create a domU under a 'fresh' install of RHEL5 / virt-manager..


  • To: "Michael March" <mmarch@xxxxxxxxx>
  • From: tmac <tmacmd@xxxxxxxxx>
  • Date: Thu, 24 Jul 2008 00:25:12 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 23 Jul 2008 21:25:45 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=smIKIKufpiKjTfqag7bSood+wEVb5unCHsujpAy72CC2asAksnaLFjxUWZ0QBvkqrM 31H8F2CYzWP1YduAU4QIGeFCcsFaFB0apQS7y5o0DWOYbRSpD6Qcj+gT4/zKunGsSx0G Fd76b5ksdsD6bRvRz6LBTFy35tM3RGyf5aZF4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.