You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running puppet agent -t after the volume is created I get the following error message:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, 's
plit' parameter 'str' expects a String value, got Undef (file: /etc/puppetlabs/code/modules/gluster/manifests/volume.pp, line: 180, column: 21) (file: /etc/puppetlabs/code/modules/gluster/manifests/init.pp, line:
83) on node xs1.93.lan
What behaviour did you expect instead
No errors. =)
Any additional information you'd like to impart
When I run facter -p on my Proxmox server I can see that it is returning the gluster volume bricks value name in all lower case, but the volume has two uppercase letters in it:
gluster_volume_proxmoxvms_bricks => ...
The line of code mentioned in the error message (line 180 in my version of volume.pp, line 160 in the current version) is using the original name:
I would submit this code change, but I have a feeling this is not the right solution. ...I find it hard to imagine I'm the first person to have some uppercase letters in their volume name.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Hiera:
What are you seeing
When running puppet agent -t after the volume is created I get the following error message:
What behaviour did you expect instead
No errors. =)
Any additional information you'd like to impart
When I run facter -p on my Proxmox server I can see that it is returning the gluster volume bricks value name in all lower case, but the volume has two uppercase letters in it:
gluster_volume_proxmoxvms_bricks => ...
The line of code mentioned in the error message (line 180 in my version of volume.pp, line 160 in the current version) is using the original name:
$vol_bricks = split( getvar( "::gluster_volume_${title}_bricks" ), ',')
...appears to be failing to find the volume because it is using the actual name which has uppercase letters:
gluster_volume_proxmoxVMs_bricks
I have worked around this in my copy of the module by changing that line to this:
I would submit this code change, but I have a feeling this is not the right solution. ...I find it hard to imagine I'm the first person to have some uppercase letters in their volume name.
The text was updated successfully, but these errors were encountered: