Skip to content

Agent LB for CloudStack failed #3505

@div8cn

Description

@div8cn
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Agent
CLOUDSTACK VERSION
4.11
4.11.1
4.11.2
CONFIGURATION

indirect.agent.lb.algorithm=roundrobin
indirect.agent.lb.check.interval=60

OS / ENVIRONMENT
SUMMARY

When deploying multiple management nodes, the preferred managment node is forced to power off, the agent will not immediately connect to the second management node.

Wait 15 minutes, the agent issues a "No route to host" error and connects to the second management node.

STEPS TO REPRODUCE
1.Deploying multiple management nodes

2.Modify global settings: 
   indirect.agent.lb.algorithm=roundrobin
   indirect.agent.lb.check.interval=60
   host={all management node ips}

3.Restart all KVM agents

4.View the connection status of each agent through Mysql
    select host.id ,host.name,host.mgmt_server_id,host.status,mshost.name from host,mshost where host.mgmt_server_id=mshost.msid;

5.close a management node randomly (Forced power off)

6.Observe whether the agent connected to the failure management node will reconnect the new managment node in a very short time



EXPECTED RESULTS
Agent quickly reconnects to the new management node
ACTUAL RESULTS
wait15 minutes, the agent issues a "No route to host" error and connects to the second management node.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions