Comments (4)
Can you provide an example brick name that isn't working correctly?
from puppet-gluster.
If I test with 'gluster volume status brick_name', the complete URL (FQDN and brick name) can in some of my environments be 55 characters long. That leads to a new line in the bash table format. If the Ruby code for the fact depends on the same formatting then the regex can't handle it.
from puppet-gluster.
@tux-o-matic could you give an example of it failing?
Also, this comes close to https://bugzilla.redhat.com/show_bug.cgi?id=1033369, although unrelated.
from puppet-gluster.
@jyaworski "close but unrelated", it's a bug like millions of others about string length, not even related to Gluster.
I'm not big on Ruby regex so it's hard for me to say how it could handle line return when a brick name is too long.
But if the brick name given to 'bricks' under 'gluster::volumes' uses the FQDN, then the rest of the path doesn't have to be that long to break the parsing.
Taking an example from RedHat's doc
# gluster volume status test-volume
Status of volume: test-volume
Gluster process Port Online Pid
------------------------------------------------------------
Brick arch:/export/rep1 24010 Y 18474
Brick arch:/export/rep2 24011 Y 18479
NFS Server on localhost 38467 Y 18486
Self-heal Daemon on localhost N/A Y 18491
Here you'll the brick URL fits nicely in one line, but add a longer path or a FQDN and the shell table will force a line return to respect the cell's character width.
from puppet-gluster.
Related Issues (20)
- module mount not working HOT 1
- Systemd start for glusterfs-server failed!
- Unsorted arrays can cause issues with gluster volume commands
- Arbiter setting not being correctly passed. HOT 1
- Gluster Volume Error
- Gluster 4.x and GD2 (GlusterD2) support HOT 8
- Regex doesn't match double digit version numbers HOT 1
- Volume mapping values for auth.allow with multiple ips HOT 4
- Add support for Thin Arbiter volumes
- Volume name case issue
- GlusterFS peers are not defined as prerequisite for a GlusterFS volume HOT 2
- Repo release and version logic broken? HOT 2
- Resource / Foreman usage
- Systemd start for glusterd failed! HOT 1
- With Puppet 6 it is unable to use volume with dash in name
- Newer versions of Gluster HOT 3
- New Module Version for Puppet Forge? HOT 7
- Gluster 9 HOT 4
- Replica + Arbiter number validation
- Add Debian > 9 Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-gluster.