distcloud/distributedcloud/dcmanager
Gustavo Herzmann 0e24a87afb Fix peer-group-association sync_message
The current message prints the error_msg.keys() directly, which returns
a dict_keys object. This commit fix the SPA sync_message by casting it
to a list.

This commit also fixes a log message where the subcloud name and peer
name order was inverted.

Test Plan:
1. PASS - Try to sync a PGA that has the rehome-failed state in the
          non-primary site, causing the sync to fail. Verify that the
          sync_message prints the subcloud list without including the
          'dict_keys' string;
2. PASS - Introduce an error during the _delete_subcloud() function
          and then try to delete the peer group association. Verify
          that the sync_message prints the subcloud list without
          including the 'dict_keys' string;
3. PASS - During SPG migration, verify that the modified log message
          prints the subcloud name and peer site name in the correct
          order.

Closes-Bug: 2057934

Change-Id: Idfdc2cc1731a51c6098a06863b2469c3085aa813
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
2024-03-14 12:05:55 -03:00
..
api Improve rehome_data semantic check and name update 2024-03-12 11:22:01 -03:00
audit Temporarily set software audit to always be in-sync 2024-03-05 17:20:07 +00:00
cmd Fix issues introduced by pylint/pep8 for dcmanager 2024-01-19 11:29:25 -03:00
common Log subcloud health output upon failed health check 2024-03-11 00:39:29 -04:00
db Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
manager Fix peer-group-association sync_message 2024-03-14 12:05:55 -03:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Create a software audit 2024-02-27 15:58:49 -03:00
rpc Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
state Create a software audit 2024-02-27 15:58:49 -03:00
tests Merge "Improve rehome_data semantic check and name update" 2024-03-12 15:25:50 +00:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00