Merge pull request #3712 from jladdjr/iso_node_healthcheck_should_not_reset_capacity

Do not reset capacity of iso nodes when disabled

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-04-15 20:40:01 +00:00 committed by GitHub
commit d222bed932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,7 @@ class IsolatedManager(object):
Performs save on each instance to update its capacity.
'''
try:
instance_qs = instance_qs.filter(enabled=True)
private_data_dir = tempfile.mkdtemp(
prefix='awx_iso_heartbeat_',
dir=settings.AWX_PROOT_BASE_PATH