summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #835 from brenton/masterBrenton Leanhardt2015-11-061-1/+1
|\ | | | | Updating the atomic-openshift-isntaller local connection logic for th…
| * Updating the atomic-openshift-isntaller local connection logic for the ↵Brenton Leanhardt2015-11-061-1/+1
| | | | | | | | connect_to addition.
* | Merge pull request #822 from detiber/upgradeFix2Brenton Leanhardt2015-11-062-27/+41
|\ \ | |/ |/| Upgrade enhancements
| * Write new config to disk after successful upgrade.Devan Goodwin2015-11-061-0/+1
| |
| * Fix pylint errors with getting hosts to run on.Devan Goodwin2015-11-061-1/+3
| |
| * Upgrade improvementsDevan Goodwin2015-11-052-26/+37
| | | | | | | | | | | | | | | | | | | | - 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.
* | atomic-openshift-installer: Better specification of ansible connection pointSamuel Munilla2015-11-064-36/+29
|/ | | | | Changes to installer.cfg.yaml to allow for better defaults in unattended mode. Update example in the docs.
* 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
* Fix bug with not upgrading openshift-master to atomic-openshift-master.Devan Goodwin2015-11-041-0/+1
| | | | | | | | 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.
* Fix bug from module rename.Devan Goodwin2015-11-041-1/+1
|
* Fix bug with default ansible playbook dir.Devan Goodwin2015-11-041-1/+1
|
* Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin2015-11-034-39/+51
|\
| * Merge pull request #801 from smunilla/default_playbook_argBrenton Leanhardt2015-11-031-8/+8
| |\ | | | | | | atomic-openshift-installer: Add default openshift-ansible-playbook
| | * atomic-openshift-installer: Add default openshift-ansible-playbookSamuel Munilla2015-11-031-8/+8
| | | | | | | | | | | | | | | This adds a default value to the openshift-ansible-playbook directory and also removes the requirement that it be writable.
| * | Merge pull request #798 from smunilla/inaccurate_promptBrenton Leanhardt2015-11-031-1/+1
| |\ \ | | | | | | | | atomic-openshift-installer: Correct inaccurate prompt
| | * | atomic-openshift-installer: Correct inaccurate promptSamuel Munilla2015-11-031-1/+1
| | |/
| * | ooinstall: Add check for nopwd sudoSamuel Munilla2015-11-031-1/+6
| | |
| * | ooinstall: Update local install checkSamuel Munilla2015-11-031-2/+2
| | | | | | | | | | | | | | | | | | Update to check both hostname and public_hostname. Remove ansible_sudo=no as I failed to notice we were already checking if ansible_ssh_user == 'root' and setting it there.
| * | oo-install: Support running on the host to be deployedSamuel Munilla2015-11-031-0/+7
| |/ | | | | | | | | | | | | | | | | | | This adds a check to see if the host the installer is running on is one of the hosts to be installed and sets i ansible_connection=local ansible_sudo=no in the inventory file.
| * Merge pull request #783 from smunilla/text_improvementsBrenton Leanhardt2015-11-032-2/+2
| |\ | | | | | | atomic-openshift-installer: Text improvements
| | * atomic-openshift-installer: Text improvementsSamuel Munilla2015-11-022-2/+2
| | | | | | | | | | | | | | | Improvements to some of the installer text based on suggestions from the doc team.
| * | Rename install_transactions module to openshift_ansible.Devan Goodwin2015-11-023-27/+27
| | |
* | | Fix installer upgrade bug following pylint fix.Devan Goodwin2015-11-031-1/+1
| | |
* | | Document the new version field for installer config.Devan Goodwin2015-11-031-0/+5
| | |
* | | Remove my username from some test data.Devan Goodwin2015-11-031-3/+3
| | |
* | | Add a simple version for the installer config file.Devan Goodwin2015-11-032-0/+6
| | |
* | | Pylint fix.Devan Goodwin2015-11-031-1/+1
| | |
* | | Better info prior to initiating upgrade.Devan Goodwin2015-11-021-11/+10
| | |
* | | Print info after upgrade completes.Devan Goodwin2015-11-022-1/+8
| | |
* | | Automatically upgrade legacy config files.Devan Goodwin2015-11-022-10/+92
| | |
* | | First cut at checking available disk space for etcd backup.Devan Goodwin2015-10-293-3/+18
| | |
* | | Block upgrade if targetting enterprise deployment type.Devan Goodwin2015-10-282-0/+33
|/ / | | | | | | | | enterprise is being phased out in favor of openshift-enterprise, you need to specify where you wish to go.
* | Use default playbooks if available.Devan Goodwin2015-10-271-7/+10
| | | | | | | | | | Because we're now installing from an rpm, we have a good idea where to find the default playbooks and shouldn't require the user to tell us.
* | Add uninstall subcommand.Devan Goodwin2015-10-272-4/+28
| |
* | Add subcommands to CLI.Devan Goodwin2015-10-274-50/+91
|/
* Pylint fixes and ignores for incoming oo-install code.Devan Goodwin2015-10-279-48/+81
|
* Add atomic-openshift-utilsTroy Dawson2015-10-2621-0/+1959
add atomic-openshift-utils to openshift-ansible.spec file no need for redundent spec file remove dependencies that are not needed