Bug 1589067 - Not able to delete heketi volume: Error: Invalid path or request
Summary: Not able to delete heketi volume: Error: Invalid path or request
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-08 10:01 UTC by Apeksha
Modified: 2018-06-08 10:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-08 10:12:02 UTC
Embargoed:


Attachments (Terms of Use)
attaching heketi-pod logs (2.53 MB, text/plain)
2018-06-08 10:04 UTC, Apeksha
no flags Details

Description Apeksha 2018-06-08 10:01:55 UTC
Description of problem:
Not able to delete heketi volume: Error: Invalid path or request

Version-Release number of selected component (if applicable):
heketi-client-7.0.0-1.el7rhgs.x86_64
oc v3.10.0-0.63.0

How reproducible: Once


Steps to Reproduce:
1. Run automated cases on OCP3.10+CNS3.10 setup
2. Automated Heketi cases started failing, while bedugging found that few heketi volumes are not deleted 
3. Tried deleting manually: erroe invalid path/request

[root@dhcp46-165 ~]# heketi-cli -s http://172.31.69.60:8080 volume delete vol_a8678c97e2708cf6e00aea160a4d46a0  --secret 'adminkey' --user admin 
Error: Invalid path or request

Additional info:
[root@dhcp46-165 ~]# oc get pods
NAME                                          READY     STATUS    RESTARTS   AGE
glusterblock-storage-provisioner-dc-1-qns6z   1/1       Running   0          3h
glusterfs-storage-gxp7c                       1/1       Running   0          2h
glusterfs-storage-pg4xc                       1/1       Running   0          3h
glusterfs-storage-vsh2m                       1/1       Running   0          3h
heketi-storage-1-wgnwd                        1/1       Running   0          2h
[root@dhcp46-165 ~]# oc get nodes
NAME                                STATUS    ROLES           AGE       VERSION
dhcp46-122.lab.eng.blr.redhat.com   Ready     compute,infra   18h       v1.10.0+b81c8f8
dhcp46-165.lab.eng.blr.redhat.com   Ready     master          18h       v1.10.0+b81c8f8
dhcp46-187.lab.eng.blr.redhat.com   Ready     compute         18h       v1.10.0+b81c8f8
dhcp47-76.lab.eng.blr.redhat.com    Ready     compute         18h       v1.10.0+b81c8f8


[root@dhcp46-165 ~]# oc rsh glusterfs-storage-gxp7c gluster v list | grep vol_a8678c97e2708cf6e00aea160a4d46a0
vol_a8678c97e2708cf6e00aea160a4d46a0

[root@dhcp46-165 ~]# heketi-cli -s http://172.31.69.60:8080 volume list  --secret 'adminkey' --user admin | grep vol_a8678c97e2708cf6e00aea160a4d46a0
Id:a8678c97e2708cf6e00aea160a4d46a0    Cluster:0a73c60efdd4673113b668afea101e6d    Name:vol_a8678c97e2708cf6e00aea160a4d46a0

Comment 2 Apeksha 2018-06-08 10:04:07 UTC
Created attachment 1449063 [details]
attaching heketi-pod logs


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