From 31335991bd23990402cb0bf87c81891833669c02 Mon Sep 17 00:00:00 2001 From: LH Date: Mon, 30 Oct 2023 21:10:51 +0100 Subject: [PATCH] Gluster hosts fix --- environments/lab/group_vars/gluster_nodes/volumes.yml | 2 +- environments/lab/host_vars/pve1.yml | 2 +- environments/lab/host_vars/pve2.yml | 2 +- environments/lab/host_vars/pve3.yml | 2 +- environments/lab/hosts.yml | 3 --- environments/prod/hosts.yml | 3 --- 6 files changed, 4 insertions(+), 10 deletions(-) diff --git a/environments/lab/group_vars/gluster_nodes/volumes.yml b/environments/lab/group_vars/gluster_nodes/volumes.yml index 7959444..d6445b8 100644 --- a/environments/lab/group_vars/gluster_nodes/volumes.yml +++ b/environments/lab/group_vars/gluster_nodes/volumes.yml @@ -32,7 +32,7 @@ gluster_volumes: - pve3 - name: k8s-services-db - mount_path: /mnt/gfs/k8s-services + mount_path: /mnt/gfs/k8s-services-db replica_sets: - storage_bricks: - host: pve1 diff --git a/environments/lab/host_vars/pve1.yml b/environments/lab/host_vars/pve1.yml index 1ca9a89..a4ed8cc 100644 --- a/environments/lab/host_vars/pve1.yml +++ b/environments/lab/host_vars/pve1.yml @@ -13,7 +13,7 @@ network_interfaces: ups_name: dummy-ups1 # Gluster -gluster_ip: 192.168.1.11 +gluster_ip: 192.168.7.11 gluster_hostname: gfs-pve1-lab gluster_fqdn: gfs-pve1-lab.homecentr.one gluster_mount_host: pve1 diff --git a/environments/lab/host_vars/pve2.yml b/environments/lab/host_vars/pve2.yml index a9f8852..4efe9ba 100644 --- a/environments/lab/host_vars/pve2.yml +++ b/environments/lab/host_vars/pve2.yml @@ -13,7 +13,7 @@ network_interfaces: ups_name: dummy-ups1 # Gluster -gluster_ip: 192.168.1.12 +gluster_ip: 192.168.7.12 gluster_hostname: gfs-pve2-lab gluster_fqdn: gfs-pve2-lab.homecentr.one gluster_mount_host: pve2 diff --git a/environments/lab/host_vars/pve3.yml b/environments/lab/host_vars/pve3.yml index 38ca470..5387576 100644 --- a/environments/lab/host_vars/pve3.yml +++ b/environments/lab/host_vars/pve3.yml @@ -13,7 +13,7 @@ network_interfaces: ups_name: dummy-ups1 # Gluster -gluster_ip: 192.168.1.13 +gluster_ip: 192.168.7.13 gluster_hostname: gfs-pve3-lab gluster_fqdn: gfs-pve3-lab.homecentr.one gluster_mount_host: pve3 diff --git a/environments/lab/hosts.yml b/environments/lab/hosts.yml index 0667efd..f6283cb 100644 --- a/environments/lab/hosts.yml +++ b/environments/lab/hosts.yml @@ -24,9 +24,6 @@ all: pve3: gluster_clients: hosts: - pve1: - pve2: - pve3: kube1: kube2: kube3: diff --git a/environments/prod/hosts.yml b/environments/prod/hosts.yml index 0667efd..f6283cb 100644 --- a/environments/prod/hosts.yml +++ b/environments/prod/hosts.yml @@ -24,9 +24,6 @@ all: pve3: gluster_clients: hosts: - pve1: - pve2: - pve3: kube1: kube2: kube3: