Distributed Cloud: Patch audit running at wrong frequency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
The dcmanager audit is running both the patch audit and the load audit for each subcloud every 30 seconds or so (instead of every 15 minutes as intended). The issue is triggered as soon as the first patch is applied in the System Controller region. Here is a sample from DC-2:
2021-05-12 04:37:57.314 572129 INFO dcmanager.
2021-05-12 04:37:58.783 572129 INFO dcmanager.
2021-05-12 04:37:58.838 572129 INFO dcmanager.
2021-05-12 04:38:28.846 572129 INFO dcmanager.
2021-05-12 04:38:30.475 572129 INFO dcmanager.
2021-05-12 04:38:30.547 572129 INFO dcmanager.
2021-05-12 04:39:00.763 572129 INFO dcmanager.
2021-05-12 04:39:02.172 572129 INFO dcmanager.
2021-05-12 04:39:02.219 572129 INFO dcmanager.
With a large number of subclouds in the system, it contributes to flooding the logs (see LP1928335) and it results in an excessive amount of messaging between the system controller and subclouds (30x the expected messages in steady state).
Severity
--------
Major: System/Feature is usable but degraded
Steps to Reproduce
------------------
1. Install a distributed cloud system.
2. Import and apply a patch in the system controller region.
Expected Behavior
-----------------
After the patch is applied, a patch audit should be triggered for all subclouds. After that audit is completed, the audit frequency should go back to 15 minutes.
Actual Behavior
---------------
The audit frequency changes to 30s permanently.
Reproducibility
---------------
100% Reproducible
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
SW_VERSION="21.05"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
SRC_BUILD_ID="26"
BUILD_DATE=
Last Pass
---------
This was broken by the following commit (February 25, 2021):
https:/
Timestamp/Logs
--------------
See above
Test Activity
-------------
Developer Testing
Workaround
----------
None
tags: | added: stx.distcloud |
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.6.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/791244
Review: https:/