onepanel icon indicating copy to clipboard operation
onepanel copied to clipboard

opctl init: unknown component 'storage'

Open mgropp opened this issue 3 years ago • 3 comments

Describe the bug I'm following the quick start guide on https://docs.onepanel.ai/docs/getting-started/quickstart and ran into this error in step 1.2 (opctl init):

$ opctl init --provider aks --artifact-repository-provider abs --gpu-device-plugins nvidia
2021/11/05 22:03:15 Initializing...
2021/11/05 22:03:15 [error] Adding Cloud Provider: unknown component 'storage'

opctl version

$ opctl version
CLI version: v1.0.2
Manifest version: v1.0.2
API version: v1.0.2
Web UI version: v1.0.2

Kubernetes information

  • Cloud provider: AKS
  • Kubernetes version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2
fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:10:45Z", GoVers
ion:"go1.16.8", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"ed93e7ea8f
833824d05578765c2ad3efbebbfebe", GitTreeState:"clean", BuildDate:"2021-10-21T03:31:08Z", GoVers
ion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
$ az --version
azure-cli                         2.30.0
core                              2.30.0
telemetry                          1.0.6

Machine information

  • OS: Windows 10 1809 17763.1935

mgropp avatar Nov 05 '21 21:11 mgropp

Hi @mgropp,

I'll be looking into this. Just tested on a mac and that looks fine, might be windows specific. Will let you know tomorrow when I have access to a windows machine.

Vafilor avatar Nov 05 '21 21:11 Vafilor

Hi @mgropp,

We have not been able to reproduce this error on windows.

Have you used Onepanel before? If so, I would suggest you create a new folder, change directory into it, and run the init command again. There can be version conflicts if it is done in the same directory.

Let me know if you're still having issues after trying the above.

Vafilor avatar Nov 08 '21 20:11 Vafilor

Hi @Vafilor !

I tried it in a fresh directory, but that didn't make any difference.

For me personally, I have now just moved to WSL and the installation worked from there. But if you need any input on this issue here, let me know!

mgropp avatar Nov 09 '21 09:11 mgropp