summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52 from abutcher/pcs-restart-master3Jason DeTiberus2015-11-062-0/+10
|\ | | | | Wait for cluster to recover after pcs resource restart.
| * Missing conditionals for api/controller sysconfig.Andrew Butcher2015-11-061-0/+2
| |
| * Wait for cluster to recover after pcs resource restart.Andrew Butcher2015-11-061-0/+8
|/
* remove debug statementJason DeTiberus2015-11-061-2/+0
|
* Fix removal of kubernetesMasterConfig.apiLevelsJason DeTiberus2015-11-061-1/+1
|
* Fix issues related to upgrade packages being unavailableJason DeTiberus2015-11-062-6/+16
|
* Merge pull request #51 from dgoodwin/pre-upgradeJason DeTiberus2015-11-062-1/+5
|\ | | | | Pre upgrade
| * Fix creation of origin symlink when dir already exists.Devan Goodwin2015-11-061-1/+4
| |
| * Write new config to disk after successful upgrade.Devan Goodwin2015-11-061-0/+1
| |
* | Merge remote-tracking branch 'origin/upgradeFix2' into upgradeFix2Jason DeTiberus2015-11-064-4/+251
|\ \
| * | Merge pull request #50 from dgoodwin/pre-upgradeJason DeTiberus2015-11-063-1/+195
| |\| | | | | | | Run pre-upgrade script on nodes
| | * Fix pylint errors with getting hosts to run on.Devan Goodwin2015-11-061-1/+3
| | |
| | * Add pre-upgrade script to be run on first master.Devan Goodwin2015-11-062-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.
| * | Merge pull request #49 from abutcher/pcs-restart-master2Jason DeTiberus2015-11-062-3/+56
| |\ \ | | |/ | |/| Start to handle pacemaker ha during upgrade
| | * Start to handle pacemaker ha during upgradeAndrew Butcher2015-11-062-3/+56
| |/
* / Fix apiLevels modificationsJason DeTiberus2015-11-061-7/+3
|/
* add master_hostnames definition for upgradeJason DeTiberus2015-11-051-0/+4
|
* Additional upgrade enhancementsJason DeTiberus2015-11-053-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 Goodwin2015-11-051-9/+27
|
* Further upgrade improvementsJason DeTiberus2015-11-051-46/+168
| | | | | - Restart masters post reconcile - generate missing master certs and sync to masters
* Upgrade improvementsDevan Goodwin2015-11-054-101/+93
| | | | | | | | | | - 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.
* Merge pull request #608 from abutcher/native-haBrenton Leanhardt2015-11-0529-53/+559
|\ | | | | Native Support for Multi-Master HA
| * Revert to defaultsAndrew Butcher2015-11-052-4/+3
| |
| * Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-0521-102/+196
| |
| * Atomic Enterprise/OpenShift Enterprise merge updateJason DeTiberus2015-11-042-2/+2
| |
| * fix dueling controllers - without controllerLeaseTTL set in config, multiple ↵Jason DeTiberus2015-11-044-1/+8
| | | | | | | | controllers will attempt to start
| * default to source persistence for haproxyJason DeTiberus2015-11-041-1/+1
| |
| * hardcode openshift binaries for nowJason DeTiberus2015-11-043-5/+13
| |
| * more tweaksJason DeTiberus2015-11-042-3/+6
| |
| * more tweaksJason DeTiberus2015-11-0411-56/+94
| |
| * additional ha related updatesJason DeTiberus2015-11-048-14/+182
| |
| * additional native ha changesAndrew Butcher2015-11-043-7/+7
| |
| * Start of true master haJason DeTiberus2015-11-049-4/+183
| |
| * Atomic Enterprise related changes.Avesh Agarwal2015-11-046-6/+16
| |
* | Merge pull request #815 from detiber/fixMTUBrenton Leanhardt2015-11-052-5/+16
|\ \ | | | | | | Bug 1277592 - SDN MTU has hardcoded default
| * | Bug 1277592 - SDN MTU has hardcoded defaultJason DeTiberus2015-11-042-5/+16
| | | | | | | | | | | | | | | | | | - Attempt to detect the MTU of the interface associated with the node IP and set the default for sdn_mtu accordingly. The value can still be overriden by users and if detection fails the previous default of 1450 is still used.
* | | Merge pull request #820 from brenton/uninstallBrenton Leanhardt2015-11-051-2/+6
|\ \ \ | | | | | | | | The uninstall playbook needs to remove /run/openshift-sdn
| * | | The uninstall playbook needs to remove /run/openshift-sdnBrenton Leanhardt2015-11-051-2/+6
| | | | | | | | | | | | | | | | | | | | If this isn't removed lbr0 won't be recreated by the Node after the following install.
* | | | Merge pull request #819 from brenton/BZ1274201Brenton Leanhardt2015-11-052-43/+71
|\ \ \ \ | |/ / / |/| | | Bug 1274201 - Fixing sudo non-interactive test
| * | | Bug 1278243 - Confusing prompt from atomic-openshift-installerBrenton Leanhardt2015-11-051-1/+2
| | | |
| * | | Bug 1278244 - Previously there was no way to add a node in unattended modeBrenton Leanhardt2015-11-051-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO: We desparately need tests cases for: - interactive with no config file - interactive with config file and all installed hosts - interactive with config file and no installed hosts - interactive with config file and some installed some uninstalled hosts - unattended with config file and all installed hosts (with and without --force) - unattended with config file and no installed hosts (with and without --force) - unattended with config file and some installed some uninstalled hosts (with and without --force)
| * | | Bug 1278244 - Incorrect node information gathered by atomic-openshift-installerBrenton Leanhardt2015-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | Previously the output was a little confusing. We didn't display anything about the uninstalled hosts.
| * | | atomic-openshift-installer's unattended mode wasn't work with --force for ↵Brenton Leanhardt2015-11-051-1/+4
| | | | | | | | | | | | | | | | all cases
| * | | Making it easier to use pre-release contentBrenton Leanhardt2015-11-051-10/+11
| | | |
| * | | Bug 1274201 - Fixing non-root installations if using a local connectionBrenton Leanhardt2015-11-051-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were writing out a inventory like this: ~~~ [OSEv3:children] masters nodes [OSEv3:vars] ansible_ssh_user=root deployment_type=openshift-enterprise ansible_connection=local [masters] ose3-master.example.com openshift_hostname=ose3-master.example.com [nodes] ose3-master.example.com openshift_hostname=ose3-master.example.com ose3-node1.example.com openshift_hostname=ose3-node1.example.com ose3-node2.example.com openshift_hostname=ose3-node2.example.com ~~~ The problem with that is now all the hosts are consider local connections. In addition our sudo check wasn't working as expected. We would check that we have sudo, but the playbooks were not running with root privileges. When gathering facts you'd hit: ~~~ __main__.OpenShiftFactsFileWriteError: Could not create fact file: /etc/ansible/facts.d/openshift.fact, error: [Errno 13] Permission denied: '/etc/ansible/facts.d/openshift.fact' ~~~ Instead the test for locale connections needs to be per host. Anytime we're not running as root we need `ansible_become` set: ~~~ ose3-master.example.com openshift_hostname=ose3-master.example.com ansible_connection=local ansible_become=true ~~~
| * | | Bug 1274201 - Fixing sudo non-interactive testBrenton Leanhardt2015-11-051-1/+1
|/ / / | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
* | | Merge pull request #817 from abutcher/uninstall-pacemakerBrenton Leanhardt2015-11-051-0/+6
|\ \ \ | |_|/ |/| | Add pacemaker configuration to uninstall
| * | Remove pacemaker bits.Andrew Butcher2015-11-041-0/+6
|/ /
* | Merge pull request #792 from dgoodwin/upgradeBrenton Leanhardt2015-11-049-35/+383
|\ \ | | | | | | Upgrade Improvements
| * | Override hosts deployment_type fact for version we're upgrading to.Devan Goodwin2015-11-041-0/+10
| | |