mirror of
https://github.com/ansible/awx.git
synced 2026-08-03 19:40:00 -02:30
* Full finalize the planned work for health checks of execution nodes * Implementation of instance health_check endpoint * Also do version conditional to node_type * Do not use receptor mesh to check main cluster nodes health * Fix bugs from testing health check of cluster nodes, add doc * Add a few fields to health check serializer missed before * Light refactoring of error field processing * Fix errors clearing error, write more unit tests * Update health check info in docs * Bump migration of health check after rebase * Mark string for translation * Add related health_check link for system auditors too * Handle health_check cluster node timeout, add errors for peer judgement
26 lines
777 B
Python
26 lines
777 B
Python
# Generated by Django 2.2.20 on 2021-08-31 17:41
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('main', '0154_set_default_uuid'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='instance',
|
|
name='errors',
|
|
field=models.TextField(blank=True, default='', editable=False, help_text='Any error details from the last health check.'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='instance',
|
|
name='last_health_check',
|
|
field=models.DateTimeField(
|
|
editable=False, help_text='Last time a health check was ran on this instance to refresh cpu, memory, and capacity.', null=True
|
|
),
|
|
),
|
|
]
|