7478: Assign invalid cloud sizes to nodes with stale arvados_node_size tags
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Mon, 11 Jun 2018 15:10:44 +0000 (12:10 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Mon, 11 Jun 2018 15:10:44 +0000 (12:10 -0300)
commitd2efca1759c9e104f67d1caf85c8e62ff06807bd
tree31e91ca4d678d00dd6ee029af98f7e90a7e3915d
parent1965e1793598c76ceef4decd4a5a6c7755c385e3
7478: Assign invalid cloud sizes to nodes with stale arvados_node_size tags

When retrieving the node's list from the cloud provider, if the tag
refers to a non existant arvados cloud size, assign an invalid size
and return 'down' state when asked so that it can be properly shut down.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>
services/nodemanager/arvnodeman/computenode/dispatch/__init__.py
services/nodemanager/arvnodeman/jobqueue.py