Bug 1456122 - gluster-block neither gets created nor gets deleted
Summary: gluster-block neither gets created nor gets deleted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.0
Assignee: Pranith Kumar K
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-05-27 06:14 UTC by Pranith Kumar K
Modified: 2017-09-21 04:19 UTC (History)
2 users (show)

Fixed In Version: gluster-block-0.2.1-1.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:19:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2773 0 normal SHIPPED_LIVE new packages: gluster-block 2017-09-21 08:16:22 UTC

Description Pranith Kumar K 2017-05-27 06:14:47 UTC
Description of problem:
This is a -ve case but interesting one.
When I try to create a block it fails because I gave block node as google.com to which it says it couldn't create. But when I try to delete it also it fails. So it just stays there:


[root@localhost ~]# gluster-block create r3/16 ha 1 192.168.122.143 1GiB
IQN: -
PORTAL(S): -
ROLLBACK ON: 192.168.122.143  
RESULT: FAIL
[root@localhost ~]# gluster-block create r3/16 ha 1 google.com 1GiB
BLOCK with name: '16' already EXIST

RESULT:FAIL
[root@localhost ~]# gluster-block create r3/17 ha 1 google.com 1GiB
IQN: -
PORTAL(S): -
ROLLBACK ON: google.com  
RESULT: FAIL
[root@localhost ~]# gluster-block delete r3/16
FAILED ON:   192.168.122.143
SUCCESSFUL ON: None
RESULT: FAIL
[root@localhost ~]# gluster-block delete r3/17
FAILED ON:   google.com
SUCCESSFUL ON: None
RESULT: FAIL
[root@localhost ~]# gluster-block info r3/16
NAME: 16
VOLUME: r3
GBID: 219c87f8-d7c1-41ca-a376-de7f173f76df
SIZE: 1073741824
HA: 1
PASSWORD: 
BLOCK CONFIG NODE(S):
[root@localhost ~]# 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Pranith Kumar K 2017-06-04 17:24:45 UTC
https://review.gluster.org/17462

Comment 6 surabhi 2017-06-20 12:24:07 UTC
Gluster-block create and delete works fine.In this particular case the create was failing due to invalid host. Now that issue is fixed and we are not having volume create failed. Also verified that delete is happening successfully.

With multiple deletes we have vmcore issue but that is tracked in a separate bug. So marking this bug as Verified.

gluster-block-0.2.1-1.el7rhgs.x86_64
tcmu-runner-1.2.0-4.el7rhgs.x86_64

Comment 8 errata-xmlrpc 2017-09-21 04:19:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2773


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