Hide Forgot
Description of problem: Validation: Verify existence of deployment images. fails with : output: Task 'Check for required images' failed: Host: localhost Message: The conditional check '"{{ item }}" not in "{{ shell_result.stdout }}"' failed. The error was: Invalid conditional detected: EOL while scanning string literal (<unknown>, line 1) The error appears to have been in '/usr/share/openstack-tripleo-validations/validations/deployment-images.yaml': line 16, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Check for required images ^ here Failure! The validation failed for all hosts: * localhost Version-Release number of selected component (if applicable): openstack-tripleo-ui-3.1.0-8.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. verify overcloud images are uploaded in glance 'openstack image list --format value --column Name' 2.run " Verify existence of deployment images" validation on UI Actual results: Validation fails Expected results: Validation succeeds Additional info:
Fix: shell_result.stdout to shell_result.stdout_lines Example: - name: Check for required images fail: msg='The image "{{ item }}" is missing.' when: '"{{ item }}" not in "{{ shell_result.stdout_lines }}"' with_items: - bm-deploy-kernel - bm-deploy-ramdisk
*** Bug 1490125 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462