I posted this in the Users group but perhaps it needs to be in Development as 
I’ve not had a response yet.
Hi,
In 4.4 adding additional gluster volumes was a simple ansible task (or via 
cockpit).  With 4.5.2 I tried to add new volumes but the logic has 
changed/broken. Here's the error I am getting:  TASK 
[gluster.infra/roles/backend_setup : Create volume groups] 
********************************************************************************************************************************
 failed: [bdtovirthcidmz02-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 
'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => 
{"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", 
"--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], 
"delta": "0:00:00.010442", "end": "2022-11-10 13:11:16.717772", "item": {"key": 
"gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": 
"gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": 
"2022-11-10 13:11:16.707330", "stderr": " Configuration setting \"filter\" 
invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in 
filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": ["  
Configuration setting \"filter\" invalid. It's not part of any section.", " 
/dev/gluster_vg_sda: already exists in filesystem", "  Run `vgcreate --help' 
for more information."], "stdout": "", "stdout_lines": []} failed: 
[bdtovirthcidmz03-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': 
[{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": 
"item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", 
"2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.010231", "end": 
"2022-11-10 13:12:35.607565", "item": {"key": "gluster_vg_sda", "value": 
[{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return 
code", "rc": 3, "start": "2022-11-10 13:12:35.597334", "stderr": " 
Configuration setting \"filter\" invalid. It's not part of any section.\n 
/dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for 
more information.", "stderr_lines": ["  Configuration setting \"filter\" 
invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists 
in filesystem", "  Run `vgcreate --help' for more information."], "stdout": "", 
"stdout_lines": []} failed: [bdtovirthcidmz01-strg.mydomain.com] (item={'key': 
'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': 
'/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": 
["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", 
"/dev/sda"], "delta": "0:00:00.011282", "end": "2022-11-10 13:13:24.336233", 
"item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": 
"gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": 
"2022-11-10 13:13:24.324951", "stderr": " Configuration setting \"filter\" 
invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in 
filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": ["  
Configuration setting \"filter\" invalid. It's not part of any section.", " 
/dev/gluster_vg_sda: already exists in filesystem", "  Run `vgcreate --help' 
for more information."], "stdout": "", "stdout_lines": []}  The vg was created 
as part of the initial ansible build with logical volumes being added when 
required.  Any assistance would be greatly appreciated. 
Kind regards
Simon
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/ETTOY64MDT522MJQMBD3NCQBAAXFLBB2/

Reply via email to