Hide Forgot
Description of problem: Incorrect error message when activating bricks when migration has finished and brick is down "Cannot stop remove bricks Gluster Brick. Gluster Volume should be started." User is not stopping or removing any Gluster Bricks. Version-Release number of selected component (if applicable): How reproducible: rhsc-cb10 Steps to Reproduce: 1. create a volume in rhsc 2. via rest api, migrate 2 bricks from volume 3. wait until migration has finished 4. stop the volume 5. activate the bricks that were migrated --------------- sample request ------ 2013-12-10 17:29:12,636 [main] DEBUG org.apache.http.headers - >> POST /api/clusters/5486f353-454e-45d8-a3d8-368b7968148d/glustervolumes/82925311-55d8-4742-805c-8c327e34d903/bricks/activate HTTP/1.1 2013-12-10 17:29:12,636 [main] DEBUG org.apache.http.headers - >> Content-Type: application/xml 2013-12-10 17:29:12,636 [main] DEBUG org.apache.http.headers - >> Accept: application/xml 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.headers - >> Content-Length: 301 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.headers - >> Host: latest.rhsc:443 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.headers - >> Connection: Keep-Alive 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.headers - >> User-Agent: Apache-HttpClient/4.1.3 (java 1.5) 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.headers - >> Authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.wire - >> "<?xml version="1.0" encoding="UTF-8" standalone="yes"?>[\n]" 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.wire - >> "<action>[\n]" 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.wire - >> " <bricks>[\n]" 2013-12-10 17:29:12,637 [main] DEBUG org.apache.http.wire - >> " <brick>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " <name>latest-a:/tmp/201312101727230641942637805</name>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " </brick>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " <brick>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " <name>latest-b:/tmp/20131210172723630850249563</name>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " </brick>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> " </bricks>[\n]" 2013-12-10 17:29:12,638 [main] DEBUG org.apache.http.wire - >> "</action>[\n]" =------------ Actual results: Http 409 received with reason "Cannot stop remove bricks Gluster Brick. Gluster Volume should be started." Expected results: Something similar to "Cannot activate bricks. Gluster volume is down" Additional info:
Not taking it up for Corbett
We are not planning to address this new feature. Hence closing this BZ. If you think, it's applicable for 3.x or beyond release and would have an impact on customer, pls. open up a new BZ with the appropriate version. Thanks, -Dusmant
Slight correction to Comment 5 : We are not planning to fix it. Hence closing this BZ. If you think, it's applicable for 3.x release and would have an impact on customer, pls. open up a new BZ with the appropriate version. Thanks, -Dusmant