[one-users] need network and host template for xen

Nikola Garafolic nikola.garafolic at srce.hr
Fri Feb 5 06:09:16 PST 2010


Well, thanks for info, but still have some problems with ebtables.
Its installed on nodes, sudo is setup ok (I dont get why it asks for 
password when ebtables is set in sudo.), but vm.log shows this:


Fri Feb  5 15:05:27 2010 [HKM][I]: Command execution fail: 
'share/hooks/ebtables-xen one-42'
Fri Feb  5 15:05:27 2010 [HKM][I]: STDERR follows.
Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
Fri Feb  5 15:05:27 2010 [HKM][I]: share/hooks/ebtables-xen:33:in 
`get_bridges': undefined method `each' for nil:NilClass (NoMethodError)
Fri Feb  5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:47:in 
`get_interfaces'
Fri Feb  5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:58
Fri Feb  5 15:05:27 2010 [HKM][I]: ExitCode: 1
Fri Feb  5 15:05:27 2010 [HKM][E]: Error executing Hook: ebtables-start.

Regards,
Nikola

Nikola Milutinović wrote:
> On 2/1/2010 3:59 PM, Nikola Garafolic wrote:
>> Please, someone provide me with sample template for network and host for
>> xen. I cannot seem to get networking working, context is killing me.
>>    
> 
> Hi.
> 
> This is what we have been using:
> 
> MEMORY=256
> CPU=1
> REQUIREMENTS = "HYPERVISOR = 'xen'"
> RANK = FREECPU
> 
> OS = [
>     bootloader      = "/usr/lib/xen-3.2-1/bin/pygrub"
> ]
> 
> DISK = [
>     source  = "/srv/cloud/images/xen.net/debian.5-0.x86.img",
>     target  = "sda1",
>     clone   = "yes",
>     save    = "yes"
> ]
> 
> NIC = [
>     bridge = "eth0"
> ]
> 
> NIC = [
>     bridge  = "eth1"
> ]
> 
> CONTEXT = [
> ...
> ]
> 
> Now, I must admit that we have tried to use HVM loader, but have been 
> failing, so we switched to using some image package from the net. I'm 
> not sure what the problem was with HVM, but I suspect that Xen is very, 
> very picky. I also believe that if we installed fresh HVM instances, 
> instead of trying to run converted VMWare images, we would have made 
> some progress.
> 
> Nix.


-- 
Nikola Garafolic
SRCE, Sveucilisni racunski centar
tel: +385 1 6165 804
email: nikola.garafolic at srce.hr





More information about the Users mailing list