Convox Community

ERROR: ValidationError: No updates are to be performed

When following these steps in [20170913220722] Spot Instance and Rack API Availability Improvements

$ convox rack params set AutoScale=No
$ convox rack params set  InstanceType=t3.small InstanceCount=3 OnDemandMinCount=3
$ convox rack params set SpotInstanceBid=0.0099

after running the first two commands I get the following error for both of them

Updating parameters... ERROR: ValidationError: No updates are to be performed.
	status code: 400, request id: 974d834f-cd39-11e9-98ea-c395aa3321b3

The only command that works is $ convox rack params set SpotInstanceBid=0.0099

But even though the SpotInstanceBid command works, after looking at my AWS console I don’t see any bids going on. In the AutoScalingGroup I see a SpotLaunch with 0 instances, 0 desired, 0 min

Any ideas what is going on?

Hey @moises,
So as a hypthesis, if your Rack already had the params set as per those first two lines, then no updated would be required when running them.
With those parameters (specifically, having an InstanceCount of 3 and having OnDemand making up all 3 of those), your cluster wouldn’t require any further Spot instances to be launched.

If you set your InstanceCount to be higher than 3, I’d expect that SpotLaunch to get going to fill up the difference.

Hope that helps, and makes sense!
Ed

Hey @ed_convox ,

In my convox rack params AutoScale is set to Yes and when I run

$ convox rack params set AutoScale=No

I get

Updating parameters... ERROR: ValidationError: No updates are to be performed.
	status code: 400, request id: 974d834f-cd39-11e9-98ea-c395aa3321b3

As for the SpotInstanceBid, you are right once my instance count increased the SpotLaunch did fill the difference.

1 Like