dm-vdo / bunsen

Ansible suite to configure a set of machines to replicate the VDO Team's test environment.
GNU General Public License v2.0
0 stars 4 forks source link

Provisioning farms fail due to repartition_home #29

Open rhawalsh opened 1 year ago

rhawalsh commented 1 year ago

When attempting to provision the fedora/36-cloud-base or fedora/37-cloud-base images from Vagrant, the repartition_home task fails.

fatal: [ossbunsen-farm-f36-1]: FAILED! => {}                                                                                                                                                                                                                                                                                                                               

MSG:                                                                                                                                                                                                                                                                                                                                                                       

The conditional check ''/home' in mount_points and 'home' in existing_lvs and '/home' not in ansible_env['PWD']' failed. The error was: error while evaluating conditional ('/home' in mount_points and 'home' in existing_lvs and '/home' not in ansible_env['PWD']): {%- if ansible_lvm is defined -%} {{ ansible_lvm.lvs.keys() | list }} {%- else -%} {{ [] }} {%- endif -%}: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' 
has no attribute 'lvs'. 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'lvs'. {%- if ansible_lvm is defined -%} {{ ansible_lvm.lvs.keys() | list }} {%- else -%} {{ [] }} {%- endif -%}: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'lvs'. 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'lvs' 

The error appears to be in '/home/awalsh/git/github/dm-vdo/bunsen/provisioning/roles/repartition_home/tasks/main.yml': line 9, column 3, but may                                                                                                                                                                                                                           
be elsewhere in the file depending on the exact syntax problem.                                                                                                                                                                                                                                                                                                            

The offending line appears to be:                                                                                                                                                                                                                                                                                                                                          

- include_tasks: repartition.yml                                                                                                                                                                                                                                                                                                                                           
  ^ here