<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 11, 2017 at 10:02 AM, Simone Marchioni <span dir="ltr"><<a href="mailto:s.marchioni@lynx2000.it" target="_blank">s.marchioni@lynx2000.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
removed partition signatures with wipefs and run deploy again: this time the creation of VG and LV worked correctly. The deployment proceeded until some new errors... :-/<span class="gmail-"><br>
<br>
<br>
PLAY [gluster_servers] ******************************<wbr>***************************<br>
<br>
TASK [start/stop/restart/reload services] ******************************<wbr>********<br></span>
failed: [<a href="http://ha1.domain.it" rel="noreferrer" target="_blank">ha1.domain.it</a>] (item=glusterd) => {"failed": true, "item": "glusterd", "msg": "Could not find the requested service glusterd: host"}<br>
failed: [<a href="http://ha2.domain.it" rel="noreferrer" target="_blank">ha2.domain.it</a>] (item=glusterd) => {"failed": true, "item": "glusterd", "msg": "Could not find the requested service glusterd: host"}<br>
failed: [<a href="http://ha3.domain.it" rel="noreferrer" target="_blank">ha3.domain.it</a>] (item=glusterd) => {"failed": true, "item": "glusterd", "msg": "Could not find the requested service glusterd: host"}<br>
to retry, use: --limit @/tmp/tmp5Dtb2G/service_manage<wbr>ment.retry<span class="gmail-"><br>
<br></span><br></blockquote><div><br></div><div>[snip] </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
In start/stop/restart/reload services it complain about "Could not find the requested service glusterd: host". GlusterFS must be preinstalled or not? I simply installed the rpm packages manually BEFORE the deployment:<br>
<br>
yum install glusterfs glusterfs-cli glusterfs-libs glusterfs-client-xlators glusterfs-api glusterfs-fuse<br>
<br>
but never configured anything.<br>
<br>
For firewalld problem "ERROR: Exception caught: org.fedoraproject.FirewallD1.E<wbr>xception: INVALID_SERVICE: 'glusterfs' not among existing services Services are defined by port/tcp relationship and named as they are in /etc/services (on most systems)" I haven't touched anything... it's an "out of the box" installation of CentOS 7.3.<br>
<br>
Don't know if the following problems - "Run a shell script" and "usermod: group 'gluster' does not exist" - are related to these... maybe the usermod problem.<br>
<br>
Thank you again.<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
Simone<br><br></div></div></blockquote><div><br></div><div>For sure you have to install also the package glusterfs-server, that provides glusterd.</div><div>Probably you was misled by the fact that apparently base CentOS packages seems not to provide the package?</div><div>But if you have ovirt-4.1-dependencies.repo enabled, you should have gluster 3.8 packages and you do have to install glusterfs-server </div><div><br></div><div><div>[ovirt-4.1-centos-gluster38]</div><div>name=CentOS-7 - Gluster 3.8</div><div>baseurl=<a href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.8/">http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.8/</a></div><div>gpgcheck=1</div><div>enabled=1</div><div>gpgkey=<a href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage">https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage</a></div></div><div><br></div><div>eg</div><div><br></div><div><br></div></div><div class="gmail_extra">[g.cecchi@ov300 ~]$ sudo yum install glusterfs-server</div><div class="gmail_extra">Loaded plugins: fastestmirror, langpacks</div><div class="gmail_extra">base | 3.6 kB 00:00:00 </div><div class="gmail_extra">centos-opstools-release | 2.9 kB 00:00:00 </div><div class="gmail_extra">epel-util/x86_64/metalink | 25 kB 00:00:00 </div><div class="gmail_extra">extras | 3.4 kB 00:00:00 </div><div class="gmail_extra">ovirt-4.1 | 3.0 kB 00:00:00 </div><div class="gmail_extra">ovirt-4.1-centos-gluster38 | 2.9 kB 00:00:00 </div><div class="gmail_extra">ovirt-4.1-epel/x86_64/metalink | 25 kB 00:00:00 </div><div class="gmail_extra">ovirt-4.1-patternfly1-noarch-epel | 3.0 kB 00:00:00 </div><div class="gmail_extra">ovirt-centos-ovirt41 | 2.9 kB 00:00:00 </div><div class="gmail_extra">rnachimu-gdeploy | 3.0 kB 00:00:00 </div><div class="gmail_extra">updates | 3.4 kB 00:00:00 </div><div class="gmail_extra">virtio-win-stable | 3.0 kB 00:00:00 </div><div class="gmail_extra">Loading mirror speeds from cached hostfile</div><div class="gmail_extra"> * base: <a href="http://ba.mirror.garr.it">ba.mirror.garr.it</a></div><div class="gmail_extra"> * epel-util: <a href="http://epel.besthosting.ua">epel.besthosting.ua</a></div><div class="gmail_extra"> * extras: <a href="http://ba.mirror.garr.it">ba.mirror.garr.it</a></div><div class="gmail_extra"> * ovirt-4.1: <a href="http://ftp.nluug.nl">ftp.nluug.nl</a></div><div class="gmail_extra"> * ovirt-4.1-epel: <a href="http://epel.besthosting.ua">epel.besthosting.ua</a></div><div class="gmail_extra"> * updates: <a href="http://ba.mirror.garr.it">ba.mirror.garr.it</a></div><div class="gmail_extra">Resolving Dependencies</div><div class="gmail_extra">--> Running transaction check</div><div class="gmail_extra">---> Package glusterfs-server.x86_64 0:3.8.13-1.el7 will be installed</div><div class="gmail_extra">--> Processing Dependency: glusterfs-libs(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: glusterfs-fuse(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: glusterfs-client-xlators(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: glusterfs-cli(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: glusterfs-api(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: glusterfs(x86-64) = 3.8.13-1.el7 for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: liburcu-cds.so.1()(64bit) for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Processing Dependency: liburcu-bp.so.1()(64bit) for package: glusterfs-server-3.8.13-1.el7.x86_64</div><div class="gmail_extra">--> Running transaction check</div><div class="gmail_extra">---> Package glusterfs.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package glusterfs-api.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs-api.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package glusterfs-cli.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs-cli.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package glusterfs-client-xlators.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs-client-xlators.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package glusterfs-fuse.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs-fuse.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package glusterfs-libs.x86_64 0:3.8.10-1.el7 will be updated</div><div class="gmail_extra">---> Package glusterfs-libs.x86_64 0:3.8.13-1.el7 will be an update</div><div class="gmail_extra">---> Package userspace-rcu.x86_64 0:0.7.16-1.el7 will be installed</div><div class="gmail_extra">--> Finished Dependency Resolution</div><div class="gmail_extra"><br></div><div class="gmail_extra">Dependencies Resolved</div><div class="gmail_extra"><br></div><div class="gmail_extra">====================================================================================================</div><div class="gmail_extra"> Package Arch Version Repository Size</div><div class="gmail_extra">====================================================================================================</div><div class="gmail_extra">Installing:</div><div class="gmail_extra"> glusterfs-server x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 1.4 M</div><div class="gmail_extra">Installing for dependencies:</div><div class="gmail_extra"> userspace-rcu x86_64 0.7.16-1.el7 ovirt-4.1-centos-gluster38 72 k</div><div class="gmail_extra">Updating for dependencies:</div><div class="gmail_extra"> glusterfs x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 512 k</div><div class="gmail_extra"> glusterfs-api x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 90 k</div><div class="gmail_extra"> glusterfs-cli x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 184 k</div><div class="gmail_extra"> glusterfs-client-xlators x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 783 k</div><div class="gmail_extra"> glusterfs-fuse x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 134 k</div><div class="gmail_extra"> glusterfs-libs x86_64 3.8.13-1.el7 ovirt-4.1-centos-gluster38 380 k</div><div class="gmail_extra"><br></div><div class="gmail_extra">Transaction Summary</div><div class="gmail_extra">====================================================================================================</div><div class="gmail_extra">Install 1 Package (+1 Dependent package)</div><div class="gmail_extra">Upgrade ( 6 Dependent packages)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Total download size: 3.5 M</div><div class="gmail_extra">Is this ok [y/d/N]: </div><div class="gmail_extra">Exiting on user command</div><div class="gmail_extra">Your transaction was saved, rerun it with:</div><div class="gmail_extra"> yum load-transaction /tmp/yum_save_tx.2017-07-11.10-31.hzKtbi.yumtx</div><div class="gmail_extra">[g.cecchi@ov300 ~]$</div><div class="gmail_extra"><br></div><div class="gmail_extra">HIH,</div><div class="gmail_extra">Gianluca</div></div></div>