On 9-11-2016 00:01, David Zafman wrote: > > Willem, > > At first I thought the fields were missing but I checked the xml output > right there in get_is_making_recovery_progress() and the "xml sel" did > see those fields while recovery was in progress. Oke, ... That leaves a challenge, and I'll have to review the output on FreeBSD again, and see where, what, how it then works. --WjW > > David > > > On 11/7/16 4:40 AM, Willem Jan Withagen wrote: >> On 4-11-2016 18:09, Willem Jan Withagen wrote: >>> Hi, >>> >>> On my workstation if have this tst completing just fine. But on my >>> Jenkins-builder it keeps running into this state where it does not make >>> any progress. >>> Any particulars I should look for? I can let this run for an hour, but >>> pg 2.0 stays active+degrades, and the script requires it to be clean. >>> and the pgmap version is steadily incrementing. >> And as a side-track to this, it is not where things go wrong. But it is >> nog right either... >> >> ceph -c ./build/src/test/osd/testdir/osd-scrub-repair/ceph.conf --format >> xml status 2>/dev/null | \ >> xml sel \ >> -t -m "//pgmap/recovering_keys_per_sec" -v . -o ' ' \ >> -t -m "//pgmap/recovering_bytes_per_sec" -v . -o ' ' \ >> -t -m "//pgmap/recovering_objects_per_sec" -v .) >> test -n "$progress" >> >> Does not seem to work because the output does not contain any of the xml >> fields... >> Now I've been beating myself over the head, but I cannot find the >> request that does have these fields. >> >> So a suggestion is welcom, and I'll submit a patch. >> >> thanx, >> --WjW >> >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html