Actions
Issue #7335
closedpulp_installer fails with "template error while templating string: no test named"
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:
Description
TASK [pulp_health_check : Ensure Pulp is up and healthy] ***********************
fatal: [pulp2-nightly-pulp3-source-centos7]: FAILED! => {}
MSG:
The conditional check ''json' in result and result.json.database_connection.connected is true and result.json.redis_connection.connected is true and result.json.online_workers | map(attribute='name') | select('match', '^resource-manager$') | list | count > 0 and result.json.online_workers | map(attribute='name') | select('match', '^[0-9]+@.*$') | list | count > 0
' failed. The error was: template error while templating string: no test named 'true'. String: {% if 'json' in result and result.json.database_connection.connected is true and result.json.redis_connection.connected is true and result.json.online_workers | map(attribute='name') | select('match', '^resource-manager$') | list | count > 0 and result.json.online_workers | map(attribute='name') | select('match', '^[0-9]+@.*$') | list | count > 0
%} True {% else %} False {% endif %}
Actions
Fix template for pulp_health_check
https://pulp.plan.io/issues/7335 closes #7335