Bug 965306 - add brick gives an unknown error
Summary: add brick gives an unknown error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc-cli
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Sahina Bose
QA Contact: Dustin Tsang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-20 20:56 UTC by Dustin Tsang
Modified: 2015-07-13 04:39 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-04 15:53:39 UTC
Embargoed:


Attachments (Terms of Use)
engine log (9.23 KB, text/plain)
2013-05-20 20:56 UTC, Dustin Tsang
no flags Details

Description Dustin Tsang 2013-05-20 20:56:59 UTC
Created attachment 750746 [details]
engine log

Description of problem:

Running the command to add a brick yields: 
unknown error: 'str' object has no attribute '_Base__context' displayed on the cli console.



Version-Release number of selected component (if applicable):
rhsc-bb1 and RHS-2.1-20130515.n.0-RHS-x86_64-DVD1.iso

How reproducible:

100%

Steps to Reproduce:
1. create 2 hosts in a single cluster
2. add a volume in the down state
3. run the add brick command:
add brick --cluster-identifier d96f3b4b-3cf2-439c-b1b9-7920e3da0857 --glustervolume-identifier 743a8bc8-e47e-4574-ac94-b48db4450cd2 --brick "brick.server_id=4d69c239-6b68-43 
ca-903a-9c5b31dab9d2,brick.brick_dir=/tmp/20130520165329364927299489"

Actual results:
unknown error: 'str' object has no attribute '_Base__context' displayed on the cli console.

Brick is added.

Expected results:
error message preventing user from adding brick when host has not started.


Additional info:

Comment 4 Dustin Tsang 2013-06-04 15:53:39 UTC
i'm no longer able to reproduce this


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