Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1056372 - rest: cryptic error message given for stopmigrate when no migration is occurring
rest: cryptic error message given for stopmigrate when no migration is occurring
Status: CLOSED EOL
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc-sdk (Show other bugs)
2.1
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Shubhendu Tripathi
storage-qa-internal@redhat.com
:
Depends On:
Blocks: 1035040
  Show dependency treegraph
 
Reported: 2014-01-21 23:21 EST by Dustin Tsang
Modified: 2015-12-03 12:22 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
When no migration is occuring, incorrect error message is displayed for stop migrate operation.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-03 12:22:59 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dustin Tsang 2014-01-21 23:21:30 EST
Description of problem:
incorrect error message given for stopmigrate when no migration is occurring.

"Cannot stop remove bricks Gluster Brick(s). Invalid task type.]"


Version-Release number of selected component (if applicable):
rhsc-cb15

How reproducible:
100% of the time


Steps to Reproduce:
1. create a simple volume in rhsc
2. via rest call stopmigrate on the volume with some of the bricks
(example request)
POST /api/clusters/73db05ad-775a-405d-b4e9-91cf5dbb54e7/glustervolumes/81f47779-49ff-40d1-9dab-9de32ad390d7/bricks/stopmigrate
<action>[\n]"
    <bricks>[\n]"
        <replica_count>0</replica_count>[\n]"
        <brick>[\n]"
            <name>rhsc-cb15-node-a:/bricks/201401212251036201942637805</name>[\n]"
        </brick>[\n]"
    </bricks>[\n]"
</action>[\n]"

Actual results:
< "<?xml version="1.0" encoding="UTF-8" standalone="yes"?>[\n]"
< "<fault>[\n]"
< "    <reason>Operation Failed</reason>[\n]"
< "    <detail>[Cannot stop remove bricks Gluster Brick(s). Invalid task type.]</detail>[\n]"
< "</fault>[\n]"




Expected results:

Should be something similar to "Cannot stop remove bricks. Remove brick has not been started yet."

Additional info:
Comment 2 Shalaka 2014-01-23 04:08:43 EST
Please review the edited Doc Text and signoff.
Comment 3 Shubhendu Tripathi 2014-01-26 23:59:35 EST
looks fine
Comment 6 Vivek Agarwal 2015-12-03 12:22:59 EST
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.

Note You need to log in before you can comment on or make changes to this bug.