a10networks / acos-client

ACOS API Client
Apache License 2.0
35 stars 61 forks source link

[Bug] [STACK-2027] thunder reload detection #331

Closed ytsai-a10 closed 3 years ago

ytsai-a10 commented 3 years ago

Description

  1. Detect thunder reload and mark ERROR for loadbalancers which has lost configration. (STACK-2027)

see also : https://github.com/a10networks/a10-octavia/pull/308

Jira Ticket

https://a10networks.atlassian.net/browse/STACK-2027

Technical Approach

STACK-2027

  1. Following aXAPI can show a10lb up time, maybe we can use it to compare with update_at to find reloaded/rebooted thunders. /axapi/v3/miscellenious-alb/oper
  2. After find reloaded thunders, mark loadbalancers status as ERROR.

Config Changes

[a10_house_keeping]
use_periodic_write_memory = 'enable'
write_mem_interval = 600

Test Cases

Manual Testing