Brian,

Thank you for looking into this. I tried the patched file (
https://raw.githubusercontent.com/bcoca/ansible-modules-extras/4c0b1b42bc79634052b69557fc804f13e9557669/system/gluster_volume.py)
and it seems like it's not quite there yet. Here are the problems that I
got:

  File "<stdin>", line 143
    return out
         ^
SyntaxError: invalid syntax

You're missing a closing ')' on gluster_volume.py:143

module.fail_json(msg='error running gluster (%s) command: %s' % ('
'.join(args), str(e))


After closing the bracket the next run yields:

  File "<stdin>", line 2022, in <module>
  File "<stdin>", line 340, in main
  File "<stdin>", line 162, in get_peers
  File "<stdin>", line 135, in run_gluster
NameError: global name 'glusterbin' is not defined

I'll leave it here for you to revisit the code.

Thank you,
Rumen Telbizov

On Mon, Mar 30, 2015 at 5:16 PM, Brian Coca <[email protected]> wrote:

> see if this PR fixes the issues also (at least the reporting):
> https://github.com/ansible/ansible-modules-extras/pull/356
>
>
> --
> Brian Coca
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DajZiPZqYA72GVC8eGXtWzt0jnBUT9XCoDn%2BRhnhaBuQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rumen Telbizov
Unix Systems Administrator <http://telbizov.com>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAENR%2B_VCkGFoJOFbs0eCBxbf5zQeNabFDhoJsm12X5VQU-GCyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to