summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4257 from dmsimard/hostname_validationOpenShift Bot2017-05-241-1/+3
|\ | | | | Merged by openshift-bot
| * Allow a hostname to resolve to 127.0.0.1 during validationDavid Moreau-Simard2017-05-211-1/+3
| | | | | | | | | | | | | | | | | | 127.0.0.1 does not end up in "ansible_all_ipv4_addresses" and should be considered valid. For example, a hostname could be resolving to a public address that is not bound to the actual server. Or the host could resolve to 127.0.0.1 from the perspective of the host since the hostname is set up in /etc/hosts.
* | health check playbooks: relocate and expandLuke Meyer2017-05-223-0/+21
|/ | | | | | | | | | | | | | | | | | We are moving toward having adhoc post-install checks and so the "preflight" designation needs to be widened. Updated location to playbooks/byo/openshift-checks, added health check playbook, and updated README. Also included the certificate_expiry playbooks. Left behind symlinks and wrappers for existing checks. To conform with the direction of the rest of the repo, the openshift-checks playbooks are split into two directories, one under playbooks/common with the actual invocation and one under playbooks/byo for entrypoints that are just wrappers for the ones in common. Because the certificate_expiry playbooks are intended not just to be functional but to be examples that users modify, I did not split them similarly. That could happen later after discussion but for now I just left them whole under byo/openshift-checks/certificate_expiry.
* Merge pull request #4217 from ingvagabund/move-etcd-upgrade-code-into-roleJan Chaloupka2017-05-2111-230/+87
|\ | | | | Move etcd upgrade code into role
| * move etcd upgrade related code into etcd_upgrade roleJan Chaloupka2017-05-1811-230/+87
| |
* | Merge pull request #4094 from ashcrow/status-doesnt-existJan Chaloupka2017-05-191-1/+1
|\ \ | | | | | | Ensure good return code for specific until loops
| * | Ensure good return code for specific until loopsSteve Milner2017-05-041-1/+1
| | |
* | | Merge pull request #4190 from sdodson/BZ1428934OpenShift Bot2017-05-181-1/+3
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Include object validation in 3.6 upgradesScott Dodson2017-05-151-1/+3
| | | | | | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428934
* | | | Merge pull request #4176 from mtnbikenc/refactor-openshift_excludersOpenShift Bot2017-05-187-58/+47
|\ \ \ \ | |_|_|/ |/| | | Merged by openshift-bot
| * | | Rework openshift_excluders roleRussell Teague2017-05-167-58/+47
| |/ /
* / / fix etcd_container_version detectionJan Chaloupka2017-05-171-39/+57
|/ /
* | Merge pull request #4155 from ewolinetz/registry_console_upgradeOpenShift Bot2017-05-131-0/+22
|\ \ | | | | | | Merged by openshift-bot
| * | Updating registry-console image version during a post_control_plane upgradeewolinetz2017-05-121-0/+22
| | |
* | | Merge pull request #3879 from ingvagabund/run-excluders-on-selected-hosts-onlyJan Chaloupka2017-05-1221-54/+100
|\ \ \ | |/ / |/| | run excluders over selected set of hosts during control_plane/node upgrade
| * | run excluders over selected set of hosts during control_plane/node upgradeJan Chaloupka2017-05-0321-54/+100
| |/ | | | | | | Disable/reset excluders over requested hosts
* | Merge pull request #4124 from ingvagabund/update-etcd-common-readmeOpenShift Bot2017-05-101-1/+0
|\ \ | | | | | | Merged by openshift-bot
| * | polish etcd_common roleJan Chaloupka2017-05-091-1/+0
| | |
* | | Merge pull request #3969 from jarrpa/glusterfs-registry-tooOpenShift Bot2017-05-103-2/+53
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | GlusterFS: Allow swapping an existing registry's backend storageJose A. Rivera2017-05-041-1/+46
| | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | GlusterFS: Allow for a separate registry-specific playbookJose A. Rivera2017-05-043-2/+8
| | |/ | |/| | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | Merge pull request #4117 from sdodson/flatten_upgrade_pkgsOpenShift Bot2017-05-101-22/+34
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Perform package upgrades in one transactionScott Dodson2017-05-081-22/+34
| | |/ | |/| | | | | | | | | | Without this we were pullining in unbounded dependencies and upgrading to the latest version available in a repo.
* | | Merge pull request #4097 from mtnbikenc/fix-version-checkScott Dodson2017-05-101-25/+29
|\ \ \ | | | | | | | | Properly fail on empty repoquery version checks
| * | | Properly fail if OpenShift RPM version is undefinedRussell Teague2017-05-081-25/+29
| |/ /
* / / Remove vim configuration from Python filesRodolfo Carvalho2017-05-091-2/+0
|/ / | | | | | | | | | | | | In a project where contributors are free to use whatever editor they want and we have linting tools that verify the proper formatting of Python files, it should not be required to have a vim-specific line in Python files.
* | Merge pull request #4077 from ingvagabund/move-etcdctl-profiles-to-etcd-commonJan Chaloupka2017-05-041-1/+3
|\ \ | | | | | | move etcdctl.yml from etcd to etcd_common role
| * | move etcdctl.yml from etcd to etcd_common roleJan Chaloupka2017-05-031-1/+3
| |/
* | Merge pull request #4044 from mtnbikenc/clean-cacheOpenShift Bot2017-05-041-11/+0
|\ \ | |/ |/| Merged by openshift-bot
| * Ensure repo cache is clean on the first runRussell Teague2017-05-031-11/+0
| | | | | | | | | | | | The openshift_repos role is modified to clean the repo cache on first run to ensure a clean cache in the situation where the repo files have been changed manually, such as just prior to upgrades.
* | Merge pull request #4038 from mtnbikenc/upgrade-refactorOpenShift Bot2017-05-0219-80/+1374
|\ \ | | | | | | Merged by openshift-bot
| * | etcd Upgrade RefactorRussell Teague2017-05-025-80/+68
| | | | | | | | | | | | | | | | | | * Renaming etcd_hosts_to_* to oo_etcd_hosts_to* * Moving host group evaluation to evaluate_groups.yml * Removing duplicate evaluate_groups.yml usage
| * | v3.3 Upgrade RefactorRussell Teague2017-05-024-0/+325
| | |
| * | v3.4 Upgrade RefactorRussell Teague2017-05-024-0/+321
| | |
| * | v3.5 Upgrade RefactorRussell Teague2017-05-023-0/+330
| | |
| * | v3.6 Upgrade RefactorRussell Teague2017-05-023-0/+330
| | |
* | | Merge pull request #4045 from kwoodson/normalize_groupsOpenShift Bot2017-05-023-3/+4
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Normalizing groups.Kenny Woodson2017-05-013-3/+4
| |/
* | Merge pull request #4034 from ↵Jan Chaloupka2017-05-022-38/+4
|\ \ | | | | | | | | | | | | ingvagabund/move-excluder-verification-code-under-excluders-role [RFE] move excluder upgrade validation tasks under openshift_excluder role
| * | move excluder upgrade validation tasks under openshift_excluder roleJan Chaloupka2017-04-282-38/+4
| |/
* | Don't double quote when conditionsScott Dodson2017-05-013-19/+19
| |
* | Remove jinja template delimeters from when conditionsScott Dodson2017-05-014-20/+20
|/ | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* Merge pull request #3860 from sdodson/backup-v3-dataOpenShift Bot2017-04-251-32/+28
|\ | | | | Merged by openshift-bot
| * Cleanup comments and remove extraneous tasksScott Dodson2017-04-101-23/+7
| |
| * Store backups in /var/lib/etcd/openshift-backupScott Dodson2017-04-101-19/+12
| | | | | | | | | | | | | | | | Because containerized installs don't mount /var/lib/origin and we switched to running the backup inside the container that meant that we were backing up the etcd data into a directory inside the container filesystem. Since we have no other volume mounted we need to backup into /var/lib/etcd.
| * Create member/snap directory encase it doesn't existScott Dodson2017-04-071-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes TASK [Copy etcd v3 data store] ************************************************* fatal: [host.redhat.com]: FAILED! => { "changed": true, "cmd": [ "cp", "-a", "/var/lib/etcd//member/snap", "/var/lib/origin/etcd-backup-pre-upgrade-20170407055413/member/" ], "delta": "0:00:00.003152", "end": "2017-04-07 01:54:17.584685", "failed": true, "rc": 1, "start": "2017-04-07 01:54:17.581533", "warnings": [] } STDERR: cp: cannot create directory ?/var/lib/origin/etcd-backup-pre-upgrade-20170407055413/member/?: No such file or directory
| * Copy v3 data dir when performing backupScott Dodson2017-04-051-1/+15
| | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1433272
* | Differentiate between service serving router certificate and custom ↵Andrew Butcher2017-04-241-1/+60
| | | | | | | | openshift_hosted_router_certificate when replacing the router certificate.
* | Don't check excluder versions when they're not enabledScott Dodson2017-04-201-6/+7
| |
* | Merge pull request #3936 from mtnbikenc/fix-ca-pathsRussell Teague2017-04-191-3/+3
|\ \ | | | | | | BZ 1442942: Fix paths for file includes