Files
nomad/client/fingerprint
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-06-18 11:05:29 -07:00
2020-06-18 11:05:29 -07:00
2020-06-19 09:42:10 -04:00
2019-01-22 15:44:31 -08:00
2019-11-26 10:51:28 -05:00
2018-10-16 16:53:31 -07:00
2020-07-01 15:25:13 -04:00
2018-10-16 16:56:56 -07:00