Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning farms fail due to repartition_home #29

Open
rhawalsh opened this issue May 11, 2023 · 0 comments
Open

Provisioning farms fail due to repartition_home #29

rhawalsh opened this issue May 11, 2023 · 0 comments
Assignees

Comments

@rhawalsh
Copy link
Member

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
@rhawalsh rhawalsh self-assigned this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant