You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to create bricks via webui.
In the logs I have found:
"Exception:[Errno 2] No such file or directory: b'echo /root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin ; lvcreate -l 100%FREE --chunksize 256K --poolmetadatasize 16777.0 --zero n --type thin-pool --thinpool vmstore1_lv_pool RHGS_vg_vmstore1'"
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/gluster-brick-create/tasks/main.yml
contains 2 tasks that will never execute properly because of using double quotes with > (Folded Block Scalar).
Broken tasks are:
name: Create a LV thinpool
name: Create an xfs filesystem
Simple fix - remove double quotes for command in these tasks - they do not work with > (Folded Block Scalar).
Simple ansible playbook to reproduce the issue with double quotes and folded block scalar:
---
- name: Test
hosts: localhost
gather_facts: false
connection: local
tasks:
- name: Folded Block Scalar test without double quotaion marks
ansible.builtin.command: >
id
root
- name: Folded Block Scalar test without double quotaion marks
ansible.builtin.command: >
"id
root"
...
The text was updated successfully, but these errors were encountered:
Unable to create bricks via webui.
In the logs I have found:
"Exception:[Errno 2] No such file or directory: b'echo /root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin ; lvcreate -l 100%FREE --chunksize 256K --poolmetadatasize 16777.0 --zero n --type thin-pool --thinpool vmstore1_lv_pool RHGS_vg_vmstore1'"
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/gluster-brick-create/tasks/main.yml
contains 2 tasks that will never execute properly because of using double quotes with > (Folded Block Scalar).
Broken tasks are:
Simple fix - remove double quotes for command in these tasks - they do not work with > (Folded Block Scalar).
Is:
Should be:
Is:
Should be:
Simple ansible playbook to reproduce the issue with double quotes and folded block scalar:
The text was updated successfully, but these errors were encountered: