Files
nomad/client
Seth Hoenig da1235f35b client/fingerprint/cpu: use fallback total compute value if cpu not detected
Previously, Nomad would fail to startup if the CPU fingerprinter could
not detect the cpu total compute (i.e. cores * mhz). This is common on
some EC2 instance types (graviton class), where the env_aws fingerprinter
will override the detected CPU performance with a more accurate value
anyway.

Instead of crashing on startup, have Nomad use a low default for available
cpu performance of 1000 ticks (e.g. 1 core * 1 GHz). This enables Nomad
to get past the useless cpu fingerprinting on those EC2 instances. The
crashing error message is now a log statement suggesting the setting of
cpu_total_compute in client config.

Fixes #7989
2020-12-09 10:35:58 -06:00
..
2020-08-24 20:22:42 -04:00
2020-03-15 09:37:05 +01:00
2020-03-21 17:57:48 +01:00
2020-10-19 09:30:15 -04:00
2020-10-14 15:17:47 -07:00
2020-10-19 09:30:15 -04:00
2019-01-11 11:36:37 -08:00
2020-03-02 13:47:43 -05:00
2018-10-16 16:53:29 -07:00