distcloud/distributedcloud/dccommon
Gerry Kopec 085a685d54 Remove dcorch-snmp and move alarm audit to dcmanager
The current implementation of alarm aggregation sets a snmp trapdest on
all subclouds to signal the system controller that the alarm status of
the subcloud has changed.  This trap is handled by the dcorch-snmp
process which will then trigger a rpc request to dcorch-engine which
will in turn request an alarm summary update from the subcloud.  While
this implementation has a throttling mechanism, it has been observed to
bog down dorch-engine performance as the number of subclouds is
increased.

To improve scalability:
- eliminate the dcorch-snmp process and associated subcloud trapdest
- move existing alarm aggregation handling from dcorch to dcmanager
  process along with the db table.  Alarm status will be gathered by
  dcmanager-manager process as part of the subcloud audit.
- remove periodic alarm audit
- remove alarm rpc client
- change frequent alarm related info logs to debug

Test cases:
- install dc system with multiple subclouds
- add/manage subclouds
- add alarms of various severity to subclouds
- run alarm summary cli command and test alarm rest api calls
- unmanage/poweroff/delete subclouds

Change-Id: I8bd6c89f0b8a544e4d394af5bbbb86599a63823e
Story: 2007267
Task: 38757
Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
2020-04-07 20:27:30 -04:00
..
drivers Remove dcorch-snmp and move alarm audit to dcmanager 2020-04-07 20:27:30 -04:00
tests Removing ddt from unit tests 2020-03-26 14:40:01 -05:00
LICENSE Keystone token and resource caching 2020-03-23 21:31:04 -04:00
__init__.py Keystone token and resource caching 2020-03-23 21:31:04 -04:00
consts.py Keystone token and resource caching 2020-03-23 21:31:04 -04:00
endpoint_cache.py Keystone token and resource caching 2020-03-23 21:31:04 -04:00
exceptions.py Remove dcorch-snmp and move alarm audit to dcmanager 2020-04-07 20:27:30 -04:00