Incorrect sync_message when a subcloud fails to sync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Gustavo Herzmann |
Bug Description
Brief Description
-----------------
The sync_message during a subcloud sync failure prints 'dict_keys', example:
sync_message | Failed to sync dict_keys(
The same issue also happens when the subcloud delete fails during a peer-group-
Severity
--------
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
------------------
With a subcloud in the rehome-failed state on the secondary site, run the sync command from the primary site:
dcmanager peer-group-
Then wait for the sync to fail and check the sync_message with:
dcmanager peer-group-
Expected Behavior
------------------
The sync message should be:
"Failed to sync ['subcloud1', 'subcloud2'] in the Subcloud Peer Group spg1."
Actual Behavior
----------------
The sync message is:
"Failed to sync dict_keys(
Reproducibility
---------------
State if the issue is 100% reproducible
System Configuration
-------
Distributed Cloud system configured for geo-redundancy
Branch/Pull Time/Commit
-------
master (2024-03-11)
Last Pass
---------
Issue was introduced by this commit:
https:/
Timestamp/Logs
--------------
+------
| Field | Value |
+------
| id | 1 |
| peer_group_id | 1 |
| system_peer_id | 1 |
| association_type | primary |
| sync_status | failed |
| peer_group_priority | 1 |
| sync_message | Failed to sync dict_keys(
| created_at | 2024-03-13 15:52:59.982114 |
| updated_at | 2024-03-13 17:37:30.059455 |
+------
Test Activity
Feature Testing
Workaround
----------
NA
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.distcloud |
Changed in starlingx: | |
assignee: | nobody → Gustavo Herzmann (gherzman) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/913200
Review: https:/