distcloud/distributedcloud/dcorch/common
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
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
config.py Remove dcorch-snmp and move alarm audit to dcmanager 2020-04-07 20:27:30 -04:00
consts.py Remove dcorch-snmp and move alarm audit to dcmanager 2020-04-07 20:27:30 -04:00
context.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
exceptions.py Keystone token and resource caching 2020-03-23 21:31:04 -04:00
i18n.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
manager.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
messaging.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
policy.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
serializer.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
utils.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00