Ok, i found the solution:

the new host is on ubuntu 14.04 and the old ones was ubuntu 13.04

this seems to work a little different with agent configuration

in 13.04 I got:

guest.network.device=cloudbr1
private.network.device=cloudbr0
network.bridge.type=openvswitch
public.network.device=cloudbr1

but in 14.04 it needs to be:

guest.network.device=cloudbr1
private.network.device=management
network.bridge.type=openvswitch
storage.network.device=storage
public.network.device=cloudbr1

This is network config in hosts:

===================
auto em1
iface em1 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down

auto em4
iface em4 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down

auto em2
iface em2 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down

auto em3
iface em3 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down

auto cloudbr0
iface cloudbr0 inet manual
        up ifconfig $IFACE 0.0.0.0 up
        down ifconfig $IFACE down

auto storage
iface storage inet static
        address 10.0.2.111
        netmask 255.255.255.0
        network 10.0.2.0
        broadcast 10.2.0.255

auto management
iface management inet static
        address 10.0.1.111
        netmask 255.255.255.0
        network 10.0.1.0
        broadcast 10.1.0.255

auto cloudbr1
iface cloudbr1 inet static
        address 194.xxx.xxx.xxx
        netmask 255.255.255.0
        broadcast 194.xxx.xxx.255
        network 194.xxx.xxx.0
        gateway 194.xxx.xxx.254
        dns-nameserver 10.0.1.1 194.xxx.xxx.xxx
        dns-search xxxxxxxxxx.com xxxxxxxx.it
===================

Can anyone report this to devs for compatibility issues with ubuntu 14.04?

Gerolamo Valcamonica

Il 29/06/2014 19:37, Gerolamo Valcamonica ha scritto:
Hi, in my CS 4.3.0 (KVM) I just added a new host.

But it seems to me there is an issue in my configuration

Indeed, on DB, table "hosts", i have both private_ip_address and storage_ip_address with same IP and in log i can see:

[{"com.cloud.agent.api.StartupRoutingCommand":
[...]
 "privateIpAddress":"10.0.2.109",
 "privateMacAddress":"5e:63:56:74:5c:90",
 "privateNetmask":"255.255.255.0",
 "storageIpAddress":"10.0.2.109",
 "storageNetmask":"255.255.255.0",
 "storageMacAddress":"5e:63:56:74:5c:90",
[...]

I double checked host configuration and it seems to be ok

[...]
auto storage
iface storage inet static
    address 10.0.2.109
    netmask 255.255.255.0
    network 10.0.2.0
    broadcast 10.2.0.255

auto management
iface management inet static
    address 10.0.1.109
    netmask 255.255.255.0
    network 10.0.1.0
    broadcast 10.1.0.255
[...]

So, my question is:
where do management server get network configuration on hosts to answere to StartupRoutingCommand?


Reply via email to