Skip to content

The system cannot find the path specified on Windows #97

@RoboMWM

Description

@RoboMWM

Bug Report

What did you do?
Attempted running must-gather-clean.exe on Windows

\must-gather-clean.exe -c .\config.yml -i .\must-gather.local.7793798230579498337\ -o must-gather-output-cleaned

Attempted with https://github.com/openshift/must-gather-clean/blob/main/examples/openshift_default.yaml and https://github.com/openshift/must-gather-clean/blob/main/examples/openshift_omit_network.yaml configs

What did you see instead? Under which circumstances?

F0702 13:06:43.785936   12296 traversal.go:43] failed to process quay-io-openshift-pipeline-must-gather-sha256-31fb5062b1f61c4189237bf8ec8a5245b89a365e6dac49a2e25341b751623f48\cluster-scoped-resources\[apiextensions.k8s.io](http://apiextensions.k8s.io/)\customresourcedefinitions\clustertasks.tekton.dev.yaml due to open must-gather.local.7793798230579498337\quay-io-openshift-pipeline-must-gather-sha256-31fb5062b1f61c4189237bf8ec8a5245b89a365e6dac49a2e25341b751623f48\cluster-scoped-resources\[apiextensions.k8s.io](http://apiextensions.k8s.io/)\customresourcedefinitions\clustertasks.tekton.dev.yaml: The system cannot find the path specified.

The file does exist though. I copied and pasted the file path it claims it cannot find must-gather.local.7793798230579498337\quay-io-openshift-pipeline-must-gather-sha256-31fb5062b1f61c4189237bf8ec8a5245b89a365e6dac49a2e25341b751623f48\cluster-scoped-resources\[apiextensions.k8s.io](http://apiextensions.k8s.io/)\customresourcedefinitions\clustertasks.tekton.dev.yaml and it opens straight away in my editor.

Environment

  • must-gather-clean version: Version: pkg.Version{Version:"v0.0.1-0-gd02283f", GitCommit:"d02283f", BuildDate:"2021-10-01T09:44:36Z", GoOs:"windows", GoArch:"amd64"}

  • OpenShift Version: 4.18.18 but has been happening with older openshift versions on Windows, just never had an opportunity to report this here.

  • Occurs in both Powershell, command prompt, and git-bash (mintty terminal I believe).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions