Bug 950059 - ovirt-engine-cli: Bad error when trying to add new brick and specifying cluster only .
Summary: ovirt-engine-cli: Bad error when trying to add new brick and specifying clust...
Keywords:
Status: CLOSED DUPLICATE of bug 1043500
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.4.0
Assignee: Sahina Bose
QA Contact: Shai Revivo
URL:
Whiteboard: gluster
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 14:34 UTC by Oded Ramraz
Modified: 2016-02-10 18:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 15:19:36 UTC
oVirt Team: Gluster
Target Upstream Version:
Embargoed:
scohen: Triaged+


Attachments (Terms of Use)

Description Oded Ramraz 2013-04-09 14:34:25 UTC
Description of problem:

When trying to add brick and specifying cluster only I get the following error: 
'Cluster' object has no attribute 'bricks'
I would change this error to be more meaningful : 
e.g glustervolume parameter is mandatory. 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

[RHEVM shell (connected)]# list clusters 

id         : 99408929-82cf-4dc7-a532-9d998063fa95
name       : Default
description: The default server cluster

id         : 300664d6-d0a6-4065-95ab-e1c43a484384
name       : test

id         : 60fb9cb7-4945-417a-9f68-e7cbb141e4c5
name       : test3

[RHEVM shell (connected)]# add brick --cluster-identifier 300664d6-d0a6-4065-95ab-e1c43a484384

unknown error: 'Cluster' object has no attribute 'bricks'

[RHEVM shell (connected)]#

Comment 2 Juan Hernández 2014-02-25 15:19:36 UTC

*** This bug has been marked as a duplicate of bug 1043500 ***


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