Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object errors found in be_select_auth_object() aren't logged the same #23376

Merged
merged 6 commits into from
Aug 23, 2018

Conversation

dzafman
Copy link
Contributor

@dzafman dzafman commented Aug 1, 2018

No description provided.

Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm in general. just some nit regarding to the error message format.

<< dendl;
}
if (error)
errorstream << pgid.pgid << " shard " << l << ": soid " << obj
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, probably we can be more consistent in the error message format? if we have an object level scrub error:

      errorstream << pgid.pgid << " soid " << *k
		  << ": failed to pick suitable object info\n";

and a shard error looks like

<pgid> shard 1: soid 3:ce3f1d6a:::ROBJ1:head size 9 != size 7 from auth oi

in which, the detailed error is started with a ":". and the object id is placed right next to pgid. i think it makes more sense in this context, as it'd easier to identify the error in the line . and if we put the object id next to , will it help the user to sort the output?

@dzafman
Copy link
Contributor Author

dzafman commented Aug 7, 2018

dzafman-2018-08-05_13:25:22-rados-wip-zafman-testing2-distro-basic-smithi
[2869021] FIXED repair_test.yaml
[2868883] Aborted in ceph::buffer::list::iterator_impl::copy()
[2868830] Infrastructure - Package install failure
[2869072] FIXED scrub_test.yaml
[2869024] Infrastructure - Package install failure
[2868913] Infrastructure - Package install failure
[2869033] Aborted in ceph::buffer::list::iterator_impl::copy()
[2868928] LibRadosTwoPoolsPP.ManifestUnset FAILED
[2868854] Infrastructure - Package install failure
[2869079] Infrastructure - Package install failure
[2868938] Infrastructure - Package install failure
[2868791] Hang/timeout in "ceph-helpers.sh:732: destroy_osd: ceph osd purge osd.1 --yes-i-really-mean-it"
[2868879] cluster [ERR] Error -2 reading object
[2869058] FIXED standalone/scrub
[2868968] ClassHandler::ClassMethod::exec() throws exception
[2868992] Infrastructure - Package install failure

FIXED test runs
http://qa-proxy.ceph.com/teuthology/dzafman-2018-08-06_14:27:45-rados-wip-zafman-testing2-distro-basic-smithi/2874733/teuthology.log
http://qa-proxy.ceph.com/teuthology/dzafman-2018-08-06_18:04:49-rados-wip-zafman-testing2-distro-basic-smithi/2874744/teuthology.log
http://qa-proxy.ceph.com/teuthology/dzafman-2018-08-07_09:55:46-rados-wip-zafman-testing2-distro-basic-smithi/2876030/teuthology.log

@dzafman dzafman changed the title Wip 25108 object errors found in be_select_auth_object() aren't logged the same Aug 16, 2018
@dzafman
Copy link
Contributor Author

dzafman commented Aug 16, 2018

@tchaikov I adjusted scrub error messages to be consist. I wasn't sure what you meant, but I always precede the error text with a colon, the shard and soid before it.

@dzafman
Copy link
Contributor Author

dzafman commented Aug 17, 2018

Re-running a rados suite.

@dzafman
Copy link
Contributor Author

dzafman commented Aug 21, 2018

@dzafman
Copy link
Contributor Author

dzafman commented Aug 21, 2018

retest this please

Signed-off-by: David Zafman <dzafman@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
@dzafman dzafman merged commit b0d2c64 into ceph:master Aug 23, 2018
@dzafman dzafman deleted the wip-25108 branch August 23, 2018 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants