[Bugs] [Bug 1214772] gluster xml empty output volume status detail

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 24 10:46:59 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1214772

jAHu <gluster at jahu.sk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(gluster at jahu.sk)  |



--- Comment #2 from jAHu <gluster at jahu.sk> ---
yes, sorry, i forgot.
because no error log entries for given time/request, only info.
there is only one node (peer). it will be geo replication slave.

*** log (info):
[2015-04-23 13:39:05.927582] I
[glusterd-handler.c:3803:__glusterd_handle_status_volume] 0-management:
Received status volume req for volume volname


*** glusterd -N --debug, version 3.6.3beta2

[2015-04-24 10:31:05.142692] I
[glusterd-handler.c:3803:__glusterd_handle_status_volume] 0-management:
Received status volume req for volume volname
[2015-04-24 10:31:05.142746] D [glusterd-op-sm.c:170:glusterd_generate_txn_id]
0-: Transaction_id = 00000000-0000-0000-0000-000000000000
[2015-04-24 10:31:05.142775] D [glusterd-op-sm.c:268:glusterd_set_txn_opinfo]
0-: Successfully set opinfo for transaction ID :
00000000-0000-0000-0000-000000000000
[2015-04-24 10:31:05.142792] D [glusterd-op-sm.c:275:glusterd_set_txn_opinfo]
0-: Returning 0
[2015-04-24 10:31:05.142810] D [glusterd-syncop.c:1584:gd_sync_task_begin]
0-management: Transaction ID : 00000000-0000-0000-0000-000000000000
[2015-04-24 10:31:05.142839] D [glusterd-utils.c:156:glusterd_lock]
0-management: Cluster lock held by 57c7bfb9-.....
[2015-04-24 10:31:05.142863] D [glusterd-utils.c:1589:glusterd_volinfo_find]
0-management: Volume volname found
[2015-04-24 10:31:05.142891] D [glusterd-utils.c:1596:glusterd_volinfo_find]
0-management: Returning 0
[2015-04-24 10:31:05.142929] D [glusterd-utils.c:1589:glusterd_volinfo_find]
0-management: Volume volname found
[2015-04-24 10:31:05.142945] D [glusterd-utils.c:1596:glusterd_volinfo_find]
0-management: Returning 0
[2015-04-24 10:31:05.142965] D
[glusterd-op-sm.c:1371:glusterd_op_stage_status_volume] 0-management:
Returning: 0
[2015-04-24 10:31:05.142981] D
[glusterd-op-sm.c:4885:glusterd_op_stage_validate] 0-management: OP = 18.
Returning 0
[2015-04-24 10:31:05.143001] D
[glusterd-op-sm.c:6182:glusterd_op_bricks_select] 0-management: Returning 0
[2015-04-24 10:31:05.143017] D [glusterd-syncop.c:1529:gd_brick_op_phase]
0-management: Sent op req to 0 bricks
[2015-04-24 10:31:05.143047] D [glusterd-utils.c:1589:glusterd_volinfo_find]
0-management: Volume volname found
[2015-04-24 10:31:05.143063] D [glusterd-utils.c:1596:glusterd_volinfo_find]
0-management: Returning 0
[2015-04-24 10:31:05.151830] D
[glusterd-utils.c:7637:glusterd_add_brick_detail_to_dict] 0-management: Error
adding brick detail to dict: Permission denied
[2015-04-24 10:31:05.151856] D
[glusterd-op-sm.c:2821:glusterd_op_status_volume] 0-management: Returning 0
[2015-04-24 10:31:05.151871] D
[glusterd-op-sm.c:5004:glusterd_op_commit_perform] 0-management: Returning 0
[2015-04-24 10:31:05.151930] D
[glusterd-op-sm.c:3910:glusterd_op_modify_op_ctx] 0-management: op_ctx
modification not required for status operation being performed
[2015-04-24 10:31:05.151951] D [glusterd-op-sm.c:215:glusterd_get_txn_opinfo]
0-: Successfully got opinfo for transaction ID :
00000000-0000-0000-0000-000000000000
[2015-04-24 10:31:05.151962] D [glusterd-op-sm.c:219:glusterd_get_txn_opinfo]
0-: Returning 0
[2015-04-24 10:31:05.151976] D [glusterd-op-sm.c:311:glusterd_clear_txn_opinfo]
0-: Successfully cleared opinfo for transaction ID :
00000000-0000-0000-0000-000000000000
[2015-04-24 10:31:05.151986] D [glusterd-op-sm.c:315:glusterd_clear_txn_opinfo]
0-: Returning 0
[2015-04-24 10:31:05.152077] D
[glusterd-rpc-ops.c:196:glusterd_op_send_cli_response] 0-management: Returning
0
[2015-04-24 10:31:05.153452] D [socket.c:590:__socket_rwv] 0-socket.management:
EOF on socket
[2015-04-24 10:31:05.153489] D [socket.c:2353:socket_event_handler]
0-transport: disconnecting now


***
looks like problem with getting more info like nod ecount from filesystem (perm
denied):
File System          : N/A
Device               : N/A
Mount Options        : N/A
Inode Size           : N/A
Disk Space Free      : 2.0TB
Total Disk Space     : 2.6TB
Inode Count          : N/A
Free Inodes          : N/A

but it should be n/a in xml also. and output should not be empty.


*** 
in other working btrfs case, xml output is:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volStatus>
    <volumes>
      <volume>
        <volName>volume_with_working_xml_output</volName>
        <nodeCount>1</nodeCount>
        <node>
          <hostname>shostname</hostname>
          <path>/backup/gfs-georeplication/....</path>
          <peerid>cf426f5c-0....</peerid>
          <status>1</status>
          <port>49155</port>
          <pid>3689</pid>
          <sizeTotal>214748364800</sizeTotal>
          <sizeFree>31830433792</sizeFree>
          <device>/dev/mapper/vgS51-bak_gfs_...</device>
          <blockSize>4096</blockSize>
         
<mntOptions>rw,noatime,nosuid,nodev,noexec,compress=lzo,space_cache</mntOptions>
          <fsName>btrfs</fsName>
        </node>
      </volume>
    </volumes>
  </volStatus>
</cliOutput>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list