WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Michael March" <mmarch@xxxxxxxxx>
Subject: Re: [Xen-users] Trying to create a domU under a 'fresh' install of RHEL5 / virt-manager..
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Q9w207TGRM+tte0gL68XKf1q4VW2izQINu/ddqsDlis=; b=Ep7Szxird7rnjCJ7dqos4uRZuTZCFoEc/9z316/jxCnPd8Y5+qtB3lgoAXaSicbjiA xds6fzeRrDfqUHJsiACHTiFmBJaClFrTntyMsHqJSm4iIZ3aazdViGaNmnAbdloJa1Op fj9PbX+OrP6N34ZuGTnnCI3bEnMMnvWrfKDHs=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48bc40670806021119w1b54a9g560852e5ff2751c2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <48bc40670806021119w1b54a9g560852e5ff2751c2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Trying to create a domU under a 'fresh' install of RHEL5 / virt-manager.., tmac <=