add same volume to the group-update does not show proper error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Low
|
Unassigned |
Bug Description
Add/Remove volumes (group-update) from the group does not show proper error or log messages.
When list of volumes are given to add them to the group, if a volume is already exists in the group
then it just silently removes the volumes from the list to be added (add_volumes_list) to the group.
Instead, it would be good to print a message in logs that the given volume already exists hence
the add volume operation for this volume is not required or something similar.
The below error message is printed which is of irrelevant for the problem. This seems to be a generic
message/error shown for most of the failure for this command.
cinder --os-volume-
ERROR: Invalid Group: Cannot update group 362b18bd-
group/api.py, add a log info or warning message _validate_
Changed in cinder: | |
status: | In Progress → Incomplete |
Greetings shireesha bendi,
do you mind sharing the next information:
- Cinder version
- Cinder Backend
Thanks in advance,
Sofia