Hi Tim,

I normally add the storage=True parameter in the [nodes] section on each
glusterfs node:

[glusterfs]
orn-gluster-storage-001 glusterfs_ip=10.0.0.30 glusterfs_devices='[
"/dev/vdb" ]'
orn-gluster-storage-002 glusterfs_ip=10.0.0.33 glusterfs_devices='[
"/dev/vdb" ]'
orn-gluster-storage-003 glusterfs_ip=10.0.0.7 glusterfs_devices='[
"/dev/vdb" ]'

[nodes]
<other-nodes-here>
orn-gluster-storage-001 *storage=True* openshift_hostname=orn-gluster
-storage-001.openstacklocal
orn-gluster-storage-002 *storage=True* openshift_hostname=orn-gluster
-storage-002.openstacklocal
orn-gluster-storage-003 *storage=True* openshift_hostname=orn-gluster
-storage-003.openstacklocal

Kind regards,

Rodrigo Bersa

Cloud Consultant, RHCVA, RHCE

Red Hat Brasil <https://www.redhat.com>

rbe...@redhat.com    M: +55-11-99557-5841
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
Red Hat é reconhecida entre as melhores empresas para trabalhar no Brasil
pelo *Great Place to Work*.

On Fri, Apr 13, 2018 at 8:28 AM, Tim Dudgeon <tdudgeon...@gmail.com> wrote:

> I'm having unreliability problems installing a complete cluster, so am
> trying to do this piece by piece.
> First I deploy a basic origin cluster and then I try to deploy glusterfs
> using the playbooks/common/openshift-glusterfs/config.yml playbook (this
> is using v3.7 and the release-3.7 branch of openshift-ansible).
>
> I already have the three gluster nodes as normal nodes in the cluster, and
> now add the gluster sections to the inventory file like this:
>
> [glusterfs]
> orn-gluster-storage-001 glusterfs_ip=10.0.0.30 glusterfs_devices='[
> "/dev/vdb" ]'
> orn-gluster-storage-002 glusterfs_ip=10.0.0.33 glusterfs_devices='[
> "/dev/vdb" ]'
> orn-gluster-storage-003 glusterfs_ip=10.0.0.7 glusterfs_devices='[
> "/dev/vdb" ]'
>
> [nodes]
> <other-nodes-here>
> orn-gluster-storage-001 openshift_hostname=orn-gluster
> -storage-001.openstacklocal
> orn-gluster-storage-002 openshift_hostname=orn-gluster
> -storage-002.openstacklocal
> orn-gluster-storage-003 openshift_hostname=orn-gluster
> -storage-003.openstacklocal
>
>
> But when I run the playbooks/common/openshift-glusterfs/config.yml
> playbook gluster does not get installed and I see this in the log:
>
> PLAY [Configure GlusterFS] ******************************
> ************************************************************
> ************************************************************
> **********************************
> skipping: no hosts matched
>
> What's the right procedure for doing this?
>
> Tim
>
> _______________________________________________
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to