PLAY [Setup backend] *********************************************************** TASK [Gathering Facts] ********************************************************* ok: [dev1-centos.office.barredowlweb.com] TASK [Check if valid hostnames are provided] *********************************** changed: [dev1-centos.office.barredowlweb.com] => (item=dev1-centos.office.barredowlweb.com) TASK [Check if provided hostnames are valid] *********************************** ok: [dev1-centos.office.barredowlweb.com] => { "changed": false, "msg": "All assertions passed" } TASK [Check if /var/log has enough disk space] ********************************* skipping: [dev1-centos.office.barredowlweb.com] TASK [Check if the /var is greater than 15G] *********************************** skipping: [dev1-centos.office.barredowlweb.com] TASK [Check if disks have logical block size of 512B] ************************** skipping: [dev1-centos.office.barredowlweb.com] => (item={'vgname': 'gluster_vg_sdb', 'pvname': '/dev/sdb'}) TASK [Check if logical block size is 512 bytes] ******************************** skipping: [dev1-centos.office.barredowlweb.com] => (item=Logical Block Size) TASK [Get logical block size of VDO devices] *********************************** skipping: [dev1-centos.office.barredowlweb.com] TASK [Check if logical block size is 512 bytes for VDO devices] **************** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/firewall_config : Start firewalld if not already started] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/firewall_config : check if required variables are set] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/firewall_config : Open/Close firewalld ports] ******** changed: [dev1-centos.office.barredowlweb.com] => (item=2049/tcp) changed: [dev1-centos.office.barredowlweb.com] => (item=54321/tcp) changed: [dev1-centos.office.barredowlweb.com] => (item=5900/tcp) changed: [dev1-centos.office.barredowlweb.com] => (item=5900-6923/tcp) changed: [dev1-centos.office.barredowlweb.com] => (item=5666/tcp) changed: [dev1-centos.office.barredowlweb.com] => (item=16514/tcp) TASK [gluster.infra/roles/firewall_config : Add/Delete services to firewalld rules] *** ok: [dev1-centos.office.barredowlweb.com] => (item=glusterfs) TASK [gluster.infra/roles/backend_setup : Check that the multipath.conf exists] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Ensure that multipathd services is enabled if not] *** changed: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Ensure that multipathd services is running] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Create /etc/multipath/conf.d if doesn't exists] *** changed: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Get the UUID of the devices] ********* failed: [dev1-centos.office.barredowlweb.com] (item=sdb) => {"ansible_loop_var": "item", "changed": true, "cmd": "multipath -a /dev/sdb", "delta": "0:00:00.011851", "end": "2020-08-26 23:59:47.973240", "item": "sdb", "msg": "non-zero return code", "rc": 1, "start": "2020-08-26 23:59:47.961389", "stderr": "Aug 26 23:59:47 | '/dev/sdb' is not a valid argument", "stderr_lines": ["Aug 26 23:59:47 | '/dev/sdb' is not a valid argument"], "stdout": "", "stdout_lines": []} ...ignoring TASK [gluster.infra/roles/backend_setup : Check that the blacklist.conf exists] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Create blacklist template content] *** changed: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Add wwid to blacklist in blacklist.conf file] *** skipping: [dev1-centos.office.barredowlweb.com] => (item={'msg': 'non-zero return code', 'cmd': 'multipath -a /dev/sdb', 'stdout': '', 'stderr': "Aug 26 23:59:47 | '/dev/sdb' is not a valid argument", 'rc': 1, 'start': '2020-08-26 23:59:47.961389', 'end': '2020-08-26 23:59:47.973240', 'delta': '0:00:00.011851', 'changed': True, 'failed': True, 'invocation': {'module_args': {'_raw_params': 'multipath -a /dev/sdb', '_uses_shell': True, 'warn': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': [], 'stderr_lines': ["Aug 26 23:59:47 | '/dev/sdb' is not a valid argument"], 'item': 'sdb', 'ansible_loop_var': 'item'}) TASK [gluster.infra/roles/backend_setup : Reload multipathd] ******************* changed: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Gather facts to determine the OS distribution] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Change to Install lvm tools for debian systems.] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Change to Install lvm tools for RHEL systems.] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Install python-yaml package for Debian systems] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Initialize vdo_devs array] *********** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Record VDO devices (if any)] ********* skipping: [dev1-centos.office.barredowlweb.com] => (item={'vgname': 'gluster_vg_sdb', 'pvname': '/dev/sdb'}) TASK [gluster.infra/roles/backend_setup : Configure lvm thinpool extend threshold] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Configure lvm thinpool extend percentage] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Check if vdo block device exists] **** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Record for missing devices for phase 2] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : set fact if it will at least install 1 vdo device] *** TASK [gluster.infra/roles/backend_setup : Install VDO dependencies] ************ skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : set fact about vdo installed deps] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Enable and start vdo service] ******** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Create VDO with specified size] ****** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Set VDO maxDiscardSize as 16M] ******* skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Restart all VDO volumes] ************* skipping: [dev1-centos.office.barredowlweb.com] => (item=stop) skipping: [dev1-centos.office.barredowlweb.com] => (item=start) TASK [gluster.infra/roles/backend_setup : Check if valid disktype is provided] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Set PV data alignment for JBOD] ****** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Set PV data alignment for RAID] ****** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Set VG physical extent size for RAID] *** skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : include_tasks] *********************** included: /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/get_vg_groupings.yml for dev1-centos.office.barredowlweb.com TASK [gluster.infra/roles/backend_setup : Group devices by volume group name, including existing devices] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Check if vg block device exists] ***** changed: [dev1-centos.office.barredowlweb.com] => (item={'key': 'gluster_vg_sdb', 'value': [{'vgname': 'gluster_vg_sdb', 'pvname': '/dev/sdb'}]}) TASK [gluster.infra/roles/backend_setup : Filter none-existing devices] ******** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Record for missing devices for phase 2] *** ok: [dev1-centos.office.barredowlweb.com] => (item={'cmd': ' test -b /dev/sdb && echo "1" || echo "0"; \n', 'stdout': '0', 'stderr': '', 'rc': 0, 'start': '2020-08-27 00:00:36.714157', 'end': '2020-08-27 00:00:36.719662', 'delta': '0:00:00.005505', 'changed': True, 'invocation': {'module_args': {'_raw_params': ' test -b /dev/sdb && echo "1" || echo "0"; \n', '_uses_shell': True, 'warn': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': ['0'], 'stderr_lines': [], 'failed': False, 'item': {'key': 'gluster_vg_sdb', 'value': [{'vgname': 'gluster_vg_sdb', 'pvname': '/dev/sdb'}]}, 'ansible_loop_var': 'item'}) TASK [gluster.infra/roles/backend_setup : Create volume groups] **************** skipping: [dev1-centos.office.barredowlweb.com] => (item={'key': 'gluster_vg_sdb', 'value': []}) TASK [gluster.infra/roles/backend_setup : update LVM fact's] ******************* skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Check if thick-lv block devices exists] *** changed: [dev1-centos.office.barredowlweb.com] => (item={'vgname': 'gluster_vg_sdb', 'lvname': 'gluster_lv_engine', 'size': '100G'}) TASK [gluster.infra/roles/backend_setup : Record for missing devices for phase 2] *** skipping: [dev1-centos.office.barredowlweb.com] => (item={'cmd': ' echo "1" \n', 'stdout': '1', 'stderr': '', 'rc': 0, 'start': '2020-08-27 00:00:44.428729', 'end': '2020-08-27 00:00:44.434341', 'delta': '0:00:00.005612', 'changed': True, 'invocation': {'module_args': {'_raw_params': ' echo "1" \n', '_uses_shell': True, 'warn': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': ['1'], 'stderr_lines': [], 'failed': False, 'item': {'vgname': 'gluster_vg_sdb', 'lvname': 'gluster_lv_engine', 'size': '100G'}, 'ansible_loop_var': 'item'}) TASK [gluster.infra/roles/backend_setup : include_tasks] *********************** included: /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/get_vg_groupings.yml for dev1-centos.office.barredowlweb.com TASK [gluster.infra/roles/backend_setup : Group devices by volume group name, including existing devices] *** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Check if vg block device exists] ***** TASK [gluster.infra/roles/backend_setup : Filter none-existing devices] ******** ok: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Make sure thick pvs exists in volume group] *** TASK [gluster.infra/roles/backend_setup : update LVM fact's] ******************* skipping: [dev1-centos.office.barredowlweb.com] TASK [gluster.infra/roles/backend_setup : Create thick logical volume] ********* failed: [dev1-centos.office.barredowlweb.com] (item={'vgname': 'gluster_vg_sdb', 'lvname': 'gluster_lv_engine', 'size': '100G'}) => {"ansible_index_var": "index", "ansible_loop_var": "item", "changed": false, "err": " Volume group \"gluster_vg_sdb\" not found.\n Cannot process volume group gluster_vg_sdb\n", "index": 0, "item": {"lvname": "gluster_lv_engine", "size": "100G", "vgname": "gluster_vg_sdb"}, "msg": "Volume group gluster_vg_sdb does not exist.", "rc": 5} NO MORE HOSTS LEFT ************************************************************* NO MORE HOSTS LEFT ************************************************************* PLAY RECAP ********************************************************************* dev1-centos.office.barredowlweb.com : ok=27 changed=9 unreachable=0 failed=1 skipped=31 rescued=0 ignored=1 Please check /var/log/cockpit/ovirt-dashboard/gluster-deployment.log for more informations.