summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
Commit message (Collapse)AuthorAgeFilesLines
* polish openshift-master roleJan Chaloupka2017-08-166-105/+192
|
* Fix Restore Master AWS OptionsMichael Fraenkel2017-08-111-1/+1
| | | | - remove dangling bool
* Merge pull request #4797 from kwoodson/os_firewall_refactorScott Dodson2017-08-112-0/+44
|\ | | | | Refactor the firewall workflow.
| * Updated README to reflect refactor. Moved firewall initialize into separate ↵Kenny Woodson2017-08-101-2/+2
| | | | | | | | file.
| * Adding a default condition and removing unneeded defaults.Kenny Woodson2017-08-091-4/+4
| |
| * First attempt at refactor of os_firewallKenny Woodson2017-08-082-0/+44
| |
* | system_container.yml: fix bracesLuke Meyer2017-08-101-1/+1
| |
* | Remove remaining references to openshift-master.serviceClayton Coleman2017-08-081-12/+0
| | | | | | | | Prevents playbooks from accidentally restarting the master service.
* | Disable old openshift-master.service on upgradeClayton Coleman2017-08-082-0/+8
| |
* | Remove the origin-master.service and associated filesClayton Coleman2017-08-083-135/+28
|/ | | | | | 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.
* Merge pull request #4789 from ↵Jan Chaloupka2017-08-041-4/+4
|\ | | | | | | | | ingvagabund/allow-to-specify-docker-registry-for-system-containers Allow to specify docker registry for system containers
| * allow to specify docker registry for system containersJan Chaloupka2017-07-191-4/+4
| |
* | Merge pull request #4894 from tbielawa/reg-dns-scaleup-bz1469336OpenShift Bot2017-08-011-3/+3
|\ \ | | | | | | Merged by openshift-bot
| * | 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
* | | Tolerate non existence of /etc/sysconfig/atomic-openshift-masterScott Dodson2017-07-271-2/+2
|/ /
* | Merge pull request #4813 from sdodson/log-dumperScott Dodson2017-07-261-0/+20
|\ \ | | | | | | Fix log dumping on service failure
| * | Fix log dumping on service failureScott Dodson2017-07-201-0/+20
| |/ | | | | | | Also, add log dumping to master service startup too
* | If proxy in effect, add etcd host IP addresses to NO_PROXY list on mastersTim Bielawa2017-07-211-0/+6
|/ | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1466783
* Fix yamllintScott Dodson2017-07-061-10/+10
|
* Removed quotes and added env variable to be specific.Kenny Woodson2017-07-051-2/+2
|
* [BZ 1467786] Fix for OPENSHIFT_DEFAULT_REGISTRY setting.Kenny Woodson2017-07-051-2/+11
|
* Merge pull request #4292 from sdodson/push-via-dnsOpenShift Bot2017-06-201-0/+3
|\ | | | | Merged by openshift-bot
| * Enable push to registry via dns only on clean 3.6 installsScott Dodson2017-06-181-0/+3
| | | | | | | | | | We cannot assume that 3.5 to 3.6 upgrades were signed with the correct certs
* | Preserve etcd3 storage if it's already in useScott Dodson2017-06-181-20/+0
|/ | | | | This would be the case if for instance they'd upgraded and then migrated.
* etcd v3 for clean installsScott Dodson2017-06-161-0/+20
| | | | | If we have no master config assume that we're a clean install. If we're a clean install and we're 3.6 or greater use etcd v3 storage.
* Add daemon_reload parameter to service tasksTim Bielawa2017-06-011-0/+1
| | | | | | | Fixes "Could not find the requested service atomic-openshift-master: cannot enable" error during reinstall. https://bugzilla.redhat.com/show_bug.cgi?id=1451693
* Fix templating of static service filesRussell Teague2017-05-122-1/+2
|
* 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.
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Use meta/main.yml for role dependenciesRussell Teague2017-03-271-4/+0
|
* Force to use TLSv1.2 (related to ↵Olivier Buisson2017-03-131-1/+1
| | | | https://github.com/openshift/openshift-ansible/pull/2707)
* master: use the new oc_atomic_container moduleGiuseppe Scrivano2017-02-281-56/+23
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* master, vars/main.yml: define l_is_ha and l_is_same_versionGiuseppe Scrivano2017-02-141-12/+12
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* master: support HA deployments with system containersGiuseppe Scrivano2017-02-102-2/+47
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* system-containers: implement idempotent updateGiuseppe Scrivano2017-02-101-2/+21
| | | | | | | | Upstream version has "atomic containers update ..." but the RHEL version is still using "atomic update --container" so stick with this for now. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-103-3/+24
| | | | | | | | | | | | | | | 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-072-7/+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.
* Refactored to use Ansible systemd moduleRussell Teague2016-11-281-28/+36
| | | | | | * Ansible systemd module used in place of service module * Refactored command tasks which are no longer necessary * Applying rules from openshift-ansible Best Practices Guide
* Refactor to use Ansible package moduleRussell Teague2016-11-171-3/+5
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Prevent useless master by reworking template for master service enf fileJawed khelil2016-11-021-16/+8
|
* Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-191-1/+1
| | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* Apply same pattern to HA master servicesScott Dodson2016-10-101-0/+12
|
* Retry failed master startup onceDan Mace2016-10-071-0/+11
| | | | | | | | | | | | | Master startup can fail when ec2 transparently reallocates the block storage, causing etcd writes to temporarily fail. Retry failures blindly just once to allow time for this transient condition to to resolve and for systemd to restart the master (which will eventually succeed). https://github.com/coreos/etcd/issues/3864 https://github.com/openshift/origin/issues/6065 https://github.com/openshift/origin/issues/6447
* tweak logicJason DeTiberus2016-09-261-1/+1
|
* test fix for systemd changesScott Dodson2016-09-261-1/+2
|
* Fix master service status changed fact.Andrew Butcher2016-09-211-1/+5
|
* 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.
* Support for redeploying certificates.Andrew Butcher2016-08-111-34/+0
|