Distributed Cloud - NTP config does not propagate properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Alexander Kozyrev |
Bug Description
Brief Description
-----------------
In Distributed Cloud, NTP configuration propogates before it even applies to system controllers, and the NTP state will not be synced to subclouds if we toggle the config on system controller.
If was also noticed if NTP state was changed, all hosts will be config out-of-date instead of just controllers. I'm unsure about the expected behavior for this one, but for comparison, if only the NTP servers were changed, then only controllers will be config out-of-date.
Severity
--------
Major
Steps to Reproduce
------------------
1. Configure DC to enable NTP with valid NTP servers
2. Central controller: system ntp-modify enabled=False
3. Wait for subcloud sync audit to happen in /var/log/
4. Central controller: Lock/unlock hosts to apply the change
5. Central controller: system ntp-modify enabled=True
6. Wait for subcloud sync audit to happen in /var/log/
Expected Behavior
------------------
3. Change does not propagate to subclouds before step4
4. Managed subclouds: only controllers are config out-of-date and needed lock/unlock to clear alarms
6. Managed subclouds: NTP shows enabled in 'system ntp-show'
Actual Behavior
----------------
3. Changes propagated to managed subclouds before NTP config is applied in central region. i.e., on subcloud, config out-of-date alarms appeared and ntp shows disabled in 'system ntp-show',
4. Managed subcloud: ALL hosts config out-of-date and required lock/unlock to clear alarms. (Note that if NTP servers are changed instead of state(enable/
6. Managed subclouds: NTP stayed as disabled in 'system ntp-show'. Workaround: system ntp-modify in all subclouds to re-enabled NTP.
Reproducibility
---------------
Reproducible
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
master as of 2018-10-24_20-18-00
Timestamp/Logs
--------------
System controllers
2018-11-
2018-11-
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Requesting input from Bart