summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-11Merge pull request #6607 from tomassedovic/fix-cinder-pvOpenShift Merge Robot
Automatic merge from submit-queue. Fix Cinder Persistent Volume support This documents how to use Cinder-backed persistent volumes with OpenStack. It needed a change to the dynamic inventory because the "openstack" cloudprovider plugin does actually require internal name resolution -- and the `openshift_hostname` value must match the name of the Nova server. In addition, we need to be able to specify the V2 of the Cinder API for now as described in: https://github.com/openshift/openshift-docs/issues/5730
2018-01-11Update latest image streams and templatesScott Dodson
2018-01-11Merge pull request #6701 from spadgett/webconsole-config-groupOpenShift Merge Robot
Automatic merge from submit-queue. Use webconsole.config.openshift.io/v1 API group Update the install to use the new web console config API group and kind. API change: openshift/api#29 Cluster up change: openshift/origin#18056 /assign @sdodson @deads2k @jwforres cc
2018-01-11Merge pull request #6687 from jpeeler/sc-cert-fixOpenShift Merge Robot
Automatic merge from submit-queue. Update deployment and apiserver with new certs Since new certificates are generated for every run, the apiservice caBundle needs updating in order to have the on disk CA match what is in Kubernetes. Because the secrets are updated, the daemonset needs to do a rolling update for the apiserver to pick up the new certs. Implemented here is an added annotation to the api server such that the update occurs automatically when the CA is changed. --- There may be a better way to make the rolling update occur without adding an annotation, such as within ansible itself (I just didn't know how to do that). Also, I think that probably the controller needs to be updated too in order to ensure staying in sync with the api server. Edit: I did not think that doing "oc apply" would cause the daemonset to pick up a change since the yaml may be exactly the same, but if it does then the annotation part can definitely be changed.
2018-01-11Merge pull request #6623 from vrutkovs/avoid-repoquery-on-containerizedOpenShift Merge Robot
Automatic merge from submit-queue. docker_upgrade_check: skip repoquery calls on containerized setups Fedora/CentOS Atomic hosts don't have repoquery installed - also there is no need to check available Docker rpms in the repos for Atomic Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1527256 Note, that this solution is pretty naive - a better idea would be splitting the playbooks for rpm and containerized installs for clarity
2018-01-11Merge pull request #6697 from sdodson/bz1532961Scott Dodson
Add missing v3.9 gluster templates
2018-01-11Use webconsole.config.openshift.io/v1 API groupSamuel Padgett
2018-01-11Merge pull request #6670 from nhosoi/allowed_versions2Scott Dodson
Bug 1527178 - installation of logging stack failed: Invalid version s…
2018-01-11Merge pull request #6675 from spadgett/default-node-selectorScott Dodson
Bug 1532787 - Add empty node selector to openshift-web-console namespace
2018-01-11Merge pull request #6679 from vrutkovs/logging-py3-dictsOpenShift Merge Robot
Automatic merge from submit-queue. logging: fix jinja filters to support py3
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-10Add missing v3.9 gluster templatesScott Dodson
Fixes Bug 1532961
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-10Spelling and grammar changes to the advanced-configuration.md file.Matt Bruzek
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-10Add cluster-operator playbook directory.Andrew Butcher
2018-01-10Move s3 & elb provisioning into their own playbooks s.t. they are applied ↵Andrew Butcher
outside of the openshift_aws master provisioning tasks.
2018-01-10Update deployment and apiserver with new certsJeff Peeler
Since new certificates are generated for every run, the apiservice caBundle needs updating in order to have the on disk CA match what is in Kubernetes. Because the secrets are updated, the daemonset needs to do a rolling update for the api server to pick up the new certs. Implemented here is an added annotation to the api server such that the update occurs automatically when the CA is changed.
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-10Move more plugins to lib_utilsMichael Gugino
This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
2018-01-10[6632] fix indentation of terminationGracePeriodSeconds varJohn Sanda
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-10docker_creds: fix python3 exceptionGiuseppe Scrivano
Fixes: Object of type 'bytes' is not JSON serializable Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-10docker_creds: fix python3 exceptionGiuseppe Scrivano
Solves this exception with python3: TypeError: a bytes-like object is required, not 'str Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-10docker: use image from CentOS and Fedora registriesGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-10crio: use Docker and CentOS registries for the imageGiuseppe Scrivano
2018-01-10Merge pull request #6674 from mgugino-upstream-stage/remove-becomes2Scott Dodson
Remove become statements
2018-01-10Fix typo in the advanced config docsTomas Sedovic
2018-01-10Write guide on setting up PVs with CinderTomas Sedovic
2018-01-10Allow using server names in openstack dynamic invTomas Sedovic
When deploying on OpenStack with internal DNS configured, this will set `openshift_hostname` to the Nova server name instead of its IP address. Without those two matching, the OpenStack cloud provider configuration will fail and the OpenShift nodes will not start.
2018-01-10Specify the Cinder version in the inventoryTomas Sedovic
As described in[1], OpenShift currently only works with Block Storage API v2 and the version autodetection is failing to figure that out. [1]: https://github.com/openshift/openshift-docs/issues/5730
2018-01-10Add documentation exampleJoel Pearson
2018-01-10Add blockstorage version for openstackJoel Pearson
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-10logging: fix jinja filters to support py3Vadim Rutkovsky
Since py3 returns `dict_items` for dict.keys() call instead of a list, it should be converted into a list for compatibility Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
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