summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5726 from ewolinetz/update_tsb_imageScott Dodson2018-01-103-5/+5
|\ | | | | Updating tsb image names
| * Updating tsb image names and templateEric Wolinetz2018-01-093-5/+5
| |
* | Merge pull request #5080 from sdodson/drain-timeoutsOpenShift Merge Robot2018-01-105-11/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Add the ability to specify a timeout for node drain operationsScott Dodson2018-01-105-11/+37
| | |
* | | Merge pull request #6666 from sdodson/fix_client_binaryScott Dodson2018-01-103-3/+8
|\ \ \ | | | | | | | | Ensure that openshift_facts role is imported whenever we rely on
| * | | Ensure that openshift_facts role is imported whenever we rely onScott Dodson2018-01-093-3/+8
| | | | | | | | | | | | | | | | openshift_client_binary
* | | | Merge pull request #6647 from ↵Scott Dodson2018-01-101-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | vrutkovs/3.9-upgrades-remove-openshift.common.service_type 3.9 upgrade: remove openshift.common.service_type
| * | | | 3.9 upgrade: remove openshift.common.service_typeVadim Rutkovsky2018-01-081-4/+4
| | | | | | | | | | | | | | | | | | | | See eb6b20fc9183cc2aae424c72efd1191b99110a93
* | | | | Merge pull request #6605 from vrutkovs/failure_summary_convert_msg_to_stringScott Dodson2018-01-101-0/+2
|\ \ \ \ \ | | | | | | | | | | | | failure_summary: make sure msg is always a string
| * | | | | failure_summary: make sure msg is always a stringVadim Rutkovsky2018-01-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tasks may return a dict in the msg. In that case `stringc` will fail to colorize it (with "AttributeError: <msg type> object has no attribute 'split'" error.
* | | | | | Merge pull request #6683 from mgugino-upstream-stage/fix-pkg_versionScott Dodson2018-01-104-10/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add defaults for openshift_pkg_version
| * | | | | | Add defaults for openshift_pkg_versionMichael Gugino2018-01-104-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #6693 from kwoodson/hosted_var_fixScott Dodson2018-01-101-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixing openshift_hosted variable.
| * | | | | | | Fixing openshift_hosted variable.Kenny Woodson2018-01-101-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #6423 from dav1x/add-vsphere-providerScott Dodson2018-01-105-0/+35
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Add vsphere provider
| * | | | | | | lint issuesDavis Phillips2017-12-111-1/+1
| | | | | | | |
| * | | | | | | add vsphere examples in hosts.exampleDavis Phillips2017-12-111-0/+10
| | | | | | | |
| * | | | | | | add template and vsphere.confDavis Phillips2017-12-112-0/+21
| | | | | | | |
| * | | | | | | add vsphere cloud providersDavis Phillips2017-12-112-0/+4
| | | | | | | |
* | | | | | | | Merge pull request #6638 from nak3/add-keycheck-logging-factsLuke Meyer2018-01-101-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add key existing check to collect facts for rolebidings
| * | | | | | | | Add key check for facts_for_clusterrolebindingsKenjiro Nakayama2018-01-091-1/+1
| | | | | | | | |
| * | | | | | | | Add key existing check to collect facts for rolebidingsKenjiro Nakayama2018-01-091-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #6609 from nkinder/openshift_logging_mux-interfaceOpenShift Merge Robot2018-01-103-1/+5
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | Don't hardcode the network interface in the openshift_logging_mux roleNathan Kinder2018-01-043-1/+5
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge pull request #6553 from ↵Michael Gugino2018-01-101-24/+14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgugino-upstream-stage/node-reduce-package-commands Install node packages in one task instead of 3
| * | | | | | | | Install node packages in one task instead of 3Michael Gugino2018-01-041-24/+14
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reduces the number of package tasks from 3 to 1.
* | | | | | | | Merge pull request #6674 from mgugino-upstream-stage/remove-becomes2Scott Dodson2018-01-1028-56/+36
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove become statements
| * | | | | | | | Chmod temp dirs created on localhostMichael Gugino2018-01-098-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | Remove become statementsMichael Gugino2018-01-0926-50/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes become:no statements that break the installer in various ways.
* | | | | | | | | Merge pull request #6671 from mgugino-upstream-stage/upgrade-cp-scopeOpenShift Merge Robot2018-01-1017-248/+210
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | Limit host group scope on control-plane upgradesMichael Gugino2018-01-097-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit limits common init code to exclude oo_nodes_to_config during upgrade_control_plane runs.
| * | | | | | | | | Refactor version and move some checks into sanity_checks.pyMichael Gugino2018-01-0911-246/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge pull request #6602 from ewolinetz/es_full_cluster_restartOpenShift Merge Robot2018-01-106-1/+117
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | Adding logic to disable and reenable external communication to ES during ↵Eric Wolinetz2018-01-052-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | full restart
| * | | | | | | | | | Adding logic to do a full cluster restart if we are incrementing our major ↵Eric Wolinetz2018-01-036-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | versions of ES
* | | | | | | | | | | Merge pull request #5853 from imcsk8/flannel-iptablesOpenShift Merge Robot2018-01-092-0/+14
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | | | Add iptables save handlerIvan Chavero2018-01-081-0/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Fix wrong indentationIvan Chavero2017-10-271-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Fix yaml indentationIvan Chavero2017-10-271-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Add iptables rules for flannelIvan Chavero2017-10-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* | | | | | | | | | | | Merge pull request #6658 from mgugino-upstream-stage/containerized_boolsOpenShift Merge Robot2018-01-094-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. ensure containerized bools are cast
| * | | | | | | | | | | | ensure containerized bools are castMichael Gugino2018-01-084-4/+4
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #6646 from giuseppe/fix-container-engine-authOpenShift Merge Robot2018-01-091-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | | | | | | container-engine: move registry_auth.yml before pullGiuseppe Scrivano2018-01-081-0/+6
| | |_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the atomic pull takes into account the credentials if required. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | | | | | | | Merge pull request #6618 from ture-karlsson/masterScott Dodson2018-01-091-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / |/| | | | | | | | | | | Provide example on how to use osm_etcd_image
| * | | | | | | | | | | Provide example on how to use osm_etcd_image in a disconnected and ↵Ture Karlsson2018-01-051-0/+4
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | containerized installation Example of how to use osm_etcd_image in accordance to: https://docs.openshift.com/container-platform/3.7/install_config/install/rpm_vs_containerized.html
* | | | | | | | | | | Merge pull request #6634 from vrutkovs/openshift_binary_for_upgradesScott Dodson2018-01-091-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | upgrades: set openshift_client_binary fact when running on oo_first_master host
| * | | | | | | | | | | upgrades: set openshift_client_binary fact when running on oo_first_master hostVadim Rutkovsky2018-01-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sets openshift_client_binary var for the first master, as some roles use this var along with first_master_client_binary. Not sure if its worth setting this var for the faulty roles instead though. Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | | | | | | | | | | Merge pull request #6650 from ↵OpenShift Merge Robot2018-01-091-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | Use openshift_node_use_openshift_sdn when doing a containerized node upgradeVadim Rutkovsky2018-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>