Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gluster Volume Error #152

Closed
tenajsystems opened this issue Jan 17, 2018 · 0 comments
Closed

Gluster Volume Error #152

tenajsystems opened this issue Jan 17, 2018 · 0 comments

Comments

@tenajsystems
Copy link

tenajsystems commented Jan 17, 2018

I am getting this error when I add a gluster volume and run puppet agent -t:

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, 'split' parameter 'str' expects a String value, got Undef at /etc/puppetlabs/code/environments/test/modules/gluster/manifests/volume.pp:180:21 at /etc/puppetlabs/code/environments/test/manifests/classes/gluster/test_volume.pp:3 on node gluster1.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Below is what I have for test_volume.pp:

    gluster::volume { 'Test':
        replica => 4,
        bricks  => [
          'gluster1.example.com:/data/test/brick',
          'gluster2.example.com:/data/test/brick',`
          'gluster3.example.com:/data/test/brick',
          'gluster4.example.com:/data/test/brick',
          'gluster5.example.com:/data/test/brick',
          'gluster6.example.com:/data/test/brick',
          'gluster7.example.com:/data/test/brick',
          'gluster8.example.com:/data/test/brick',
      ],
      require => [
        File['/data/test'],

What I'm I doing wrong, I can't seem to figure out why its complaining on those lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant