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

Unhelpful error message when missing executable #766

Closed
tasleson opened this issue Feb 16, 2018 · 3 comments
Closed

Unhelpful error message when missing executable #766

tasleson opened this issue Feb 16, 2018 · 3 comments
Assignees
Milestone

Comments

@tasleson
Copy link
Contributor

If you're missing the xfsprogs package when you try to create a pool you will get the message:

Execution failed: 4: entity not found

This could be clearer.

@mulkieran
Copy link
Member

Related: #530.

@agrover agrover added this to the Version 1.0 milestone Feb 16, 2018
@tasleson
Copy link
Contributor Author

Related: #771

@mulkieran
Copy link
Member

I'm going to consider this closed by #986. At this point stratis-cli will never report:

Execution failed: 4: entity not found

because

  1. the engine will have promptly exited, on discovering that the binaries it relies on does not exist. So, stratis-cli, when invoked to do anything, will report instead a D-Bus exception and will summarize its best guess as that the Stratis daemon is not running OR

  2. the engine will have found the necessary executables, which will now have gone missing. In that case, the daemon will put an error on the D-Bus, and the error will be the current string, which is: "Executable previously located at <absolute path of executable> seems to have been removed since stratisd was started".

Stratis 1.0 (Sprint 9) automation moved this from In progress to Done (Current Sprint) Jun 14, 2018
@agrover agrover moved this from Done (Current Sprint) to Done (Previous Sprints) in Stratis 1.0 (Sprint 9) Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants