Creation of subcloud peer group/system peer is successful for irrelevant name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
TaoWang |
Bug Description
Brief Description
Creation of subcloud peer group/system peer is successful for irrelevant name.
Severity
Minor
Steps to Reproduce
Run the below command:
[sysadmin@
-------
Field Value
-------
id 15
peer_group_name 5-*
group_priority 0
group_state enabled
system_leader_id ecf72a34-
system_leader_name wrcpeng-
max_subcloud_
created_at 2023-12-04 10:39:59.830078
updated_at None
-------
[sysadmin@
-------
Field Value
-------
id 15
peer_group_name 5-*
group_priority 0
group_state enabled
system_leader_id ecf72a34-
system_leader_name wrcpeng-
max_subcloud_
created_at 2023-12-04 10:39:59.830078
updated_at None
-------
[sysadmin@
Expected Behavior
Should have some logic to validate the name which should be more appropriate
Actual Behavior
Allowed to create the peer group with irrelevant name.
Reproducibility
Yes
Workaround
NA
Changed in starlingx: | |
assignee: | nobody → TaoWang (twang4) |
tags: | added: stx.9.0 stx.distcloud |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/902616
Review: https:/