summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/tasks
Commit message (Collapse)AuthorAgeFilesLines
* GlusterFS: Fix block StorageClass heketi routeJose A. Rivera2018-02-081-0/+19
|
* Merge pull request #6938 from vshn/revert-heketi-image-optionOpenShift Merge Robot2018-02-071-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Revert "GlusterFS: Remove image option from heketi command" This reverts commit 3d3853836d71c37a9c81aea8e606c94052439789 which was supposedly a fix for an issue with topology initialization, but that turned out to be a separate issue fixed in commit b8879b5c6731bd51e590b470b1a51fce73db0ee1. By default "heketi-cli setup-openshift-heketi-storage" uses the "heketi/heketi:dev" image while, for OpenShift Container Platform installations, the default image for all other operations is "rhgs3/rhgs-volmanager-rhel7". In environments where only a limited set of Docker registries is available, i.e. only the Red Hat registry but not Docker Hub, using "heketi/heketi:dev" does not work or would require manual intervention. The discussion surrounding the removal of "--image" in PR#5769 involved statements that "--image" was removed from Heketi. As of January 30, 2018 the master branch contains the option, as does the upstream Docker image (Heketi version v5.0.0-225-gffb9fea) and the aforementioned "rhgs3/rhgs-volmanager-rhel7" image. Tested with OpenShift Container Platform 3.7.23.
| * Revert "GlusterFS: Remove image option from heketi command"Michael Hanselmann2018-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3d3853836d71c37a9c81aea8e606c94052439789 which was supposedly a fix for an issue with topology initialization, but that turned out to be a separate issue fixed in commit b8879b5c6731bd51e590b470b1a51fce73db0ee1. By default "heketi-cli setup-openshift-heketi-storage" uses the "heketi/heketi:dev" image while, for OpenShift Container Platform installations, the default image for all other operations is "rhgs3/rhgs-volmanager-rhel7". In environments where only a limited set of Docker registries is available, i.e. only the Red Hat registry but not Docker Hub, using "heketi/heketi:dev" does not work or would require manual intervention. The discussion surrounding the removal of "--image" in PR#5769 involved statements that "--image" was removed from Heketi. As of January 30, 2018 the master branch contains the option, as does the upstream Docker image (Heketi version v5.0.0-225-gffb9fea) and the aforementioned "rhgs3/rhgs-volmanager-rhel7" image. Tested with OpenShift Container Platform 3.7.23.
* | Merge pull request #6969 from mjudeikis/gluster-dynamic-invetory-bugOpenShift Merge Robot2018-02-041-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. dynamic inventory bug when group exists but its empty @jarrpa output from my test for the gluster block I use dynamic inventory. And the result of this is that ansible see all possible groups available, but some of them are empty [1]. Because group exists, fist condition is evaluated as true and it fails with the array is an empty error... ``` ... 'all': [u'54.144.5.175', u'52.200.175.54', u'54.237.208.252', u'52.55.224.72', u'52.207.103.246', u'34.227.95.191', u'34.238.127.160'], u'bastion': [u'34.227.95.191'], u'bastion.0': [u'34.227.95.191'], u'etcd': [u'34.238.127.160'], u'glusterfs': [u'52.200.175.54', u'52.207.103.246', u'54.144.5.175'], u'glusterfs.0': [u'52.200.175.54'], u'glusterfs.1': [u'52.207.103.246'], u'glusterfs.2': [u'54.144.5.175'], u'glusterfs_registry': [], u'infra': [u'52.55.224.72'], u'infra.0': [u'52.55.224.72'], u'masters': [u'34.238.127.160'], u'masters.0': [u'34.238.127.160'], ... ```
| * | dynamic inventory bug when group exists but its emptyMangirdas2018-02-021-1/+1
| | |
* | | dynamic inventory bug when group exists but its emptyMangirdas2018-02-021-1/+4
|/ /
* | add glusterblock support for ansibleMangirdas2018-01-313-0/+30
|/ | | | Co-authored-by: Christina Kyriakidou <Ckyriaki@Redhat.com>
* Move more plugins to lib_utilsMichael Gugino2018-01-102-0/+2
| | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-202-6/+6
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-185-14/+14
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-142-2/+2
|
* Support for making glusterfs storage class a default one.Jiri Mencak2017-12-122-0/+2
| | | | | | | This PR adds support for making glusterfs storage class a default class. By default this behaviour is turned off for backward compatibility and can be turned on by setting: openshift_storage_glusterfs_storageclass_default=True
* Check for openshift attribute before using it during CNS install.Jiri Mencak2017-12-081-1/+1
| | | | Fixes: BZ1523681
* Include Deprecation: Convert to include_tasksRussell Teague2017-12-064-9/+9
|
* Fix hosted varsMichael Gugino2017-12-052-4/+6
| | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* Merge pull request #6325 from sosiouxme/20171201-glusterfs-bugScott Dodson2017-12-011-1/+1
|\ | | | | storage_glusterfs: fix typo
| * storage_glusterfs: fix typoLuke Meyer2017-12-011-1/+1
| |
* | retry package operationsLuke Meyer2017-11-301-0/+2
|/ | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* Merge pull request #5723 from mjudeikis/gluster-registry-backendScott Dodson2017-11-292-41/+2
|\ | | | | Add external glusterfs backend to hosted and glusterfs playbook
| * Add support for external glusterfs as registry backendMangirdas2017-11-212-41/+2
| |
* | Add check for gluterFS DS to stop restartsMangirdas2017-11-191-0/+10
|/
* GlusterFS: Add configuration for auto creating block-hosting volumesJose A. Rivera2017-11-164-7/+11
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Add gluster-s3 functionalityJose A. Rivera2017-11-084-45/+183
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Add glusterblock functionalityJose A. Rivera2017-11-085-0/+78
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Update heketi templates for latest versionJose A. Rivera2017-11-084-2/+4
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Merge pull request #5769 from jarrpa/image-revertOpenShift Merge Robot2017-10-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. GlusterFS: Remove image option from heketi command Reverts #5562, option has been removed from heketi command Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1502054 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * GlusterFS: Remove image option from heketi commandJose A. Rivera2017-10-161-1/+1
| | | | | | | | | | | | Reverts #5562, option has been removed from heketi command Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Add dm_thin_pool for gluster useScott Dodson2017-10-301-0/+12
|/
* Merge pull request #5562 from ttindell2/masterOpenShift Merge Robot2017-10-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix Heketi Deployment without external registry access #5550 Updated task to use the --image flag. The Image will now be set to: {{ glusterfs_heketi_image}}:{{ glusterfs_heketi_version }} This means that the user can specify an internal registry if needed. Created ticket with heketi: heketi/heketi#870
| * Add --image flag to setup-openshift-heketi-storageTim Tindell2017-09-271-1/+1
| |
* | GlusterFS: make ServiceAccounts privileged when either glusterfs or heketi ↵Jose A. Rivera2017-09-292-10/+11
| | | | | | | | | | | | is native Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Merge pull request #5415 from ttindell2/masterOpenShift Merge Robot2017-09-253-31/+48
|\ \ | |/ | | | | | | | | | | | | | | Automatic merge from submit-queue #5362 GlusterFS fails to run more than once #5362 Added the ability to have the GlusterFS ansible script run more than once. It also allows to update the topology of the Gluster cluster even if the Gluster cluster has already been deployed. @dustymabe
| * GlusterFS can now be run more than once. Ability to add devices to nodesTim Tindell2017-09-183-31/+48
| |
* | GlusterFS: Allow option to use or ignore default node selectorsJose A. Rivera2017-09-063-0/+3
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Moving firewall rules under the role to work with refactor.Kenny Woodson2017-08-111-0/+40
|
* Merge pull request #4909 from jarrpa/glusterfs_name-fixScott Dodson2017-08-074-9/+9
|\ | | | | GlusterFS: Default glusterfs_name in loop items.
| * GlusterFS: Default glusterfs_name in loop items.Jose A. Rivera2017-07-284-9/+9
| | | | | | | | | | | | Fixes #4745 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | GlusterFS: Don't use /dev/null for empty file.Jose A. Rivera2017-08-041-1/+2
| | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1478198 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | GlusterFS: Copy SSH private key to master node.Jose A. Rivera2017-08-021-1/+6
| | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1477718 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | GlusterFS: Check for namespace if deploying a StorageClassJose A. Rivera2017-08-011-1/+1
|/ | | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1476197 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Create registry storage svc and ep in registry namespaceJose A. Rivera2017-07-211-2/+2
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Pass all booleans through bool filter.Jose A. Rivera2017-07-212-16/+16
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Make heketi-cli command configurableJose A. Rivera2017-07-144-3/+5
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Reintroduce heketi-cli check for non-native heketiJose A. Rivera2017-07-141-0/+12
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Bug fixes for external GlusterFS nodesJose A. Rivera2017-07-141-1/+2
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Fix SSH-based heketi configurationJose A. Rivera2017-07-085-0/+35
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Use openshift.node.nodename as glusterfs_hostname.Andrew Butcher2017-07-071-2/+2
|
* GlusterFS: Use proper namespace for heketi command and service accountJose A. Rivera2017-06-212-3/+5
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Fix heketi secret nameJose A. Rivera2017-06-211-2/+2
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Generate better secret keysJose A. Rivera2017-06-161-0/+17
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>