summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs
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.
* | GlusterFS: Minor documentation updateJose A. Rivera2018-02-071-11/+11
| |
* | Initial support for 3.10Scott Dodson2018-02-0514-0/+905
| |
* | 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-319-52/+156
|/ | | | Co-authored-by: Christina Kyriakidou <Ckyriaki@Redhat.com>
* Merge pull request #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson2018-01-113-23/+2
|\ | | | | Move more plugins to lib_utils
| * Move more plugins to lib_utilsMichael Gugino2018-01-103-23/+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.
* | Add missing v3.9 gluster templatesScott Dodson2018-01-106-0/+734
|/ | | | Fixes Bug 1532961
* Add gluster 3.9 templatesScott Dodson2018-01-037-0/+152
|
* Remove references to deployment_typeMichael Gugino2017-12-211-4/+4
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* 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-186-15/+15
| | | | | | | | | | | | | | 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
|
* Merge pull request #6182 from jmencak/glusterfs_storageclass-defaultRussell Teague2017-12-138-7/+29
|\ | | | | Support for making glusterfs storage class a default one.
| * Support for making glusterfs storage class a default one.Jiri Mencak2017-12-128-7/+29
| | | | | | | | | | | | | | 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
* | Remove empty openshift_hosted_facts roleMichael Gugino2017-12-122-2/+1
|/ | | | This commit removes a now-empty role.
* 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-053-5/+7
| | | | | | 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-293-43/+3
|\ | | | | Add external glusterfs backend to hosted and glusterfs playbook
| * Add support for external glusterfs as registry backendMangirdas2017-11-213-43/+3
| |
* | Merge pull request #6073 from mjudeikis/fix_glusterfs_restartScott Dodson2017-11-281-0/+10
|\ \ | | | | | | fix for Gluster force restart
| * | Add check for gluterFS DS to stop restartsMangirdas2017-11-191-0/+10
| |/
* | GlusterFS: Remove extraneous line from glusterblock templateJose A. Rivera2017-11-272-2/+0
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | GlusterFS: Files and templates for 3.8Jose A. Rivera2017-11-2013-0/+883
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Add configuration for auto creating block-hosting volumesJose A. Rivera2017-11-168-12/+28
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Add gluster-s3 functionalityJose A. Rivera2017-11-088-45/+420
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Add glusterblock functionalityJose A. Rivera2017-11-089-0/+210
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Update heketi templates for latest versionJose A. Rivera2017-11-088-16/+22
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* GlusterFS: Specify resource requestsJose A. Rivera2017-11-081-1/+4
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Merge pull request #5715 from jarrpa/registry-storage-doc-fixScott Dodson2017-11-021-7/+7
|\ | | | | GlusterFS: Fix registry storage documentation
| * GlusterFS: Fix registry storage documentationJose A. Rivera2017-10-101-7/+7
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Merge pull request #5867 from chinacoolhacker/masterOpenShift Merge Robot2017-10-3010-0/+547
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. GlusterFS suppot for OpenShift v1.5 Added files and templates for OpenShift v1.5
| * | Glusterfs storage templates for v1.5 addedchinacoolhacker2017-10-2510-0/+547
| | |
* | | 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>
* | | Merge pull request #5720 from sdodson/issue5108Scott Dodson2017-10-302-0/+16
|\ \ \ | |/ / |/| | Add dm_thin_pool for gluster use
| * | Add dm_thin_pool for gluster useScott Dodson2017-10-302-0/+16
| |/
* | GlusterFS: remove topology reference from deploy-heketiJose A. Rivera2017-10-041-8/+0
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* 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-254-39/+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