Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug 1274201 - Fixing non-root installations if using a local connection | Brenton Leanhardt | 2015-11-05 | 1 | -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 test | Brenton Leanhardt | 2015-11-05 | 1 | -1/+1 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13 | ||||
* | Merge pull request #817 from abutcher/uninstall-pacemaker | Brenton Leanhardt | 2015-11-05 | 1 | -0/+6 |
|\ | | | | | Add pacemaker configuration to uninstall | ||||
| * | Remove pacemaker bits. | Andrew Butcher | 2015-11-04 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #792 from dgoodwin/upgrade | Brenton Leanhardt | 2015-11-04 | 9 | -35/+383 |
|\ | | | | | Upgrade Improvements | ||||
| * | 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 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/master' into upgrade | Devan Goodwin | 2015-11-04 | 33 | -310/+582 |
| |\ | |/ |/| | |||||
* | | Merge pull request #812 from talset/master | Brenton Leanhardt | 2015-11-04 | 1 | -3/+0 |
|\ \ | | | | | | | [openshift_master_certificates] Fix variable master.all_hostnames | ||||
| * | | remove debug line | talset | 2015-11-04 | 1 | -3/+0 |
| | | | |||||
| * | | [roles/openshift_master_certificates/tasks/main.yml] Fix variable ↵ | talset | 2015-11-04 | 1 | -1/+1 |
|/ / | | | | | | | openshift.master.all_hostnames to openshift.common.all_hostnames | ||||
* | | Merge pull request #807 from detiber/fixRPMDeps | Brenton Leanhardt | 2015-11-04 | 1 | -0/+5 |
|\ \ | | | | | | | Fix subpackage dependencies | ||||
| * | | Fix subpackage dependencies | Jason DeTiberus | 2015-11-04 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #761 from smunilla/scaleup | Brenton Leanhardt | 2015-11-04 | 9 | -75/+83 |
|\ \ \ | | | | | | | | | openshift-cluster: Scaleup | ||||
| * | | | Refactor common group evaluation to avoid duplication | Jason DeTiberus | 2015-11-04 | 9 | -139/+77 |
| | | | | |||||
| * | | | common/openshift-cluster: Scaleup playbook | Samuel Munilla | 2015-11-04 | 1 | -0/+70 |
| | | | | | | | | | | | | | | | | New playbook to add nodes to a cluster without altering the masters | ||||
* | | | | Merge pull request #809 from kwoodson/invenupdate | Kenny Woodson | 2015-11-04 | 1 | -1/+5 |
|\ \ \ \ | | | | | | | | | | | Adding aws and gce to ansibe-inventory. | ||||
| * | | | | Adding aws and gce packages to ansible-inventory | Kenny Woodson | 2015-11-04 | 1 | -1/+5 |
| | | | | | |||||
* | | | | | Merge pull request #767 from abutcher/custom-certs | Brenton Leanhardt | 2015-11-04 | 5 | -5/+106 |
|\ \ \ \ \ | | | | | | | | | | | | | Add custom certificates to serving info in master configuration. | ||||
| * | | | | | Filter internal hostnames from the list of parsed names. | Andrew Butcher | 2015-11-03 | 5 | -8/+28 |
| | | | | | | |||||
| * | | | | | Add custom certificates to serving info in master configuration. | Andrew Butcher | 2015-11-03 | 4 | -1/+82 |
| | | | | | | |||||
* | | | | | | Automatic commit of package [openshift-ansible] release [3.0.7-1]. | Kenny Woodson | 2015-11-04 | 2 | -2/+41 |
| |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #806 from mwoodson/disk_checks | Matt Woodson | 2015-11-04 | 1 | -0/+8 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | added %util in zabbix | ||||
| * | | | | added the %util in zabbix | Matt Woodson | 2015-11-04 | 1 | -0/+8 |
|/ / / / | |||||
* | | | | Merge pull request #793 from kwoodson/multiinventory | Kenny Woodson | 2015-11-04 | 14 | -213/+294 |
|\ \ \ \ | | | | | | | | | | | Renamed multi_ec2 to multi_inventory. Adding support for gce to mult_inventory. | ||||
| * | | | | Support for gce | Kenny Woodson | 2015-11-03 | 14 | -213/+294 |
| | | | | | |||||
* | | | | | Merge pull request #805 from smunilla/default_playbook_arg | Brenton Leanhardt | 2015-11-04 | 1 | -1/+1 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | atomic-openshift-installer: Correct default playbook directory | ||||
| * | | | | atomic-openshift-installer: Correct default playbook directory | Samuel Munilla | 2015-11-04 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #804 from mwoodson/disk_checks | Matt Woodson | 2015-11-03 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | fixed copy and paste spelling error | ||||
| * | | | | | fixed a dumb naming mistake | Matt Woodson | 2015-11-03 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #771 from kwoodson/updategce | Kenny Woodson | 2015-11-03 | 1 | -11/+21 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Updating to latest gce.py inventory module from ansible | ||||
| * | | | | | | Pulling latest gce.py module from ansible | Kenny Woodson | 2015-10-30 | 1 | -11/+21 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #803 from mwoodson/disk_checks | Matt Woodson | 2015-11-03 | 1 | -0/+13 |
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | added disk tps check to zabbix | ||||
| * | | | | | | added disk tps checks to zabbix | Matt Woodson | 2015-11-03 | 1 | -0/+13 |
| | |_|_|/ / | |/| | | | | |||||
* | | | | | | Merge pull request #778 from error10/patch-1 | Brenton Leanhardt | 2015-11-03 | 1 | -0/+6 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Don't require tty to run sudo | ||||
| * | | | | | | Disable requiretty for only the openshift user | error10 | 2015-11-01 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | Use write_files to disable requiretty for the openshift user as suggested by @detiberm, fixes #773 | ||||
| * | | | | | | Update user-data | error10 | 2015-11-01 | 0 | -0/+0 |
| | | | | | | | |||||
| * | | | | | | Don't require tty to run sudo | error10 | 2015-10-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | Set Defaults !requiretty so that ansible can run sudo without a terminal. Fixes #773 | ||||
| | | | | | * | Fix bug with not upgrading openshift-master to atomic-openshift-master. | Devan Goodwin | 2015-11-04 | 2 | -14/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Goodwin | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | |||||
| | | | | | * | Fix bug with default ansible playbook dir. | Devan Goodwin | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | |||||
| | | | | | * | Merge branch 'config-upgrade' into upgrade | Devan Goodwin | 2015-11-04 | 3 | -11/+128 |
| | | | | | |\ | |||||
| | | | | | | * | Move config upgrade to correct place, fix node facts. | Devan Goodwin | 2015-11-03 | 3 | -13/+24 |
| | | | | | | | | |||||
| | | | | | | * | 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 | 3 | -13/+67 |
| | | | | | | | | |||||
| | | | | | | * | Merge branch 'upgrade' into config-upgrade | Devan Goodwin | 2015-11-03 | 1 | -1/+1 |
| | | | | | | |\ | |||||
| | | | | | | * \ | Merge branch 'upgrade' into config-upgrade | Devan Goodwin | 2015-11-03 | 11 | -66/+332 |
| | | | | | | |\ \ | |||||
| | | | | | | * | | | 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 |
| | | | | | | | | |