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

common: make some message informative, instead of error #16594

Merged
merged 1 commit into from Aug 11, 2017

Conversation

wjwithagen
Copy link
Contributor

  • Life goes on without any problem after these messages.
    So they should not be errors, and should not be on the CLI output

Signed-off-by: Willem Jan Withagen wjw@digiware.nl

@wjwithagen
Copy link
Contributor Author

jenkins retest this please

1 similar comment
@joscollin
Copy link
Member

jenkins retest this please

@@ -396,7 +396,7 @@ int HashIndex::read_settings() {
if (r == -ENODATA)
return 0;
if (r < 0) {
derr << __func__ << " error reading settings: " << cpp_strerror(r) << dendl;
dout(0) << __func__ << " error reading settings: " << cpp_strerror(r) << dendl;
Copy link
Contributor

Choose a reason for hiding this comment

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

@wjwithagen why do you think it's not an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tchaikov
Because the program merrily continues with the default properties.
So it is no more than perhaps a strong warning

Copy link
Contributor

Choose a reason for hiding this comment

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

i am not sure about this unless i understand what the error is and why it's so.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tchaikov
I'll try and digout the code a bit more. But all FreeBSD tests generate this warning and still run to perfect completion.

Copy link
Contributor

Choose a reason for hiding this comment

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

@wjwithagen probably you could pastebin the error message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tchaikov
Thanx for being persistent... Is was an error in the headers.
Perhaps still something leftover from cleaning up.

It is again a ENODATA problem ....
No compat.h included, so ENODATA has the wrong (boost) value.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@wjwithagen wjwithagen force-pushed the wip-wjw-reduce-info-messages branch from f2c6116 to 8241a32 Compare July 31, 2017 12:52
@wjwithagen
Copy link
Contributor Author

@tchaikov
Removed the current change to filestore/HashIndex.cc
And will submit a PR for the missing compat.h file

@liewegas liewegas merged commit d73e0b2 into ceph:master Aug 11, 2017
@wjwithagen wjwithagen deleted the wip-wjw-reduce-info-messages branch February 11, 2018 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants