summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-11Merge pull request #6665 from spadgett/update-console-templateOpenShift Merge Robot
Automatic merge from submit-queue. Update web console template Update the web console template based on changes in https://github.com/openshift/origin/pull/17575 /assign @sdodson @deads2k fyi
2018-01-10Merge pull request #6579 from ↵OpenShift Merge Robot
coreydaley/trello_1435_default_tolerations_via_buildconfig_defaulter Automatic merge from submit-queue. Ability to specify default tolerations via the buildconfig defaulter Trello: https://trello.com/c/LNxlMjjU/1435-5-ability-to-specify-default-tolerations-via-the-buildconfig-defaulter-builds Dependent on: https://github.com/openshift/origin/pull/17955
2018-01-10Merge pull request #5726 from ewolinetz/update_tsb_imageScott Dodson
Updating tsb image names
2018-01-10Merge pull request #5080 from sdodson/drain-timeoutsOpenShift Merge Robot
Automatic merge from submit-queue. Add the ability to specify a timeout for node drain operations A timeout to wait for nodes to drain pods can be specified to ensure that the upgrade continues even if nodes fail to drain pods in the allowed time. The default value of 0 will wait indefinitely allowing the admin to investigate the root cause and ensuring that disruption budgets are respected. In practice the `oc adm drain` command will eventually error out, at least that's what we've seen in our large online clusters, when that happens a second attempt will be made to drain the nodes, if it fails again it will abort the upgrade for that node or for the entire cluster based on your defined `openshift_upgrade_nodes_max_fail_percentage`. `openshift_upgrade_nodes_drain_timeout=0` is the default and will wait until all pods have been drained successfully `openshift_upgrade_nodes_drain_timeout=600` would wait for 600s before moving on to the tasks which would forcefully stop pods such as stopping docker, node, and openvswitch.
2018-01-10Merge pull request #6666 from sdodson/fix_client_binaryScott Dodson
Ensure that openshift_facts role is imported whenever we rely on
2018-01-10Merge pull request #6647 from ↵Scott Dodson
vrutkovs/3.9-upgrades-remove-openshift.common.service_type 3.9 upgrade: remove openshift.common.service_type
2018-01-10Merge pull request #6605 from vrutkovs/failure_summary_convert_msg_to_stringScott Dodson
failure_summary: make sure msg is always a string
2018-01-10Merge pull request #6683 from mgugino-upstream-stage/fix-pkg_versionScott Dodson
Add defaults for openshift_pkg_version
2018-01-10Merge pull request #6693 from kwoodson/hosted_var_fixScott Dodson
Fixing openshift_hosted variable.
2018-01-10Merge pull request #6423 from dav1x/add-vsphere-providerScott Dodson
Add vsphere provider
2018-01-10Fixing openshift_hosted variable.Kenny Woodson
2018-01-10Merge pull request #6638 from nak3/add-keycheck-logging-factsLuke Meyer
Add key existing check to collect facts for rolebidings
2018-01-10Merge pull request #6609 from nkinder/openshift_logging_mux-interfaceOpenShift Merge Robot
Automatic merge from submit-queue. Don't hardcode the network interface in the openshift_logging_mux role The openshift_logging_mux role hardcodes the 'eth0' interface alias for determining the IP address to use for incoming external client connections. This will cause the playbook to fail with an undefined variable error on systems where an 'eth0' interface does not exist. This patch changes the default IP address for external connections to use the 'ansible_default_ipv4' fact. It also allows this to be overridden by a new 'openshift_logging_mux_external_address' variable.
2018-01-10Add the ability to specify a timeout for node drain operationsScott Dodson
2018-01-10Add defaults for openshift_pkg_versionMichael Gugino
This variable may or may not be defined by the users. During deployments, it will be set to '-{{ openshift_version }}' if undefined. During upgrades, it will remain undefined. This commit ensures that if the variable is undefined, empty strings '' are set.
2018-01-10Merge pull request #6553 from ↵Michael Gugino
mgugino-upstream-stage/node-reduce-package-commands Install node packages in one task instead of 3
2018-01-10Merge pull request #6674 from mgugino-upstream-stage/remove-becomes2Scott Dodson
Remove become statements
2018-01-10Merge pull request #6671 from mgugino-upstream-stage/upgrade-cp-scopeOpenShift Merge Robot
Automatic merge from submit-queue. Limit host group scope on control-plane upgrades This commit limits common init code to exclude oo_nodes_to_config during upgrade_control_plane runs.
2018-01-10Merge pull request #6602 from ewolinetz/es_full_cluster_restartOpenShift Merge Robot
Automatic merge from submit-queue. Adding logic to do a full cluster restart if we are incrementing our … …major versions of ES This will help with the upgrade from 2.x to 5.x for ES, it also fixes something I came across with the handler on 3.7 where it checks the prior deployed version of the ES pod rather than the new one.
2018-01-09Merge pull request #5853 from imcsk8/flannel-iptablesOpenShift Merge Robot
Automatic merge from submit-queue. Add iptables rules for flannel [WIP] When using flannel there are iptables rules that need to be added as stated here: https://access.redhat.com/documentation/en-us/reference_architectures/2017/html-single/deploying_red_hat_openshift_container_platform_3.4_on_red_hat_openstack_platform_10/#run_ansible_installer Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493955
2018-01-09Merge pull request #6658 from mgugino-upstream-stage/containerized_boolsOpenShift Merge Robot
Automatic merge from submit-queue. ensure containerized bools are cast
2018-01-09Ability to specify override tolerations via the buildconfig overriderCorey Daley
Trello: https://trello.com/c/LNxlMjjU/1435-5-ability-to-specify-default-tolerations-via-the-buildconfig-defaulter-builds
2018-01-09Chmod temp dirs created on localhostMichael Gugino
After remove become:no statements on local_action tasks, we need to ensure that the proper file permssions are applied to local temp directories. This reason for this is that the 'fetch' module does not use 'become' for the localhost, just the remote host. Additionally, users may not wish for the localhost to become during a fetch. local_action will execute with whatever permissions are specified in inventory or via cli.
2018-01-09Merge pull request #6646 from giuseppe/fix-container-engine-authOpenShift Merge Robot
Automatic merge from submit-queue. container-engine: move registry_auth.yml before pull so that the atomic pull takes into account the credentials if required. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-09Remove become statementsMichael Gugino
This commit removes become:no statements that break the installer in various ways.
2018-01-09Merge pull request #6618 from ture-karlsson/masterScott Dodson
Provide example on how to use osm_etcd_image
2018-01-09Limit host group scope on control-plane upgradesMichael Gugino
This commit limits common init code to exclude oo_nodes_to_config during upgrade_control_plane runs.
2018-01-09Refactor version and move some checks into sanity_checks.pyMichael Gugino
This commit changes how we handle openshift_version role. Most of the version initialization code is only run on the first master now. All other hosts have values set from the master. Aftwards, we run some basic RPM queries to ensure that the correct version is available on the other nodes. Containerized needs to do their own image checks elsewhere.
2018-01-09Merge pull request #6634 from vrutkovs/openshift_binary_for_upgradesScott Dodson
upgrades: set openshift_client_binary fact when running on oo_first_master host
2018-01-09Merge pull request #6650 from ↵OpenShift Merge Robot
vrutkovs/containerized_upgrade_set_openshift_use_openshift_sdn Automatic merge from submit-queue. upgrades: use openshift_node_use_openshift_sdn when trying to pre-pull the image This affects 3.8/3.9 upgrades for containerized hosts, if nodes are separate from master.
2018-01-09Updating tsb image names and templateEric Wolinetz
2018-01-09Ensure that openshift_facts role is imported whenever we rely onScott Dodson
openshift_client_binary
2018-01-09Add key check for facts_for_clusterrolebindingsKenjiro Nakayama
2018-01-09Update web console templateSamuel Padgett
Update the web console template based on changes in https://github.com/openshift/origin/pull/17575
2018-01-09Merge pull request #6659 from joelddiaz/ami_and_docker_storage_setupKenny Woodson
docker storage setup for ami building
2018-01-09Use openshift_node_use_openshift_sdn when doing a containerized node upgradeVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-08Add iptables save handlerIvan Chavero
2018-01-08Merge pull request #6660 from mgugino-upstream-stage/fix-logging-staticMichael Gugino
Fix: change import_role to include_role
2018-01-08Merge pull request #6651 from mgugino-upstream-stage/containerized-groupsMichael Gugino
Build containerized host group dynamically
2018-01-08Merge pull request #6653 from mgugino-upstream-stage/fix-crio-boolMichael Gugino
Properly cast crio boolean variables to bool
2018-01-08Fix: change import_role to include_roleMichael Gugino
It appears that when one role dynamically imports another, usage of import_role inside the dynamically included role is not possible. If something is included with include_role (dynamic), all tasks therein must also use include_role (dynamic).
2018-01-08docker storage setup for ami buildingJoel Diaz
add host to g_new_node_hosts so that plays run against the AMI instance update example vars so that overlay2 is used by default for docker storage
2018-01-08ensure containerized bools are castMichael Gugino
2018-01-08Merge pull request #6580 from tomassedovic/openstack-fixesOpenShift Merge Robot
Automatic merge from submit-queue. Openstack fixes This includes a few fixes for the OpenStack provider. It should fix #6555 and possibly also #6560.
2018-01-08Merge pull request #6649 from mgugino-upstream-stage/fix-pre-packagesMichael Gugino
install base_packages on oo_all_hosts
2018-01-08Merge pull request #6549 from mgugino-upstream-stage/node-meta-depends2OpenShift Merge Robot
Automatic merge from submit-queue. Remove last of openshift_node role meta-depends Remove last non-taskless meta-depends from openshift_node role.
2018-01-08Properly cast crio boolean variables to boolMichael Gugino
Variables that are specifically booleans should be cast to bool. This is because users may sometimes pass them as string values. This is particularly prevalent when using ini-style inventories. Affected-by: https://github.com/ansible/ansible/issues/34591 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1531592
2018-01-08Merge pull request #6548 from kwoodson/configurable_ami_drive_sizeKenny Woodson
Adding ability to update ami drive size.
2018-01-08Build containerized host group dynamicallyMichael Gugino
Currently, we are using some inventory variables to determine what host groups should be considered containerized. This is problematic and has several edge cases. This commit removes the variable l_containerized_host_groups and builds a dynamic group of hosts named 'oo_hosts_containerized_managed_true' based on the value of 'containerized'
2018-01-08Merge pull request #6624 from vrutkovs/containerized-avoid-replacing-node-unitOpenShift Merge Robot
Automatic merge from submit-queue. Don't overwrite node's systemd units for containerized install Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1527849 Perphaps this block should be removed, unless I'm missing some other case for it, as systemd units are being updated in ../systemd_units.yml.