Bug 829838 - GlusterFS: Failure to create one brick fails all bricks in the same command
Summary: GlusterFS: Failure to create one brick fails all bricks in the same command
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard: glusterd
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-07 16:08 UTC by Daniel Paikov
Modified: 2015-12-24 08:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-24 08:45:24 UTC
Embargoed:


Attachments (Terms of Use)
glusterfs log (11.15 KB, application/x-gzip)
2012-06-07 16:08 UTC, Daniel Paikov
no flags Details

Description Daniel Paikov 2012-06-07 16:08:22 UTC
Created attachment 590233 [details]
glusterfs log

When trying to create several bricks, failure to create one brick will cause all bricks to fail.

For example:
* Create brick from host:/brick1.
* Create 3 bricks from host:/brick1 host:/brick2 host:/brick3
* brick1 fails to create because it already exists. But also brick2 and brick3 fail to create, even though they should succeed.

Comment 2 Amar Tumballi 2012-06-08 09:54:39 UTC
can you elaborate what you mean by 'creating a brick' ? we can create a volume, not a brick.

Comment 3 Daniel Paikov 2012-06-10 06:22:58 UTC
(In reply to comment #2)
> can you elaborate what you mean by 'creating a brick' ? we can create a
> volume, not a brick.

What I mean is adding more bricks to an existing volume. To make the process fail, I add a combination of existing and non-existing bricks.


This is the command being run through vdsm:
/usr/sbin/gluster --mode=script volume add-brick stripe1 stripe 4 10.35.97.47:/stripe3 10.35.97.47:/stripe4 10.35.97.47:/stripe5 10.35.97.47:/stripe6

Comment 5 Atin Mukherjee 2015-12-24 08:45:24 UTC
This is an expected behaviour. As part of volume creation, if any of the brick creation fails then we fail the complete transaction and doesn't continue with creating partial bricks.


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