print debugging

This commit is contained in:
2021-12-09 14:41:25 -06:00
parent 2ce638ab29
commit 92af0192c7
2 changed files with 16 additions and 0 deletions

View File

@ -40,7 +40,9 @@
{% if in_db_but_not_in_virt|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>🚨 in the database but not in the virtualization model 🚨</h1>
</div>
{% for vm in in_db_but_not_in_virt %}
<div class="row">
{{vm['id']}} {{vm['public_ipv4']}}
@ -54,7 +56,9 @@
{% if state_not_equal_to_desired_state|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>😴 vm state != desired state 😴</h1>
</div>
{% for vm in state_not_equal_to_desired_state %}
<div class="row">
<div>{{vm['id']}}: state={{vm['state']}} desired_state={{vm['desired_state']}}</div>
@ -75,7 +79,9 @@
{% if stole_someone_elses_ip_and_own_ip_avaliable|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>👻 stole someone elses ip and own desired ip is avaliable 👻</h1>
</div>
{% for vm in stole_someone_elses_ip_and_own_ip_avaliable %}
<div class="row">
<div>{{vm['id']}}: current_ipv4={{vm['current_ipv4']}} desired_ipv4={{vm['desired_ipv4']}}</div>
@ -93,7 +99,9 @@
{% if has_wrong_ip|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>🥴 has wrong ip address 🥴</h1>
</div>
{% for vm in has_wrong_ip %}
<div class="row">
<div>{{vm['id']}}: current_ipv4={{vm['current_ipv4']}} desired_ipv4={{vm['desired_ipv4']}}</div>
@ -112,7 +120,9 @@
{% if stole_someone_elses_ip_but_own_ip_also_stolen|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>💀 stole someone elses ip but own desired ip was also stolen 💀</h1>
</div>
{% for vm in stole_someone_elses_ip_but_own_ip_also_stolen %}
<div class="row">
<div>{{vm['id']}}: current_ipv4={{vm['current_ipv4']}} desired_ipv4={{vm['desired_ipv4']}}</div>