| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Wait for cluster to recover after pcs resource restart.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Pre upgrade
|
| | |
|
| | |
|
|\ \ |
|
| |\|
| | |
| | | |
Run pre-upgrade script on nodes
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- Restart masters post reconcile
- generate missing master certs and sync to masters
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|\
| |
| | |
Native Support for Multi-Master HA
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
controllers will attempt to start
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Bug 1277592 - SDN MTU has hardcoded default
|
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
|\ \ \
| | | |
| | | | |
The uninstall playbook needs to remove /run/openshift-sdn
|
| | | |
| | | |
| | | |
| | | |
| | | | |
If this isn't removed lbr0 won't be recreated by the Node after the following
install.
|
|\ \ \ \
| |/ / /
|/| | | |
Bug 1274201 - Fixing sudo non-interactive test
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously the output was a little confusing. We didn't display anything about
the uninstalled hosts.
|
| | | |
| | | |
| | | |
| | | | |
all cases
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
~~~
|
|/ / /
| | |
| | |
| | | |
https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
|
|\ \ \
| |_|/
|/| | |
Add pacemaker configuration to uninstall
|
|/ / |
|
|\ \
| | |
| | | |
Upgrade Improvements
|
| | | |
|