Re: Cloudstack-agent gets the local IP address exception

2019-05-02 Thread Nux!
Cc: "users" > Sent: Wednesday, 1 May, 2019 21:52:06 > Subject: Re: Cloudstack-agent gets the local IP address exception > Hi Nux, > > It is because NetworkInterface.getInterfaceAddresses() returns the ips in > reverse order. > For example, "ip addr show dev

Re: Cloudstack-agent gets the local IP address exception

2019-05-01 Thread Wei ZHOU
Hi Nux, It is because NetworkInterface.getInterfaceAddresses() returns the ips in reverse order. For example, "ip addr show dev eth0" shows the following ips inet X.X.X.X inet secondary Y.Y.Y.Y inet6 Z:Z:Z:Z:Z:Z Then NetworkInterface.getInterfaceAddresses returns Z:Z:Z:Z:Z:Z Y.Y.Y.Y X.X.X.X The

Re: Cloudstack-agent gets the local IP address exception

2019-05-01 Thread Nux!
I ran into a similar problem when I tried to allocate an additional IP on the agent machine (for other purposes), the hypervisor would then show up in the UI with this new IP and in "Alert" state. I solved the problem by moving the IP out of br0 and on to the loopback interface. -- Sent from t

Re: Cloudstack-agent gets the local IP address exception

2019-04-23 Thread Andrija Panic
a very short time. > > > > > > > 发件人: Andrija Panic > 发送时间: Tuesday, April 23, 2019 10:22:47 PM > 收件人: dev > 抄送: us...@cloudstack.apache.org > 主题: Re: Cloudstack-agent gets the local IP address exception > > Hi Jerry, > > not a good idea, if you don't mi

Re: Cloudstack-agent gets the local IP address exception

2019-04-23 Thread Andrija Panic
gt; > 发件人: Dag Sonstebo<mailto:dag.sonst...@shapeblue.com> > 发送时间: 2019年4月23日 17:08 > 收件人: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>; > dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> > 主题: Re: Cloudstack-agent gets the local I

Re: Cloudstack-agent gets the local IP address exception

2019-04-23 Thread Dag Sonstebo
Li, Why do you run with this configuration? If this is for network resilience you would run a bond/team, not keepalived. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 22/04/2019, 14:37, "li jerry" wrote: HI All my kvm host [ip:10.226.16.11] virtualized a vip[10.226.1