summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
Commit message (Collapse)AuthorAgeFilesLines
* Introduce openshift_hosted_registry_storage_class configuration variable to ↵Suren A. Chilingaryan2018-03-112-0/+2
| | | | enable dynamicly provisioned GlusterFS volume for hosted registry
* Fixes typos in hosted registry code used to provide GlusterFS supoortSuren A. Chilingaryan2018-03-111-3/+5
|
* Initial support for 3.10Scott Dodson2018-02-052-0/+22
|
* dynamic inventory bug when group exists but its emptyMangirdas2018-02-021-1/+1
|
* Revert "Revert "use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable ↵Ben Parees2018-01-291-1/+1
| | | | to set the registry hostname""
* Revert "use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set ↵Ben Parees2018-01-271-1/+1
| | | | the registry hostname"
* Merge pull request #6841 from sdodson/bz1491100OpenShift Merge Robot2018-01-251-0/+2
|\ | | | | | | | | | | | | Automatic merge from submit-queue. Set a default for openshift_hosted_registry_storage_azure_blob_realm Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1491100
| * Set a default for openshift_hosted_registry_storage_azure_blob_realmScott Dodson2018-01-231-0/+2
| |
* | Merge pull request #6830 from bparees/registry_addrOpenShift Merge Robot2018-01-241-1/+1
|\ \ | | | | | | | | | | | | Automatic merge from submit-queue. use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname
| * | use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the ↵Ben Parees2018-01-231-1/+1
| |/ | | | | | | | | | | | | | | registry hostname bug 1537593 https://bugzilla.redhat.com/show_bug.cgi?id=1537593
* | Merge pull request #6718 from sdodson/bz1533658Scott Dodson2018-01-241-1/+0
|\ \ | |/ |/| Remove unused symlink
| * Remove unused symlinkScott Dodson2018-01-131-1/+0
| |
* | Merge pull request #6696 from sdodson/bz1532973Scott Dodson2018-01-171-0/+13
|\ \ | |/ |/| Add missing task that got dropped in a refactor
| * Add missing task that got dropped in a refactorScott Dodson2018-01-161-0/+13
| | | | | | | | Removed in 28b254886bf17251e973bfdad4dd4c89e26187fc
* | Merge pull request #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson2018-01-112-42/+1
|\ \ | |/ |/| Move more plugins to lib_utils
| * Move more plugins to lib_utilsMichael Gugino2018-01-102-42/+1
| | | | | | | | | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* | Fixing openshift_hosted variable.Kenny Woodson2018-01-101-1/+1
|/
* Migrate to import_role for static role inclusionScott Dodson2018-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* Move wait_for_pods to it's own play openshift_hostedMichael Gugino2017-12-214-32/+9
| | | | | | | | | | | | | Currently, both registry and router pods need to be polled for successful deployment. Somtimes this can take up to a minute. This commit attempts to deploy both pods before polling either. This should reduce the average wait time for polling pods by 50% as time spent polling the first will also allow the second pod to continue it's own deployment.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-202-4/+4
| | | | | 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-183-6/+6
| | | | | | | | | | | | | | 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.
* Remove empty openshift_hosted_facts roleMichael Gugino2017-12-122-5/+4
| | | | This commit removes a now-empty role.
* Fix openshift hosted registry rolloutRussell Teague2017-12-111-1/+1
|
* Merge pull request #6385 from mjudeikis/hosted-template-varScott Dodson2017-12-074-0/+44
|\ | | | | add 3.8 templates for gluster ep and svc
| * add 3.8 templates for gluster ep and svcLuke Meyer2017-12-072-0/+22
| |
| * add 3.8 templates for gluster ep and svcMangirdas2017-12-072-0/+22
| |
* | Include Deprecation: Convert to include_tasksRussell Teague2017-12-064-15/+11
|/
* Fix hosted varsMichael Gugino2017-12-0513-45/+43
| | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* Implement container runtime roleMichael Gugino2017-12-011-1/+1
|
* Merge pull request #5723 from mjudeikis/gluster-registry-backendScott Dodson2017-11-299-5/+100
|\ | | | | Add external glusterfs backend to hosted and glusterfs playbook
| * Add support for external glusterfs as registry backendMangirdas2017-11-219-5/+100
| |
* | dist.iteritems() no longer exists in Python 3.Jan Pazdziora2017-11-271-1/+1
| |
* | Merge pull request #6090 from dustymabe/dustyMichael Gugino2017-11-221-9/+2
|\ \ | |/ |/| hosted_registry: clean up tmp mount point and fstab
| * hosted_registry: clean up tmp mount point and fstabDusty Mabe2017-11-101-9/+2
| | | | | | | | Fixes #6004
* | Removed old version codeMichael Gugino2017-11-141-1/+1
|/ | | | | | This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
* Merge pull request #5571 from vshn/registryip1OpenShift Merge Robot2017-11-093-0/+3
|\ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Allow cluster IP for docker-registry service to be set For historical reasons a small set of programs in our environments rely on the cluster-internal Docker registry having the IP address "172.30.1.1". So far we always had to patch in that address manually. Adding a variable on the "openshift_hosted" role allows the IP address to be set correctly when a cluster is installed.
| * Allow cluster IP for docker-registry service to be setMichael Hanselmann2017-10-193-0/+3
| | | | | | | | | | | | | | | | For historical reasons a small set of programs in our environments rely on the cluster-internal Docker registry having the IP address "172.30.1.1". So far we always had to patch in that address manually. Adding a variable on the "openshift_hosted" role allows the IP address to be set correctly when a cluster is installed.
* | [Bug 1509354] Check if routers have certificates and use themKenny Woodson2017-11-071-3/+6
| |
* | Remove unused registry_volume_claim variableMichael Hanselmann2017-10-191-1/+0
|/ | | | | | The "registry_volume_claim" variable has not been used since at least commit 7cf5cc1 (February 21, 2017) and this commit removes the last mention.
* Merge pull request #5368 from jianlinliu/bz1490738Scott Dodson2017-10-091-2/+2
|\ | | | | Update registry_config.j2 to fix BZ#1490738
| * Update registry_config.j2Jianlin Liu2017-09-121-1/+1
| | | | | | setting openshift_hosted_registry_storage_gcs_rootdirectory default value
| * Update registry_config.j2Jianlin Liu2017-09-121-1/+1
| |
* | Include openshift_hosted when redeploying router certificates to handle ↵Andrew Butcher2017-09-291-3/+3
| | | | | | | | auto-generated wildcard certificate or custom openshift_hosted_router_certificate.
* | Rename filter_plugins to unique namesRussell Teague2017-09-271-0/+0
| | | | | | | | | | Filter plugin modules should have unique names to not conflict with core Ansible modules. (Ansible 2.4)
* | Refactor openshift_hosted plays and roleMichael Gugino2017-09-2518-172/+155
| | | | | | | | | | | | | | | | | | | | | | | | Currently, openshift_hosted role duplicates some logic across separate task chains. This commit cleans up the openshift_hosted role and converts it to be primarily used with include_role to give better logic to the playbooks that utilize this role. This commit also refactors the playbook that calls various openshift_hosted roles into individual playbooks. This allows more granularity for advanced users.
* | Merge pull request #5156 from mangirdaz/5155-hotfixOpenShift Merge Robot2017-09-181-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue hot fix for env variable resolve If we use environment variables in our inventory files (and from what I seen we do this everywhere where We deploy OCP) our fact engine ignores env variables so if my path looks like ``` openshift_hosted_registry_routecertificates={"certfile": "{{inventory_dir}}/../files/certs/wildcard.registry.company.local.crt", "keyfile": "{{inventory_dir}}/../files/certs/wildcard.registry.companylocal.key", "cafile":"{{inventory_dir}}/../files/certs/CompanyLocalRootCA.crt"} openshift_hosted_registry_routehost=containers.registry.comany.local ``` the result is: `/../files/certs/RoSLocalRootCA.crt` We need to fix our fact set in a long run to read Ansible variables. And it was done in the same way with router certificates already.
| * | hot fix for env variable resolveMangirdas2017-08-221-1/+1
| | |
* | | Correct logic for openshift_hosted_*_waitRussell Teague2017-09-123-4/+4
| | |
* | | Workaround Ansible Jinja2 delimiter warningRussell Teague2017-09-122-2/+2
| |/ |/| | | | | | | | | | | This workaround prevents the warnings on using Jinja2 templating delimiters in `when:` conditions in cases where a variable is used as the conditional. This has been fixed in Ansible 2.4. https://github.com/ansible/ansible/pull/25092
* | Merge pull request #5208 from mgugino-upstream-stage/remove-openshift_commonOpenShift Bot2017-09-072-1/+6
|\ \ | | | | | | Merged by openshift-bot