Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor upgrade playbook(s) | Jason DeTiberus | 2015-11-10 | 8 | -783/+0 |
| | | | | | | | | | | | | | - Split playbooks into two, one for 3.0 minor upgrades and one for 3.0 to 3.1 upgrades - Move upgrade playbooks to common/openshift/cluster/upgrades from adhoc - Added a byo wrapper playbooks to set the groups based on the byo conventions, other providers will need similar playbooks added eventually - installer wrapper updates for refactored upgrade playbooks - call new 3.0 to 3.1 upgrade playbook - various fixes for edge cases I hit with a really old config laying around. - fix output of host facts to show connect_to value. | ||||
* | Add separate step to enable services during upgrade. | Devan Goodwin | 2015-11-10 | 1 | -3/+19 |
| | | | | | Instead of combining this with tasks to restart services, add a separate started+enabled play for masters and nodes at the end of the playbook. | ||||
* | 1279734: Ensure services are enabled after upgrade. | Devan Goodwin | 2015-11-10 | 1 | -4/+4 |
| | | | | | | With the openshift to atomic-openshift renames, some services were not enabled after upgrade. Added enabled directives to all service restart lines in the upgrade playbook. | ||||
* | Merge pull request #848 from dgoodwin/drop-302-req | Brenton Leanhardt | 2015-11-09 | 1 | -4/+1 |
|\ | | | | | Remove upgrade playbook restriction on 3.0.2. | ||||
| * | Remove upgrade playbook restriction on 3.0.2. | Devan Goodwin | 2015-11-09 | 1 | -4/+1 |
| | | | | | | | | | | This is blocking 3.0.1 upgrades to 3.1 incorrectly, which is a scenario we should support. | ||||
* | | Read etcd data dir from appropriate config file. | Devan Goodwin | 2015-11-09 | 1 | -1/+1 |
|/ | | | | | | | | | Rather than assuming the etcd data dir, we now read if from master-config.yaml if using embedded etcd, otherwise from etcd.conf. Doing so now required use of PyYAML to parse config file when gathering facts. Fixed discrepancy with data_dir fact and openshift-enterprise deployment_type. | ||||
* | Fix indentation on when | Jason DeTiberus | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'dgoodwin/pre-upgrade' into upgradeFix2 | Jason DeTiberus | 2015-11-06 | 2 | -7/+12 |
|\ | |||||
| * | Minor upgrade improvements. | Devan Goodwin | 2015-11-06 | 2 | -7/+12 |
| | | | | | | | | | | | | | | Skip some 3.1 checks if doing a 3.0.x to 3.0.2 upgrade. Improve error message when oc whoami fails (i.e. openshift is down) during pre-upgrade checks, rather than assuming the binary doesn't exist. | ||||
* | | Wait for cluster to recover after pcs resource restart. | Andrew Butcher | 2015-11-06 | 1 | -0/+8 |
|/ | |||||
* | remove debug statement | Jason DeTiberus | 2015-11-06 | 1 | -2/+0 |
| | |||||
* | Fix removal of kubernetesMasterConfig.apiLevels | Jason DeTiberus | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | Fix issues related to upgrade packages being unavailable | Jason DeTiberus | 2015-11-06 | 2 | -6/+16 |
| | |||||
* | Merge pull request #51 from dgoodwin/pre-upgrade | Jason DeTiberus | 2015-11-06 | 1 | -1/+4 |
|\ | | | | | Pre upgrade | ||||
| * | Fix creation of origin symlink when dir already exists. | Devan Goodwin | 2015-11-06 | 1 | -1/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/upgradeFix2' into upgradeFix2 | Jason DeTiberus | 2015-11-06 | 2 | -3/+243 |
|\ \ | |||||
| * | | Merge pull request #50 from dgoodwin/pre-upgrade | Jason DeTiberus | 2015-11-06 | 2 | -0/+192 |
| |\| | | | | | | | Run pre-upgrade script on nodes | ||||
| | * | Add pre-upgrade script to be run on first master. | Devan Goodwin | 2015-11-06 | 2 | -0/+192 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Script currently just checks for port names that are no longer valid. In theory other checks may be added to this script in the future. Script was originally written by Steve Milner and Andy Goldstein. If the script fails, ansible seems to handle this nicely by default, exiting the upgrade and displaying stderr and stdout, both of which contain useful info on what the problem was. | ||||
| * | | Start to handle pacemaker ha during upgrade | Andrew Butcher | 2015-11-06 | 1 | -3/+51 |
| |/ | |||||
* / | Fix apiLevels modifications | Jason DeTiberus | 2015-11-06 | 1 | -7/+3 |
|/ | |||||
* | add master_hostnames definition for upgrade | Jason DeTiberus | 2015-11-05 | 1 | -0/+4 |
| | |||||
* | Additional upgrade enhancements | Jason DeTiberus | 2015-11-05 | 3 | -72/+101 |
| | | | | | | | | - rework the version checking - provide better safety if the apiLevel attributes are missing - ensure a list of api levels are present - remove a list of api levels - pylint fixes | ||||
* | Handle backups for separate etcd hosts if necessary. | Devan Goodwin | 2015-11-05 | 1 | -9/+27 |
| | |||||
* | Further upgrade improvements | Jason DeTiberus | 2015-11-05 | 1 | -46/+168 |
| | | | | | - Restart masters post reconcile - generate missing master certs and sync to masters | ||||
* | Upgrade improvements | Devan Goodwin | 2015-11-05 | 2 | -75/+56 |
| | | | | | | | | | | - Push config dir logic out of module and use host variables instead. - Backup master config with ansible utility. - Add error handling for the upgrade config module. - Add verbose option to installer. - Return details on what we changed when upgrading config. - Cleanup use of first master. - Don't install upgrade rpms to check what version we'll upgrade to. | ||||
* | Override hosts deployment_type fact for version we're upgrading to. | Devan Goodwin | 2015-11-04 | 1 | -0/+10 |
| | |||||
* | Pylint fixes for config upgrade module. | Devan Goodwin | 2015-11-04 | 1 | -10/+13 |
| | |||||
* | Disable proxy cert config upgrade until certs being generated. | Devan Goodwin | 2015-11-04 | 1 | -5/+6 |
| | |||||
* | Fix bug with not upgrading openshift-master to atomic-openshift-master. | Devan Goodwin | 2015-11-04 | 1 | -14/+5 |
| | | | | | | | | Removing the full call to config resulted in rpms not getting upgraded. Config was doing a yum update of everything, which picks up the atomic-openshift-master obsoleting openshift-master. The actual yum call changed here would not. Instead we switch to a direct call to yum which correctly picks up the obsoletes and updates to atomic-openshift packages. | ||||
* | Merge branch 'config-upgrade' into upgrade | Devan Goodwin | 2015-11-04 | 2 | -8/+125 |
|\ | |||||
| * | Move config upgrade to correct place, fix node facts. | Devan Goodwin | 2015-11-03 | 1 | -9/+20 |
| | | |||||
| * | Add in proxyClientInfo if missing during config upgrade. | Devan Goodwin | 2015-11-03 | 1 | -3/+9 |
| | | |||||
| * | Implement master-config.yaml upgrade for v1beta3 apiLevel removal. | Devan Goodwin | 2015-11-03 | 2 | -12/+66 |
| | | |||||
| * | Merge branch 'upgrade' into config-upgrade | Devan Goodwin | 2015-11-03 | 1 | -0/+43 |
| |\ | |||||
| * | | initial module framework | Jason DeTiberus | 2015-11-02 | 1 | -0/+62 |
| | | | |||||
* | | | Use the base package upgrade version so we can check things earlier. | Devan Goodwin | 2015-11-04 | 1 | -23/+41 |
| | | | |||||
* | | | Skip fail if enterprise deployment type depending on version. | Devan Goodwin | 2015-11-04 | 1 | -0/+8 |
| | | | |||||
* | | | Add debug output for location of etcd backup. | Devan Goodwin | 2015-11-03 | 1 | -0/+3 |
| |/ |/| | |||||
* | | Merge remote-tracking branch 'upstream/master' into upgrade | Devan Goodwin | 2015-11-02 | 1 | -0/+10 |
|\| | |||||
| * | Add proxy client certs to master config. | Andrew Butcher | 2015-10-22 | 1 | -0/+10 |
| | | |||||
* | | Fix etcd backup bug with not-yet-created /var/lib/origin symlink | Devan Goodwin | 2015-11-02 | 1 | -0/+5 |
| | | |||||
* | | Remove devel fail and let upgrade proceed. | Devan Goodwin | 2015-10-30 | 1 | -1/+2 |
| | | |||||
* | | Generate timestamped etcd backups. | Devan Goodwin | 2015-10-30 | 1 | -2/+2 |
| | | |||||
* | | Add etcd_data_dir fact. | Devan Goodwin | 2015-10-30 | 1 | -13/+14 |
| | | |||||
* | | Functional disk space checking for etcd backup. | Devan Goodwin | 2015-10-29 | 1 | -1/+4 |
| | | |||||
* | | First cut at checking available disk space for etcd backup. | Devan Goodwin | 2015-10-29 | 1 | -1/+26 |
| | | |||||
* | | Block upgrade if targetting enterprise deployment type. | Devan Goodwin | 2015-10-28 | 1 | -0/+8 |
|/ | | | | | enterprise is being phased out in favor of openshift-enterprise, you need to specify where you wish to go. | ||||
* | Fix yaml tabbing | Scott Dodson | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | Add `oadm reconcile-cluster-role-bindings` to upgrade playbook. | Andrew Butcher | 2015-10-12 | 1 | -1/+14 |
| | | | | Switch to version_compare filter for conditionals. | ||||
* | Upgrades | Scott Dodson | 2015-09-23 | 5 | -0/+139 |