Bug 1395042 - heketi-cli node info fails when server is busy at processing request.
Summary: heketi-cli node info fails when server is busy at processing request.
Keywords:
Status: CLOSED DUPLICATE of bug 1346621
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: heketi
Version: cns-3.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Mohamed Ashiq
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 02:06 UTC by Humble Chirammal
Modified: 2016-11-29 10:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 11:45:12 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1346621 0 medium CLOSED topology info: "ID not found" error when running concurrently with volume creation. 2021-02-22 00:41:40 UTC

Internal Links: 1346621

Description Humble Chirammal 2016-11-15 02:06:37 UTC
Description of problem:

The #heketi-cli node info <id>" returns "Error: Id not found" whenever server is busy at processing other request.

[root@client ~]# heketi-cli node info 31fdf6007a7d4a8d61fa917916e51cb0
Error: Id not found


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


Steps to Reproduce:

*) In one terminal issue heketi-cli command to create a volume.
 
[root@client ~]# heketi-cli volume create --size=4

*) as soon as above command is issued, in second terminal, execute:
 
[root@client ~]# heketi-cli node info 31fdf6007a7d4a8d61fa917916e51cb0
Error: Id not found
[root@client ~]# heketi-cli node info 31fdf6007a7d4a8d61fa917916e51cb0
Error: Id not found
[root@client ~]# heketi-cli node info 31fdf6007a7d4a8d61fa917916e51cb0
Error: Id not found

Once the first command ( volume create) is executed successfully or when execution is completed, the node info will start responding properly.

[root@client ~]# heketi-cli node info 31fdf6007a7d4a8d61fa917916e51cb0
Node Id: 31fdf6007a7d4a8d61fa917916e51cb0
State: online
Cluster Id: 968e0e194d9b5de3d9a23dbf3f5e6c96
Zone: 1
Management Hostname: 192.168.68.4
Storage Hostname: 192.168.68.4
Devices:
Id:06c57dae3b19bf40b8652f7b68f862f7   Name:/dev/vdg            State:online    Size (GiB):699     Used (GiB):4       Free (GiB):695     
Id:1096bf1e0a61e87944025a206e06b34d   Name:/dev/vdf            State:online    Size (GiB):49      Used (GiB):32      Free (GiB):17      
Id:6bc65b15ec557aaeb01f9a349246d840   Name:/dev/vdc            State:online    Size (GiB):49      Used (GiB):0       Free (GiB):49      
Id:d21172b7fdb37b3cec95a6ae0ccf3140   Name:/dev/vdd            State:online    Size (GiB):49      Used (GiB):8       Free (GiB):41      
Id:d7b5a06be19ac7c4ae7ca6d92728f49f   Name:/dev/vde            State:online    Size (GiB):49      Used (GiB):0       Free (GiB):49      


Actual results:

Getting "Id not found" error.


Expected results:

The node info should work without issues.
Giving "Id not found" error is NOT acceptable at all or its completely wrong.

Additional info:

The commands like "volume info"..etc work without issues.

Comment 3 Prasanth 2016-11-15 11:27:20 UTC
Looks like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1346621 . Please do confirm.

Comment 4 Humble Chirammal 2016-11-15 11:40:04 UTC
(In reply to Prasanth from comment #3)
> Looks like a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1346621 . Please do confirm.

Thanks Prasnath. At glance, this is duplicate. Because toplogy info internally call 'node info' and it could be causing the same behaviour.

Comment 5 Mohamed Ashiq 2016-11-15 11:45:12 UTC
(In reply to Humble Chirammal from comment #4)
> (In reply to Prasanth from comment #3)
> > Looks like a duplicate of
> > https://bugzilla.redhat.com/show_bug.cgi?id=1346621 . Please do confirm.
> 
> Thanks Prasnath. At glance, this is duplicate. Because toplogy info
> internally call 'node info' and it could be causing the same behaviour.

Closing this as duplicate

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


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