Well, apparently I hadn't tried everything yet. I was able to get a
successful run by including the options parameter in the creation task,
rather than keeping them separate. I also had to double-quote the expansion
in my playbook, and single-quote the integers in my variable dictionary:
# file
Thank you for sharing this information, I had come across the exact same
problem - use case: gluster storage backends for oVirt clusters.
My role includes the following:
- name: Gluster volume exists - {{gvol_name}}
gluster_volume: >
state=present
name={{gvol_name}}
brick={{gvol_br
Michael,
Here is an example that I did some time ago using Ansible to setup
GlusterFS. It may help you out.
http://everythingshouldbevirtual.com/ansible-playbook-glusterfs-apache
And also here is a role for GlusterFS that I put out on GitHub.
https://github.com/mrlesmithjr/Ansible/tree/master/rol
Just for the record, removing quotes from your example like this:
options={ group: virt, storage.owner-uid: '36', storage.owner-gid: '36' }
works for me on 1.9.4.
On Wednesday, August 12, 2015 at 11:21:23 PM UTC+10, Chris Weeks wrote:
>
> Thank you for sharing this information, I had come across
For what is worth, changing any option to an already established volume
results in the same behavior.
On Fri, Mar 27, 2015 at 2:32 PM, Rumen Telbizov wrote:
> Dear Taneli, Ansible list,
>
> I started using the new gluster_volume module which was released as part
> of ansible 1.9. It comes right
Answering my own question, hopefully will help someone else who might
encounter this. I spent some time looking into this:
File "", line 406, in main
is actually:
if rebalance:
rebalance(volume_name)
which in turn runs:
def rebalance(name):
run_gluster(['volum
I'm afraid I can't offer much in the way of advice, Chris. I decided not to
continue my oVirt/GlusterFS experiment, and deleted the roles & playbooks I
had written. Your syntax certainly seems to match what worked for me. You
might want to try it without "folding-style" (>), though. Knowing how
cra
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 email
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 "", line 143
I saw that a few minutes later, its already patched in current devel.
--
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 ansible-project+unsub
I assume the diff you're talking about is
https://github.com/ansible/ansible-modules-extras/commit/7794042cf65b075c9ca9bf4248df994bff94401f#diff-8e371bac3b1b27de2e05cbc0fd4e69aa
Like I mentioned closing the bracket is one thing but after then I ran into:
File "", line 135, in run_gluster
NameEr
yes, try current devel, there are other changes that that patch won't
fix against 1.9.0.1
--
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
Hi,
just had the same issue using 1.9.0.1. As Rumen mentioned, only crashes at
the first run. Tested it several times destroying and starting Vagrants.
Oriol
On Tuesday, March 31, 2015 at 8:28:40 PM UTC+2, Brian Coca wrote:
>
> yes, try current devel, there are other changes that that patch won
BTW here's my code [1] although workaround was removing `rebalance=yes` as
for now.
[1]
https://github.com/wefner/ansible-vagrant/blob/develop/adv/code/roles/glusterfs/tasks/main.yml#L78
On Thursday, April 23, 2015 at 1:01:39 AM UTC+2, Oriol Fabregas wrote:
>
> Hi,
>
> just had the same issue u
14 matches
Mail list logo