| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
- 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
|
|
Bug 1277592 - SDN MTU has hardcoded default
|
|
The uninstall playbook needs to remove /run/openshift-sdn
|
|
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
|
|
|
|
If this isn't removed lbr0 won't be recreated by the Node after the following
install.
|
|
|
|
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
|
|
- 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.
|
|
|
|
controllers will attempt to start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Upgrade Improvements
|
|
|
|
|
|
|
|
|
|
[openshift_master_certificates] Fix variable master.all_hostnames
|
|
|
|
openshift.master.all_hostnames to openshift.common.all_hostnames
|
|
Fix subpackage dependencies
|
|
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.
|
|
openshift-cluster: Scaleup
|
|
Adding aws and gce to ansibe-inventory.
|
|
|
|
Add custom certificates to serving info in master configuration.
|