[ovirt-users] Installation of oVirt 4.1, Gluster Storage and Hosted Engine
Gianluca Cecchi
gianluca.cecchi at gmail.com
Tue Jul 11 08:57:04 UTC 2017
On Tue, Jul 11, 2017 at 10:02 AM, Simone Marchioni <s.marchioni at lynx2000.it>
wrote:
>
> Hi,
>
> 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... :-/
>
>
> PLAY [gluster_servers] ******************************
> ***************************
>
> TASK [start/stop/restart/reload services] ******************************
> ********
> failed: [ha1.domain.it] (item=glusterd) => {"failed": true, "item":
> "glusterd", "msg": "Could not find the requested service glusterd: host"}
> failed: [ha2.domain.it] (item=glusterd) => {"failed": true, "item":
> "glusterd", "msg": "Could not find the requested service glusterd: host"}
> failed: [ha3.domain.it] (item=glusterd) => {"failed": true, "item":
> "glusterd", "msg": "Could not find the requested service glusterd: host"}
> to retry, use: --limit @/tmp/tmp5Dtb2G/service_management.retry
>
>
>
[snip]
> 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:
>
> yum install glusterfs glusterfs-cli glusterfs-libs
> glusterfs-client-xlators glusterfs-api glusterfs-fuse
>
> but never configured anything.
>
> For firewalld problem "ERROR: Exception caught:
> org.fedoraproject.FirewallD1.Exception: 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.
>
> 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.
>
> Thank you again.
>
> Simone
>
>
For sure you have to install also the package glusterfs-server, that
provides glusterd.
Probably you was misled by the fact that apparently base CentOS packages
seems not to provide the package?
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
[ovirt-4.1-centos-gluster38]
name=CentOS-7 - Gluster 3.8
baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.8/
gpgcheck=1
enabled=1
gpgkey=
https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage
eg
[g.cecchi at ov300 ~]$ sudo yum install glusterfs-server
Loaded plugins: fastestmirror, langpacks
base
| 3.6 kB 00:00:00
centos-opstools-release
| 2.9 kB 00:00:00
epel-util/x86_64/metalink
| 25 kB 00:00:00
extras
| 3.4 kB 00:00:00
ovirt-4.1
| 3.0 kB 00:00:00
ovirt-4.1-centos-gluster38
| 2.9 kB 00:00:00
ovirt-4.1-epel/x86_64/metalink
| 25 kB 00:00:00
ovirt-4.1-patternfly1-noarch-epel
| 3.0 kB 00:00:00
ovirt-centos-ovirt41
| 2.9 kB 00:00:00
rnachimu-gdeploy
| 3.0 kB 00:00:00
updates
| 3.4 kB 00:00:00
virtio-win-stable
| 3.0 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: ba.mirror.garr.it
* epel-util: epel.besthosting.ua
* extras: ba.mirror.garr.it
* ovirt-4.1: ftp.nluug.nl
* ovirt-4.1-epel: epel.besthosting.ua
* updates: ba.mirror.garr.it
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-server.x86_64 0:3.8.13-1.el7 will be installed
--> Processing Dependency: glusterfs-libs(x86-64) = 3.8.13-1.el7 for
package: glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: glusterfs-fuse(x86-64) = 3.8.13-1.el7 for
package: glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: glusterfs-client-xlators(x86-64) = 3.8.13-1.el7
for package: glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: glusterfs-cli(x86-64) = 3.8.13-1.el7 for
package: glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: glusterfs-api(x86-64) = 3.8.13-1.el7 for
package: glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: glusterfs(x86-64) = 3.8.13-1.el7 for package:
glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: liburcu-cds.so.1()(64bit) for package:
glusterfs-server-3.8.13-1.el7.x86_64
--> Processing Dependency: liburcu-bp.so.1()(64bit) for package:
glusterfs-server-3.8.13-1.el7.x86_64
--> Running transaction check
---> Package glusterfs.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs.x86_64 0:3.8.13-1.el7 will be an update
---> Package glusterfs-api.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs-api.x86_64 0:3.8.13-1.el7 will be an update
---> Package glusterfs-cli.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs-cli.x86_64 0:3.8.13-1.el7 will be an update
---> Package glusterfs-client-xlators.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs-client-xlators.x86_64 0:3.8.13-1.el7 will be an
update
---> Package glusterfs-fuse.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs-fuse.x86_64 0:3.8.13-1.el7 will be an update
---> Package glusterfs-libs.x86_64 0:3.8.10-1.el7 will be updated
---> Package glusterfs-libs.x86_64 0:3.8.13-1.el7 will be an update
---> Package userspace-rcu.x86_64 0:0.7.16-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================
Package Arch Version Repository
Size
====================================================================================================
Installing:
glusterfs-server x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 1.4 M
Installing for dependencies:
userspace-rcu x86_64 0.7.16-1.el7
ovirt-4.1-centos-gluster38 72 k
Updating for dependencies:
glusterfs x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 512 k
glusterfs-api x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 90 k
glusterfs-cli x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 184 k
glusterfs-client-xlators x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 783 k
glusterfs-fuse x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 134 k
glusterfs-libs x86_64 3.8.13-1.el7
ovirt-4.1-centos-gluster38 380 k
Transaction Summary
====================================================================================================
Install 1 Package (+1 Dependent package)
Upgrade ( 6 Dependent packages)
Total download size: 3.5 M
Is this ok [y/d/N]:
Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2017-07-11.10-31.hzKtbi.yumtx
[g.cecchi at ov300 ~]$
HIH,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170711/0a1b5e80/attachment.html>
More information about the Users
mailing list