summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/native-cluster
Commit message (Collapse)AuthorAgeFilesLines
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-202-2/+2
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Remove openshift.common.service_typeMichael Gugino2017-12-072-7/+7
| | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* Removed old version codeMichael Gugino2017-11-141-4/+0
| | | | | | 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.
* Fix broken debug_levelMichael Gugino2017-10-112-2/+2
| | | | | | | | | | | | | | | | | | | | Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
* Remove openshift-commonMichael Gugino2017-09-062-2/+2
| | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* Merge pull request #4949 from carlpett/patch-1OpenShift Bot2017-08-011-1/+1
|\ | | | | Merged by openshift-bot
| * Fix aws_secret_key checkCalle Pettersson2017-07-311-1/+1
| |
* | Use existing OPENSHIFT_DEFAULT_REGISTRY setting during masters scaleupTim Bielawa2017-07-282-2/+8
|/ | | | | | | | | | | | | | | Fixes a bug which reported that AFTER a cluster upgrade from OCP 3.5 to 3.6, any masters which are later added via the scaleup playbooks are setting a value for OPENSHIFT_DEFAULT_REGISTRY which is inconsistent with the already configured masters. * OPENSHIFT_DEFAULT_REGISTRY value is saved from oo_first_master * The new scaleup master has a fact set noting it is a scaleup host * The saved OPENSHIFT_DEFAULT_REGISTRY value is used instead of the default for 3.6, which is to use a hard-coded registry value of 'docker-registry.default.svc:5000' Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1469336
* Also configure default registry on HA mastersScott Dodson2017-06-232-0/+6
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1463498
* Comma separate no_proxy host list in openshift_facts so that it appears as a ↵Andrew Butcher2017-01-252-2/+2
| | | | string everywhere it is used.
* Restart API service always as well.Devan Goodwin2016-11-041-0/+1
| | | | | | | Recently applied this fix for controllers due to the systemd-journald restart issue, it sounds as is this one is also sometimes affected. Containerized already uses this, so we will apply the same restart strategy here.
* Change HA master controller service to restart always.Devan Goodwin2016-10-271-1/+1
| | | | | | | | | | Restarts of systemd-journald can cause the master controllers service to die in HA environments, due to a SIGPIPE and how it's handled. (seemingly by default in golang) on-failure does not trigger in this situation, instead we set to Restart=always in the systemd unit, which matches the non-HA service definitions as well.
* Don't use openshift_env for cloud provider facts.Andrew Butcher2016-08-252-6/+6
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-282-0/+12
|\
| * Add per-service environment variables.Andrew Butcher2016-06-132-0/+12
| |
* | Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-152-2/+2
| | | | | | | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* | Add leading v for remaining IMAGE_VERSION templates.Devan Goodwin2016-05-302-2/+2
|/
* Fix mistaken quotes on proxy sysconfig variables.Devan Goodwin2016-05-122-6/+6
| | | | Only need double quotes if preserving whitespace, and never singles.
* Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY valuesScott Dodson2016-04-262-10/+10
|
* Access portal_net in common facts.Andrew Butcher2016-04-262-2/+2
|
* Add global proxy configurationScott Dodson2016-04-222-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Configures HTTP_PROXY, HTTPS_PROXY, NO_PROXY for master and docker services. Configugres BuildDefaults Admission controller for master to automatically insert proxy environment configuration into build environments. To use set at least these variables - openshift_http_proxy - openshift_https_proxy NO_PROXY entries will automatically be configured for hostnames of all openshift hosts. You may specify additional NO_PROXY hosts or patterns by setting `openshift_no_proxy` If you wish to disable automatic generation of NO_PROXY hosts you may set `openshift_generate_no_proxy_hosts` to False. If you wish to have different builddefaults proxy configuration than baseline proxy configuration set these variables - openshift_builddefaults_http_proxy - openshift_builddefaults_https_proxy - openshift_builddefaults_no_proxy - openshift_builddefaults_git_http_proxy - openshift_builddefaults_git_https_proxy
* use RestartSec to avoid default rate limit in systemdBrenton Leanhardt2016-04-122-0/+2
| | | | Lifted from https://github.com/openshift/origin/pull/8317
* Check for kind in cloudprovider facts prior to accessing.Andrew Butcher2016-04-042-2/+2
|
* Add AWS cloud provider support.Andrew Butcher2016-03-292-0/+10
|
* improve ordering of systemd unitsJason DeTiberus2016-03-142-6/+5
|
* Ensure is_containerized is cast as bool.Andrew Butcher2016-03-142-2/+2
|
* Support openshift_image_tagBrenton Leanhardt2016-03-072-2/+2
| | | | | | | | | | | | | This is the containerized openshift_pkg_version equivalent. Originally I was hoping to reuse openshift_pkg_version for containerized installs but the fact that it's very coupled to yum made that pretty ugly. However, I did opt to rely on the previously existing 'openshift_version' variable. Containerized and RPM installs can both use that variable and it will be set appropriately if either openshift_pkg_version or openshift_image_tag are set. I suspect someday containerized installs will be the only option and I didn't can to have thinkgs like openshift_pkg_version and openshift_image_tag in the playbooks anymore the necessary.
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-032-0/+6
|
* Add gte check for 3.2, update version checks to gteJason DeTiberus2016-02-091-1/+1
|
* Fix native master api sysconfig.Andrew Butcher2016-01-201-1/+1
|
* Use local address for loopback kubeconfigJason DeTiberus2016-01-141-1/+1
|
* consolidate steps and cleanup template dirJason DeTiberus2016-01-144-0/+65