[Bugs] [Bug 1209843] [Backup]: Crash observed when multiple sessions were created for the same volume
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 8 11:41:44 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1209843
--- Comment #3 from Aravinda VK <avishwan at redhat.com> ---
(In reply to Sweta Anandpara from comment #2)
> I reran the command, and all the 100 sessions were created. But why is it
> that 'glusterfind list' lists only 3 (random) sessions and not all 100 of
> them?
>
> [root at dhcp43-140 ~]# glusterfind list
> SESSION VOLUME SESSION TIME
> ---------------------------------------------------------------------------
> sess^88 nash 2015-04-08 22:40:43
> sess^24 nash 2015-04-08 22:38:26
> sess^32 nash 2015-04-08 22:38:43
> Traceback (most recent call last):
> File "/usr/bin/glusterfind", line 17, in <module>
> main()
> File "/usr/libexec/glusterfs/glusterfind/main.py", line 480, in main
> globals()["mode_" + args.mode](session_dir, args)
> File "/usr/libexec/glusterfs/glusterfind/main.py", line 454, in mode_list
> human_time(last_processed).ljust(25)))
> File "/usr/libexec/glusterfs/glusterfind/utils.py", line 54, in human_time
> return datetime.fromtimestamp(float(ts)).strftime("%Y-%m-%d %H:%M:%S")
> TypeError: float() argument must be a string or a number
> [root at dhcp43-140 ~]#
>
> How do I get the output back to normal after a failed 'glusterfind list'?
For some session session file doesn't exist or invalid value.
tree /var/lib/glusterd/glusterfind
to see any session directory without status file. I will fix the list command
not to fail for invalid value.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list