Project

Profile

Help

Issue #7335

pulp_installer fails with "template error while templating string: no test named"

Added by ipanova@redhat.com 12 months ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer
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 %}


Associated revisions

Revision 3e5df43a View on GitHub
Added by Fabricio Aguiar 12 months ago

Fix template for pulp_health_check

https://pulp.plan.io/issues/7335 closes #7335

Revision 3e5df43a View on GitHub
Added by Fabricio Aguiar 12 months ago

Fix template for pulp_health_check

https://pulp.plan.io/issues/7335 closes #7335

History

#1 Updated by ipanova@redhat.com 12 months ago

switching from result.json.database_connection.connected is true to result.json.database_connection.connected == true

#2 Updated by bmbouter 12 months ago

  • Category set to Installer

#3 Updated by mdepaulo@redhat.com 12 months ago

  • Assignee set to fao89
  • Sprint set to Sprint 79

#4 Updated by mdepaulo@redhat.com 12 months ago

Please provide your vagrant config file.

Thanks, -Mike & fao89

#5 Updated by pulpbot 12 months ago

  • Status changed from NEW to POST

#6 Updated by Anonymous 12 months ago

  • Status changed from POST to MODIFIED

#7 Updated by ttereshc 10 months ago

  • Sprint/Milestone set to 3.8.0

#8 Updated by ttereshc 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF