git.net

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

System VMs Agent State not running


Hi,
I have been struggling with this issue for a while now.
Problem:

When creating a cloudstack cluster the SystemVMs run.  But the "Agent
State" does not run.
I console'd logged into the VMs using virsh and found out that the system
VM IPs cannot connect to the default gateway.
I have tagged the VLAN to 16 both on the switch side and the cloudbr0
network side.
I have assigned the following IPs:
PUBLIC:  10.170.16.11 - 10.170.16.20
POD:     10.170.16.21 - 10.170.16.30
GUEST:   10.170.16.31 - 10.170.16.50

I also flushed the rules in Iptables and zero'ed the rules out in the
SystemVMs.

I see that in:

Home -> Infrastructure -> Zones -> zone1 -> Physical Network 1 -> Public

 Gateway           Netmask         VLAN        Start IP                 End
IP
10.170.16.1 255.255.255.0 vlan://16 10.170.16.11 10.170.16.20

Home -> Infrastructure -> Zones -> zone1 -> Physical Network 1 -> Management

 Pod             Gateway           Netmask         VLAN        Start IP
            End IP
pod1 10.170.16.1 255.255.255.0    vlan://16  10.170.16.21 10.170.16.30

Also I found that the Pod VLAN was not setup to 16.  So I stopped the
SystemVMs and quickly removed the Pod IPs and readded them with the Vlan 16.

The s-50-VM has the IPs:
eth0: 169.254.1.222
eth1: 10.170.16.25
eth2: 10.170.16.12

The v-49-VM has the IPs:
eth0: 169.254.3.239
eth1: 10.170.16.21
eth2: 10.170.16.11

The IPs from eth0/eth1 can't ping/telnet to each other from s-50-VM and
v-49-VM and vice-versa even after flushing out all the rules.

Obviously I am doing something wrong here.

Please advice.

Thank you

Mukarram Syed