Project

Profile

Help

Issue #7335

closed

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

Added by ipanova@redhat.com over 4 years ago. Updated about 4 years ago.

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 #1

Updated by ipanova@redhat.com over 4 years ago

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

Actions #2

Updated by bmbouter over 4 years ago

  • Category set to Installer - Moved to GitHub issues
Actions #3

Updated by mdepaulo@redhat.com over 4 years ago

  • Assignee set to fao89
  • Sprint set to Sprint 79
Actions #4

Updated by mdepaulo@redhat.com over 4 years ago

Please provide your vagrant config file.

Thanks, -Mike & fao89

Actions #5

Updated by pulpbot over 4 years ago

  • Status changed from NEW to POST

Added by Fabricio Aguiar over 4 years ago

Revision 3e5df43a | View on GitHub

Fix template for pulp_health_check

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

Added by Fabricio Aguiar over 4 years ago

Revision 3e5df43a | View on GitHub

Fix template for pulp_health_check

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

Actions #6

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #7

Updated by ttereshc about 4 years ago

  • Sprint/Milestone set to 3.8.0
Actions #8

Updated by ttereshc about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF