We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
odo logs
/kind bug
Operating System: Fedora 37, kernel 6.1.7-200.fc37.x86_64
Output of odo version: odo v3.6.0 (4c14a74)
odo version
From a component directory (i.e. with a devfile.yaml):
devfile.yaml
KUBECONFIG=/dev/null odo logs
$ KUBECONFIG=/dev/null odo logs panic: GetNamespace can be called only when clientset.KUBERNETES is added to dependencies goroutine 1 [running]: github.com/redhat-developer/odo/pkg/odo/context.GetNamespace({0x3561a58?, 0xc000894090?}) /home/asoro/work/projects/odo/pkg/odo/context/kubernetes.go:26 +0x65 github.com/redhat-developer/odo/pkg/odo/cli/logs.(*LogsOptions).Run(0xc000341b20, {0x3561a58, 0xc000894090}) /home/asoro/work/projects/odo/pkg/odo/cli/logs/logs.go:123 +0x11a github.com/redhat-developer/odo/pkg/odo/genericclioptions.GenericRun({0x3562660, 0xc000341b20}, 0xc0005e2c80, {0x4904d08, 0x0, 0x0}) /home/asoro/work/projects/odo/pkg/odo/genericclioptions/runnable.go:282 +0x1659 github.com/redhat-developer/odo/pkg/odo/cli/logs.NewCmdLogs.func1(0xc0005e2c80?, {0x4904d08?, 0x0?, 0x0?}) /home/asoro/work/projects/odo/pkg/odo/cli/logs/logs.go:239 +0x38 github.com/spf13/cobra.(*Command).execute(0xc0005e2c80, {0x4904d08, 0x0, 0x0}) /home/asoro/work/projects/odo/vendor/github.com/spf13/cobra/command.go:872 +0x694 github.com/spf13/cobra.(*Command).ExecuteC(0xc0005ae780) /home/asoro/work/projects/odo/vendor/github.com/spf13/cobra/command.go:990 +0x3b4 github.com/spf13/cobra.(*Command).Execute(...) /home/asoro/work/projects/odo/vendor/github.com/spf13/cobra/command.go:918 github.com/spf13/cobra.(*Command).ExecuteContext(...) /home/asoro/work/projects/odo/vendor/github.com/spf13/cobra/command.go:911 main.main() /home/asoro/work/projects/odo/cmd/odo/odo.go:83 +0x579
We should not panic, but return a nicer error message.
—
The text was updated successfully, but these errors were encountered:
feloy
Successfully merging a pull request may close this issue.
/kind bug
What versions of software are you using?
Operating System:
Fedora 37, kernel 6.1.7-200.fc37.x86_64
Output of
odo version
:odo v3.6.0 (4c14a74)
How did you run odo exactly?
From a component directory (i.e. with a
devfile.yaml
):Actual behavior
Expected behavior
We should not panic, but return a nicer error message.
Any logs, error output, etc?
—
The text was updated successfully, but these errors were encountered: