Bug 1292705
Summary: | gluster cli crashed while performing 'gluster vol bitrot <vol_name> scrub status' | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | RamaKasturi <knarra> | |
Component: | bitrot | Assignee: | Gaurav Kumar Garg <ggarg> | |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | rhgs-3.1 | CC: | amukherj, asrivast, byarlaga, ggarg, knarra, rhs-bugs, sankarshan, smohan, storage-qa-internal, vshankar | |
Target Milestone: | --- | Keywords: | Reopened, ZStream | |
Target Release: | RHGS 3.1.2 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.5-14 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1293558 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-01 06:04:29 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1293558 |
Description
RamaKasturi
2015-12-18 07:10:23 UTC
Hi rama kasturi, i think in one node you are using latest build and in another node you are using old build. just make sure that you are using latest build on both node. IMO this issue will goes when you use updated build on both node. could you conform and close this bug if it is not reproducible after having latest build on both node. Closing this bug as not reproducible. > 10770 cli_out ("%s: %s\n", "Last completed scrub time", > 10771 (*last_scrub) ? last_scrub : "Scrubber Hold on. That's a bug. The check should be: (last_scrub) ? last_scrub : "Scrubber pending to complete" > pending to " > 10772 "complete."); > 10773 > 10774 /* Printing last scrub duration time in human readable > form*/ > (gdb) p last_scrub > $1 = 0x0 last_scrub is char pointer so even if the value of last_scrub will be null means (*last_scrub = NULL) then value of last_scrub will not be null, it will point to some address. so in this case in case of scrubber pending to complete it will always show nothing. you can modify this in code and check it. Gaurav, I understand that this crash was encountered in nightly build and not in QA/release packages. So, if its ok, could you move the bz state as per the patch state? I had a observation when i performed the process mentioned above in comment 14. Once the nodes are updated even though there are some corrupted files in the system scrub status does not show them in the scrub output. Will the bad files be only shown when the scrubber runs the next time? Is this the expected behavior? Can you please clarify? No, It should display bad file information as soon as it detect bad file. 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://rhn.redhat.com/errata/RHBA-2016-0193.html |