Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect capacity for remote execution nodes 14051 #14272

Conversation

djyasin
Copy link
Member

@djyasin djyasin commented Jul 20, 2023

SUMMARY

Fixes issue #14051
Correct reporting for task container resource limits set (in k8s), revising the handling of execution nodes specifically.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION
22.5.1
ADDITIONAL INFORMATION

@djyasin djyasin force-pushed the incorrect_capacity_for_remote_execution_nodes_14051 branch 2 times, most recently from 4dfde3e to 72a56ea Compare July 20, 2023 19:11
@djyasin djyasin force-pushed the incorrect_capacity_for_remote_execution_nodes_14051 branch from e26202c to 781892e Compare July 28, 2023 15:29
@djyasin djyasin force-pushed the incorrect_capacity_for_remote_execution_nodes_14051 branch from 781892e to 1caa711 Compare August 1, 2023 19:36
@@ -354,7 +354,7 @@ def local_health_check(self):
except redis.ConnectionError:
errors = _('Failed to connect to Redis')

self.save_health_data(awx_application_version, get_cpu_count(), get_mem_in_bytes(), update_last_seen=True, errors=errors)
self.save_health_data(self, awx_application_version, get_cpu_count(), get_mem_in_bytes(), update_last_seen=True, errors=errors)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self is automatically passed by python as the first argument in bound methods like these.

@djyasin djyasin closed this Aug 3, 2023
@djyasin djyasin force-pushed the incorrect_capacity_for_remote_execution_nodes_14051 branch from 7e03efd to 6d1c8de Compare August 3, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants