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
1. on demand: print which instance type was randomly chosen
2. spot: print more details when no good choice was found
Signed-off-by: Pavol Pitonak <ppitonak@redhat.com>
logging.Debugf(" Region %s, AZ %s: %d instance type(s) with pricing %v, has placement score: %t (need %d types per AZ)",
309
+
r, az, len(types), types, hasPlacement, numberOfTypesForSpot)
310
+
}
311
+
}
312
+
}
313
+
returnnil, fmt.Errorf("no good spot choice was found: need %d instance types in the same AZ with both spot pricing and placement scores above minimum threshold, but no AZ met this requirement",
314
+
numberOfTypesForSpot)
287
315
}
288
-
logging.Debugf("Sorted %d spot options by price", len(spis))
289
-
fori, spi:=rangespis {
290
-
logging.Debugf(" Option %d: Region %s, AZ %s, Price $%.4f, Score %d, Instance types: %v",
0 commit comments