summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/systemd_units.yml
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to migrate to using push to DNS for registries.Kenny Woodson2018-02-011-1/+4
|
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-2/+2
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Remove some small items from openshift_factsMichael Gugino2017-12-181-1/+1
| | | | | Remove some small items from openshift_facts that don't need to be there.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-1/+1
|
* Remove openshift.common.service_typeMichael Gugino2017-12-071-14/+14
| | | | | | | | 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.
* Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-19/+0
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* Simplify is_master_system_container logicMichael Gugino2017-11-271-4/+4
| | | | Simplify the variable is_master_system_container
* Include Deprecation - openshift-masterRussell Teague2017-11-221-1/+1
|
* Combine master upgrade play with roleMichael Gugino2017-11-091-3/+0
| | | | | | | | | Currently, there are plays importing tasks directly from openshift_master role. This has caused numerous bugs and code duplicaiton in the past. This commit combines the upgrade into openshift_master role utilizing include_role syntax.
* Fix master upgrade version detect and systemd enableMichael Gugino2017-11-031-0/+11
| | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508755 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509158
* remove master.service during the non-ha to ha upgradeJan Chaloupka2017-10-301-1/+15
|
* Fix containerized node service unit placement orderMichael Gugino2017-10-121-0/+3
| | | | | | | | | | | | | | Currently, non-containerized nodes have systemd service unit files created after registry auth credentials are created. Containerized nodes place service unit files prior to creation of these credentials. This commit ensures systemd service units are created at the correct time for both containerized and non-containerized nodes. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500642
* Fix broken debug_levelMichael Gugino2017-10-111-27/+7
| | | | | | | | | | | | | | | | | | | | 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
* Fix registry_auth logic for upgradesMichael Gugino2017-09-221-0/+2
| | | | | | | | | | | | | | | Currently, the logic for registry authentication is not implemented correctly to account for upgrades of containerized hosts. Additionally, the logic to account for multiple runs of openshift-ansible might cause registry authentication credentials to not be mounted inside of containerized hosts. This commit adds the necessary logic to ensure containerized hosts retain registry credentials. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1494470
* Merge pull request #5208 from mgugino-upstream-stage/remove-openshift_commonOpenShift Bot2017-09-071-0/+7
|\ | | | | Merged by openshift-bot
| * Remove openshift-commonMichael Gugino2017-09-061-0/+7
| | | | | | | | | | | | | | | | | | 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.
* | Fix openshift_master_config_dirScott Dodson2017-09-061-1/+1
| |
* | Fix: set openshift_master_config_dir to the correct value.Michael Gugino2017-09-051-1/+1
|/ | | | | | | Previous commit set 'openshift_master_config_dir' to '/var/lib/origin' if undefined during upgrades. This commit sets value to the proper directory '/etc/origin'
* Fix openshift_master upgradeMichael Gugino2017-08-291-0/+10
| | | | | | | | Currently, openshift_master upgrade play imports tasks directly from the openshift_master role. This method does not honor role defaults. This commit changes sets openshift_master_config_dir if undefined.
* polish openshift-master roleJan Chaloupka2017-08-161-24/+42
|
* Fix Restore Master AWS OptionsMichael Fraenkel2017-08-111-1/+1
| | | | - remove dangling bool
* Remove the origin-master.service and associated filesClayton Coleman2017-08-081-67/+12
| | | | | | From now on, all master configurations use the api / controller split, regardless of HA mode or previous configuration. This will be our only supported configuration starting in 3.7 or 3.8.
* Use existing OPENSHIFT_DEFAULT_REGISTRY setting during masters scaleupTim Bielawa2017-07-281-3/+3
| | | | | | | | | | | | | | | 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
* Fix templating of static service filesRussell Teague2017-05-121-1/+1
|
* Add service file templates for master and nodeSteve Milner2017-05-091-0/+9
| | | | | | | Adds service file templates for both maste and node. These will lay down in /etc/system/systemd to override what may already be present from a package. These instances take into account the name of the container daemon (docker or container-engine).
* Stop logging AWS credentials in master role.Devan Goodwin2017-05-031-0/+1
| | | | | | | Using lineinfile and with_items, the items end up logged and in this case include AWS credentials. Simple us of no_log to hide them.
* master: support HA deployments with system containersGiuseppe Scrivano2017-02-101-2/+6
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-101-3/+3
| | | | | | | | | | | | | | | Use use_system_containers=true in the inventory file alternatively you can select each component as: use_openvswitch_system_container=true use_node_system_container=true use_master_system_container=true system_images_registry holds the registry from where to fetch system containers. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* YAML LintingRussell Teague2016-12-121-0/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Pre-pull master/node/ovs images during upgrade.Devan Goodwin2016-12-071-0/+8
| | | | | | | | We did this for install but not upgrade, leading to situations where the service restarts after upgrade could take much longer than expected as docker pulls down the new image. Now the images are present when we restart services and should allow them to come back online much more quickly, equivalent to rpm service restarts.
* Prevent useless master by reworking template for master service enf fileJawed khelil2016-11-021-16/+8
|
* Preserve AWS options in sysconfig files.Devan Goodwin2016-08-261-1/+46
| | | | | | | | | | These could exist from 3.1 releases or manual edits, and were getting wiped out in all variants of the master sysconfig files as we template these. This change uses the established pattern of grepping them out if they're there, then reapplying them if the user has not configured the cloudprovider framework already.
* Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-251-4/+4
| | | | | | | | | | | | | | | | Refactored the 3.2 upgrade common files out to a path that does not indicate they are strictly for 3.2. 3.3 upgrade then becomes a relatively small copy of the byo entry point, all calling the same code as 3.2 upgrade. Thus far there are no known 3.3 specific upgrade tasks. In future we will likely want to allow hooks out to version specific pre/upgrade/post tasks. Also fixes a bug where the handlers were not restarting nodes/openvswitch containers doing upgrades, due to a change in Ansible 2+.
* Preserve proxy config if it's undefinedScott Dodson2016-06-071-0/+43
|
* At least backup thingsScott Dodson2016-06-071-0/+3
|
* The systemd unit for atomic-openshift-master wasn't not being createdBrenton Leanhardt2016-03-291-6/+16
|
* Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-291-4/+4
|
* First pass at systemd unit refactorBrenton Leanhardt2016-03-291-0/+59