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
When having an auth-provider odic, vsub fails as follows:
./vsub --command "sleep 1000" -n test7 panic: no Auth Provider found for name "oidc" goroutine 1 [running]: volcano.sh/apis/pkg/client/clientset/versioned.NewForConfigOrDie(...) /home/juliogallegos/go/pkg/mod/volcano.sh/[email protected]/pkg/client/clientset/versioned/clientset.go:155 volcano.sh/volcano/pkg/cli/vsub.RunJob({0x199cf58, 0x25839c0}) /home/juliogallegos/git/volcano/pkg/cli/vsub/run.go:151 +0x272 main.main.func1(0xc00026e008, {0x17315dc?, 0x4?, 0x17315e0?}) /home/juliogallegos/git/volcano/cmd/cli/vsub/main.go:34 +0x29 github.com/spf13/cobra.(*Command).execute(0xc00026e008, {0xc000148010, 0x4, 0x4}) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x847 github.com/spf13/cobra.(*Command).ExecuteC(0xc00026e008) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3a5 github.com/spf13/cobra.(*Command).Execute(...) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 k8s.io/component-base/cli.run(0xc00026e008) /home/juliogallegos/go/pkg/mod/k8s.io/[email protected]/cli/run.go:146 +0x290 k8s.io/component-base/cli.Run(0xc00026e008?) /home/juliogallegos/go/pkg/mod/k8s.io/[email protected]/cli/run.go:46 +0x17 main.main() /home/juliogallegos/git/volcano/cmd/cli/vsub/main.go:41 +0x105
we get the following exception:
./vsub --command "sleep 1000" -n test7 panic: no Auth Provider found for name "oidc" goroutine 1 [running]: volcano.sh/apis/pkg/client/clientset/versioned.NewForConfigOrDie(...) /home/juliogallegos/go/pkg/mod/volcano.sh/[email protected]/pkg/client/clientset/versioned/clientset.go:155 volcano.sh/volcano/pkg/cli/vsub.RunJob({0x199cf58, 0x25839c0}) /home/juliogallegos/git/volcano/pkg/cli/vsub/run.go:151 +0x272 main.main.func1(0xc000330308, {0x17315dc?, 0x4?, 0x17315e0?}) /home/juliogallegos/git/volcano/cmd/cli/vsub/main.go:34 +0x29 github.com/spf13/cobra.(*Command).execute(0xc000330308, {0xc000148010, 0x4, 0x4}) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x847 github.com/spf13/cobra.(*Command).ExecuteC(0xc000330308) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3a5 github.com/spf13/cobra.(*Command).Execute(...) /home/juliogallegos/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 k8s.io/component-base/cli.run(0xc000330308) /home/juliogallegos/go/pkg/mod/k8s.io/[email protected]/cli/run.go:146 +0x290 k8s.io/component-base/cli.Run(0xc000330308?) /home/juliogallegos/go/pkg/mod/k8s.io/[email protected]/cli/run.go:46 +0x17 main.main() /home/juliogallegos/git/volcano/cmd/cli/vsub/main.go:41 +0x105
The expected result is a successful job submitted
1.10
I already have a fix:
adding the following import to the file cmd/cli/vsub/main.go fixes the issue:
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc" on line 22.
The text was updated successfully, but these errors were encountered:
Yeah you're right, you can refer to #3663 to import "_ k8s.io/client-go/plugin/pkg/client/auth" directly and please feel free to contribute.
Sorry, something went wrong.
jjuliogallegos01
No branches or pull requests
Description
When having an auth-provider odic, vsub fails as follows:
Steps to reproduce the issue
Describe the results you received and expected
we get the following exception:
The expected result is a successful job submitted
What version of Volcano are you using?
1.10
Any other relevant information
I already have a fix:
adding the following import to the file cmd/cli/vsub/main.go fixes the issue:
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc" on line 22.
The text was updated successfully, but these errors were encountered: