-
Notifications
You must be signed in to change notification settings - Fork 15
Added volume specification #56
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| # Tasks sets specification for gluster volume | ||
|
|
||
| - name: Include gluster vol specification details | ||
| include_vars: | ||
| file: "{{ vs_definition }}" | ||
| run_once: true | ||
|
|
||
| - name: Set gluster volume specification | ||
| gluster_volume: | ||
| state: "present" | ||
| name: "{{ volume }}" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Volume name comes from vc_definition |
||
| options: "{{ options }}" | ||
| run_once: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| volume: gbenchvol | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Volume name should be from vc_defn so that we do not have to repeat it.. (mentioning here as well so that we do not miss it) |
||
| options: | ||
| server.allow-insecure: 'on' | ||
| server.event-threads: '4' | ||
| client.event-threads: '4' | ||
| features.cache-invalidation: 'on' | ||
| features.cache-invalidation-timeout: '600' | ||
| performance.stat-prefetch: 'on' | ||
| performance.cache-invalidation: 'on' | ||
| performance.md-cache-timeout: '600' | ||
| network.inode-lru-limit: '90000' | ||
| cluster.lookup-optimize: 'on' | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would like group options to also be a part of this, not sure if this is handled here, will check and get back on this. IOW, the comment is this yml should allow setting volume group options as well (I suspect that is the one we would be testing with most often) |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a play to reset the existing options to defaults, before setting the new options.