yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59877
[Bug 1650611] [NEW] dhcp agent reporting state as down during the initial sync
Public bug reported:
When dhcp agent is started, neutron agent-list reports its state as dead
until the initial sync is complete.
This can lead to unwanted alarms in monitoring systems, especially in
large environments where the initial sync may take hours. During this
time, systemctl shows that the agent is actually alive while neutron
agent-list reports it as down.
Technical details:
If I'm right, this line [0] is the exact point where the initial sync
takes place right after the first state report (with start_flag=True) is
sent to the server. As it's being done in the same thread, it won't send
a second state report until it's done with the sync.
Doing it in a separate thread would let the heartbeat task to continue
sending state reports to the server but I don't know whether this have
any unwanted side effects.
[0] https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L751
** Affects: neutron
Importance: Undecided
Status: New
** Tags: l3-bgp
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1650611
Title:
dhcp agent reporting state as down during the initial sync
Status in neutron:
New
Bug description:
When dhcp agent is started, neutron agent-list reports its state as
dead until the initial sync is complete.
This can lead to unwanted alarms in monitoring systems, especially in
large environments where the initial sync may take hours. During this
time, systemctl shows that the agent is actually alive while neutron
agent-list reports it as down.
Technical details:
If I'm right, this line [0] is the exact point where the initial sync
takes place right after the first state report (with start_flag=True)
is sent to the server. As it's being done in the same thread, it won't
send a second state report until it's done with the sync.
Doing it in a separate thread would let the heartbeat task to continue
sending state reports to the server but I don't know whether this have
any unwanted side effects.
[0] https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L751
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1650611/+subscriptions
Follow ups