Skip to content

bug: example cluster command is outdated #2

New issue

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

Open
mavogel opened this issue Mar 29, 2020 · 1 comment
Open

bug: example cluster command is outdated #2

mavogel opened this issue Mar 29, 2020 · 1 comment

Comments

@mavogel
Copy link

mavogel commented Mar 29, 2020

What happened:
Cannot run the example command

What you expected to happen:
The example command runs without an error

How to reproduce it (as minimally and precisely as possible):

$ spotctl ocean create cluster kubernetes spotctl-k8s
Exited with error: POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=xxx: 400 (request: "10bfcd39-fec0-4894-9ba7-1c3927149b9d") ValidationError: "name" is required (field: body:cluster.name)

# so I tried
$ spotctl ocean create cluster kubernetes \
    --name spotctl-k8s
Exited with error: POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=xxx: 400 (request: "890f2f3e-f060-4e14-8bc8-f7e34f832da7") ValidationError: "controllerClusterId" is required (field: body:cluster.controllerClusterId)

-> could not find a controllerClusterId param so I gave up.

Anything else we need to know:

Environment:

  • CLI version (use spotinst version): 0.0.12+4af55ea
  • OS (e.g: cat /etc/os-release): MacOS Catalina 10.15.3
  • Kernel (e.g. uname -a): Darwin xxx.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,2 Darwin
  • Others:
    • Kops: Version 1.16.0
@liranp liranp added the bug label Apr 26, 2020
@liranp
Copy link
Contributor

liranp commented Apr 26, 2020

Thank you for letting us know, @mavogel. I'm sorry for the delay in replying. We'll check it as soon as possible and implement a fix for that, if necessary.

@liranp liranp removed the bug label Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants