You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What kops version are you running? The command kops version, will display
this information.
$ kops version
Version 1.8.0
What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.
What commands did you run? What is the simplest way to reproduce this issue?
Create an instance group with minSize higher than maxSize.
kops create ig testig
edit the yaml so that maxSize is smaller than minSize. (ie: 2 and 5 respectively).
then just deploy that with kops update cluster --name $NAME --yes
What happened after the commands executed?
Kops did not complain and tried to create the ig. Then when AWS correctly pushed back on not creating an autoscaling group with the wrong limits, kops would just keep retrying (admittedly I hit CTRL+C before waiting for any timeout).
W0112 17:34:27.745662 86520 executor.go:109] error running task "AutoscalingGroup/testig.$clustername" (9m58s remaining to succeed): error creating AutoscalingGroup: ValidationError: Max bound, 2, must be greater than or equal to min bound, 5
apiVersion: kops/v1alpha2
status code: 400, request id: bf7ca677-f7e8-11e7-8428-fb0b1ec19d3e
I0112 17:34:27.745692 86520 executor.go:124] No progress made, sleeping before retrying 1 failed task(s)
I0112 17:34:37.749998 86520 executor.go:91] Tasks: 132 done / 133 total; 1 can run
W0112 17:34:38.189608 86520 executor.go:109] error running task "AutoscalingGroup/testig.$clustername" (9m47s remaining to succeed): error creating AutoscalingGroup: ValidationError: Max bound, 2, must be greater than or equal to min bound, 5
status code: 400, request id: c5b29d31-f7e8-11e7-b3a5-25efbdb3be2a
I0112 17:34:38.189648 86520 executor.go:124] No progress made, sleeping before retrying 1 failed task(s)
I0112 17:34:48.190326 86520 executor.go:91] Tasks: 132 done / 133 total; 1 can run
W0112 17:34:49.007471 86520 executor.go:109] error running task "AutoscalingGroup/testig.$clustername" (9m37s remaining to succeed): error creating AutoscalingGroup: ValidationError: Max bound, 2, must be greater than or equal to min bound, 5
status code: 400, request id: cc280ee5-f7e8-11e7-9486-31a2a6721f89
What did you expect to happen?
Kops warn the user that the sizes are incorrect instead of attempting to create the instance group.
Please provide your cluster manifest. Execute kops get --name my.example.com -oyaml to display your cluster manifest.
You may want to remove your cluster name and other sensitive information.
Please run the commands with most verbose logging by adding the -v 10 flag.
Paste the logs into this report, or in a gist and provide the gist link here.
N/A
Describe IN DETAIL the feature/behavior/change you would like to see.
Kops should do a sanity check on maxSize >= minSize and in case it fails it should output a meaningful error to the user.
Feel free to provide a design supporting your feature request.
The text was updated successfully, but these errors were encountered:
While creating an additional instance group I mistakenly inverted min and max sizes.
Kops did not complain and kept trying to create it although aws was spitting out the error.
------------- BUG REPORT TEMPLATE --------------------
kops
version are you running? The commandkops version
, will displaythis information.
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.What cloud provider are you using?
AWS
What commands did you run? What is the simplest way to reproduce this issue?
Create an instance group with minSize higher than maxSize.
edit the yaml so that maxSize is smaller than minSize. (ie: 2 and 5 respectively).
then just deploy that with
kops update cluster --name $NAME --yes
Kops did not complain and tried to create the ig. Then when AWS correctly pushed back on not creating an autoscaling group with the wrong limits, kops would just keep retrying (admittedly I hit CTRL+C before waiting for any timeout).
What did you expect to happen?
Kops warn the user that the sizes are incorrect instead of attempting to create the instance group.
Please provide your cluster manifest. Execute
kops get --name my.example.com -oyaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
N/A
Anything else do we need to know?
Not really
------------- FEATURE REQUEST TEMPLATE --------------------
Describe IN DETAIL the feature/behavior/change you would like to see.
Kops should do a sanity check on maxSize >= minSize and in case it fails it should output a meaningful error to the user.
Feel free to provide a design supporting your feature request.
The text was updated successfully, but these errors were encountered: