`odo doctor` as a diagnostic command to find issues that would prevent from making the most out of odo
/kind user-story
User Story
As an odo user, I want to quickly verify that there are no issues that would prevent me from using all odo's features.
odo doctor can be used as a diagnostic command to find potential issues (on my local machine or in my cluster) in advance, and provide helpful information about what needs to be resolved if any issues arise.
Acceptance Criteria
- [ ] It should run all checks and should continue even if one check in the middle does not pass
- [ ] Possible checks (we can iterate on those and more later on):
- [ ] Validate my local devfile (syntax)
- [ ] Check if podman or docker binary (
PODMAN_CMDenv var) is available, and if the version is compatible with building images via odo - [ ] Check if podman (
PODMAN_CMDenv var) is available and if the version is compatible with runningodo devon Podman - [ ] Check if Service Binding operator is installed (???)
- [ ] Check if cluster is reachable and if user has the necessary permissions (we need to clarify which permissions are needed)
- [ ] Check that current namespace is not the default one on OpenShift
- [ ] https://github.com/redhat-developer/odo/issues/6992
- [ ] For each failing check, it should provide information about possible remediation steps
- [ ] It should provide JSON output
- [ ] Optional: It should accept a
--checksflag that allows specifying a comma-separated list of checks to run - [ ] Documentation should provide a clear description of each check and the possible remediation steps for each issue
Links
- Related Epic (mandatory):
/kind user-story
Assigning to myself to add more details.
/assign @rm3l
/remove-triage needs-information
/retitle odo doctor as a diagnostic tool to find issues that would prevent from making the most out of odo
/unassign
Updated the description and title of this issue.
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.
/remove-lifecycle stale /lifecycle frozen