0

I'm trying to create a new jenkinsx cluster using jx. This is the command I am running:

jx create cluster aws --ng

And this is the error I get:

error: creating the system vault: creating vault: Missing S3 bucket flag

It seems to fail out on creating the vault due to missing a bucket flag, and I'm not sure how to remedy that.

Slippy
  • 1,253
  • 5
  • 22
  • 43

1 Answers1

2

Did you try

jx create cluster aws --ng --state s3://<bucket_name>

Also, ensure you are using the latest release

Sushant Sonker
  • 132
  • 1
  • 5
  • Yes, I tried it with the --state flag, I still get the error :( – Slippy May 14 '19 at 17:58
  • I am guessing you already ensured access to the bucket from wherever you are running the jx command. Can you try to copy something to the s3 bucket from the same location and as same user from where you are running the jx command? Does that succeed? – Sushant Sonker May 14 '19 at 18:45
  • Also try interchanging the options in the command as below ```jx create cluster aws --state s3:// --ng ``` – Sushant Sonker May 14 '19 at 18:46
  • Tried both of these, and it doesn't fix unfortunately. – Slippy May 15 '19 at 15:41
  • As I mentioned in my earlier answer, ensure you are using the latest version. I was able to run the command ```jx create cluster aws --ng``` without any errors. I am using versions as below NAME VERSION jx 2.0.123 Kubernetes cluster v1.12.7 kubectl v1.13.0 git git version 2.19.0.windows.1 – Sushant Sonker May 16 '19 at 13:02