gluster.volume.replacebrick crash
Description
Problem/Justification
None
Impact
None
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:

Caleb April 21, 2021 at 2:36 PM
Closing this ticket and fixing in this one: https://jira.ixsystems.com/browse/NAS-110282 since more issues have been found since I originally opened this one.

Bug Clerk April 17, 2021 at 1:41 PM
Duplicate
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Labels
Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created April 16, 2021 at 4:32 PM
Updated July 1, 2022 at 5:25 PM
Resolved April 21, 2021 at 2:36 PM
[EFAULT] Usage:
volume replace-brick <VOLNAME> <SOURCE-BRICK> <NEW-BRICK> {commit force}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/gluster_linux/run.py", line 24, in run
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/glustercli/cli/bricks.py", line 145, in replace_commit
return volume_execute(cmd)
File "/usr/lib/python3/dist-packages/glustercli/cli/utils.py", line 124, in volume_execute
return execute_or_raise(cmd)
File "/usr/lib/python3/dist-packages/glustercli/cli/utils.py", line 102, in execute_or_raise
raise GlusterCmdException((returncode, out, err))
glustercli.cli.utils.GlusterCmdException: (1, '', '\nUsage:\nvolume replace-brick <VOLNAME> <SOURCE-BRICK> <NEW-BRICK> {commit force}\n\n')
If "force" is false, then I need to remove that key entirely.