| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Don't assume storage_migration control variables are already boolean
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
openshift_upgrade_pre_storage_migration_enabled
openshift_upgrade_pre_storage_migration_fatal
openshift_upgrade_post_storage_migration_enabled
openshift_upgrade_post_storage_migration_enabled
because the 4 variables are not already defaulted/evaluated there's no
guarantee that they're actually the boolean type at this point.
Example: if they're passed in on the command line
|
|\ \
| | |
| | | |
Merged by openshift-bot
|
| |/
| |
| |
| | |
Signed-off-by: Steve Milner <smilner@redhat.com>
|
|/ |
|
|\
| |
| | |
upgrade: Verify required network items are set
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When upgrading osm_cluster_network_cidr, osm_host_subnet_length, and
openshift_portal_net must be set to avoid SDN initialization errors.
This was found when the default parameters were changed between Openshift
versions. This meant users who upgraded and did not specify either
mentioned variable at install/upgrade time ended up getting SDN errors
post upgrade.
When osm_cluster_network_cidr, osm_host_subnet_length, and
openshift_portal_net are not set the upgrade will fail telling the user
that the variables must be set and how to find the current values in the
current install.
References: https://github.com/openshift/openshift-ansible/commit/b50b4ea0b03feb9431abd7294fe4fb6b549ddfc0
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1451023
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Most of this role's purpose was to set facts. The vast majority
of these facts were simply redefining user-supplied variables.
This commit also removes various artifacts leftover from
previous versions, as well as variables that seem to be
entirely unused.
|
|\
| |
| | |
[BZ1486450] Only run migrate auth for < 3.7
|
| | |
|
|\ \
| | |
| | | |
Merged by openshift-bot
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Currently, openshift_master upgrade play imports tasks directly
from the openshift_master role. This method does not honor
role defaults.
This commit changes sets openshift_master_config_dir if undefined.
|
|/ |
|
|\
| |
| | |
Merged by openshift-bot
|
| | |
|
|/
|
|
|
|
|
| |
Adds task to run `oc adm migrate authorization` to ensure OpenShift
authorization objects are in sync.
Fixes #5021
|
| |
|
|
|
|
|
|
|
|
| |
Without that, playbook runs print warnings such as this:
[WARNING]: when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: {{ g_etcd_hosts is not
defined and g_new_etcd_hosts is not
defined}}
|
|\
| |
| | |
Merged by openshift-bot
|
| |
| |
| |
| | |
Prevents playbooks from accidentally restarting the master service.
|
| | |
|
| |
| |
| |
| |
| |
| | |
From now on, all master configurations use the api / controller split,
regardless of HA mode or previous configuration. This will be our only
supported configuration starting in 3.7 or 3.8.
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
juanvallejo/jvallejo/verify-disk-memory-before-upgrade
Add health checks to upgrade playbook
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
Allow configuration of these options, these are their defaults
openshift_upgrade_pre_storage_migration_enabled=true
openshift_upgrade_post_storage_migration_enabled=true
openshift_upgrade_pre_storage_migration_fatal=true
openshift_upgrade_post_storage_migration_fatal=false
|
|\
| |
| | |
drain still pending in below files without fix :
|
| |
| |
| |
| |
| |
| |
| | |
playbooks/common/openshift-cluster/upgrades/docker/docker_upgrade.yml
playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
Signed-off-by: jkaurredhat <jkaur@redhat.com>
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Upgrade fails when "Drain Node for Kubelet upgrade"
|
| |/
| |
| |
| |
| |
| | |
Fixes : https://bugzilla.redhat.com/show_bug.cgi?id=1468572
Signed-off-by: jkaurredhat <jkaur@redhat.com>
|
|\ \
| | |
| | | |
Merged by openshift-bot
|
| |/
| |
| |
| | |
Signed-off-byr jkaurredhat <jkaur@redhat.com>
|
|\ \
| |/
|/|
| |
| | |
ingvagabund/increase-timeout-when-waiting-for-master-and-nodes
increase implicit 300s default timeout to explicit 600s
|
| | |
|
|\ \
| | |
| | | |
Merged by openshift-bot
|
| |/ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
Fixes this error when running upgrade_etcd.yml:
The conditional check 'etcd_container_version | default('99') |
version_compare(etcd_upgrade_version,'<')' failed. The error was:
Version comparison: LooseVersion instance has no attribute 'version'
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|\
| |
| | |
Verify matched openshift_upgrade_nodes_label
|
| |
| |
| |
| |
| |
| |
| | |
Verifies the provided label matches a set of hosts prior to upgrading.
If the label didn't match hosts, the upgrade would silently proceed with
upgrading all nodes given the logic for creating the oo_nodes_to_upgrade
group.
|
|\ \
| |/
|/| |
Merged by openshift-bot
|
| | |
|
|/ |
|