Config out of date alarm is not clearing after lock and unlock during ntp server modify test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Austin Sun |
Bug Description
Brief Description
-----------------
During test on ntpservers modify config out of alarm was not clearing on controllers even after lock and unlock on standby controlle(
Before the address change ntp server are as follows
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:48:52,982] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| uuid | fbdb9c1c-
| enabled | True |
| ntpservers | 0.pool.
| isystem_uuid | c07fd33d-
| created_at | 2019-04-
| updated_at | 2019-04-
Ntp server are modified as below
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:48:57,661] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| uuid | fbdb9c1c-
| enabled | True |
| ntpservers | 1.pool.
| isystem_uuid | c07fd33d-
| created_at | 2019-04-
| updated_at | 2019-04-
+------
Lock and unlock standby controllers
send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:50:08,794] 387 DEBUG MainThread ssh.expect :: Output:
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:50:34,473] 387 DEBUG MainThread ssh.expect :: Output:
Swact to lock and unlock active controller
send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:57:24,401] 387 DEBUG MainThread ssh.expect :: Output:
controller-1 target Config accd7638-
[wrsroot@
Send 'fm --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:49:00,793] 387 DEBUG MainThread ssh.expect :: Output:
+------
| UUID | Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 707e83fc-
| 3a1f8ccf-
| 07c2a434-
+------
Severity
--------
Provide the severity of the defect.
Major
Steps to Reproduce
------------------
1. Install any regular system
2. Check NTP and modify the server address.
'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
Ntp server are modified as below
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:48:57,661] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| uuid | fbdb9c1c-
| enabled | True |
| ntpservers | 1.pool.
| isystem_uuid | c07fd33d-
| created_at | 2019-04-
| updated_at | 2019-04-
+------
3. lock and unlock standby
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:50:08,794] 387 DEBUG MainThread ssh.expect :: Output:
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:50:34,473] 387 DEBUG MainThread ssh.expect :: Output:
4. Swact to lock and unlock active controller
send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-14 04:57:24,401] 387 DEBUG MainThread ssh.expect :: Output:
controller-1 target Config accd7638-
[wrsroot@
Expected Behavior
------------------
No alarm after lock and unlock and able to swact .
Actual Behavior
----------------
As per description lock and unlock on standby controller doesn’t clear alarm.
Reproducibility
---------------
Yes 100%
System Configuration
-------
Regular system
Branch/Pull Time/Commit
-------
2019-04-10 01:30:00 +0000"
Last Pass
---------
n/a
Timestamp/Logs
--------------
n/a
Test Activity
-------------
Regression Test
summary: |
- Config out of alarm is not clearing after lock and unlock during ntp - server modify test + Config out of date alarm is not clearing after lock and unlock during + ntp server modify test |
description: | updated |
Changed in starlingx: | |
assignee: | Cindy Xie (xxie1) → Austin Sun (sunausti) |
Changed in starlingx: | |
status: | Triaged → Incomplete |
tags: | removed: stx.retestneeded |
I also observed this behaviour on a standard 2+X system. System recovery was not possible in my case.