We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting the following error message when using gluster.infra:
gluster.infra
TASK [gluster.infra/roles/backend_setup : Create volume groups] ******************************************************************************************************************************** failed: [hc2-02] (item={'key': 'vg.gluster', 'value': [{'vgname': 'vg.gluster', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "vg.gluster", "value": [{"pvname": "/dev/sda", "vgname": "vg.gluster"}]}, "msg": "Failed to find required executable pvs in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
Running sudo apt install lvm2 -y on the remote machine fixes the problem.
sudo apt install lvm2 -y
Shouldn't this package be installed (if not already installed) by gluster.infra like the thin-provisioning-tools package is?
thin-provisioning-tools
The text was updated successfully, but these errors were encountered:
On a similar note, xfsprogs isn't installed either:
xfsprogs
TASK [gluster.infra/roles/backend_setup : Create filesystem on thin logical vols] ************************************************************************************************************** failed: [hc2-02] (item={'vgname': 'vg.gluster', 'thinpool': 'thinpool', 'lvname': 'lv.thin', 'lvsize': '2T'}) => {"ansible_index_var": "index", "ansible_loop_var": "item", "changed": false, "index": 0, "item": {"lvname": "lv.thin", "lvsize": "2T", "thinpool": "thinpool", "vgname": "vg.gluster"}, "msg": "Failed to find required executable mkfs.xfs in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
Sorry, something went wrong.
No branches or pull requests
Getting the following error message when using
gluster.infra
:Running
sudo apt install lvm2 -y
on the remote machine fixes the problem.Shouldn't this package be installed (if not already installed) by
gluster.infra
like thethin-provisioning-tools
package is?The text was updated successfully, but these errors were encountered: