red-hat-storage / openshift-cic

CNS Inventory file Creator (CIC) , also works for OCS
GNU General Public License v3.0
31 stars 7 forks source link

[RFE] Adding gluster_ip variable #30

Closed christianh814 closed 6 years ago

christianh814 commented 6 years ago

Usually I use the following...

[glusterfs]
poc-node1.cloud.chx glusterfs_ip=192.168.1.251 glusterfs_zone=1 glusterfs_devices='[ "/dev/vdc" ]'
poc-node2.cloud.chx glusterfs_ip=192.168.1.252 glusterfs_zone=2 glusterfs_devices='[ "/dev/vdc" ]'
poc-node3.cloud.chx glusterfs_ip=192.168.1.253 glusterfs_zone=3 glusterfs_devices='[ "/dev/vdc" ]'

It would be useful to add glusterfs_ip

ramkrsna commented 6 years ago

Just curious, Is glusterfs_ip for CRS scenarios? Where the gluster nodes are outside the openshift cluster.

netzzer commented 6 years ago

Yes, it is required for CRS but redundant for CNS.

christianh814 commented 6 years ago

So not necessarily. If you have your OpenShift cluster on a "fast" storage network, and you want CNS to use the "fast" network, you'll need glusterfs_ip

It's probably beyond the scope of what this script is meant to do; but it's worth to note that glusterfs_ip is not ALWAYS redundant for CNS.

netzzer commented 6 years ago

Duplicate with Issue #43.