summaryrefslogtreecommitdiff
path: root/roles
AgeCommit message (Collapse)Author
2018-03-20Upgrade to 3.7.2andsSuren A. Chilingaryan
2018-03-1899-origin-dns.sh: Only modify resolv.conf if upstream DNS is already configuredSuren A. Chilingaryan
2018-03-11Introduce openshift_hosted_registry_storage_class configuration variable to ↵Suren A. Chilingaryan
enable dynamicly provisioned GlusterFS volume for hosted registry
2018-03-11Fixes typos in hosted registry code used to provide GlusterFS supoortSuren A. Chilingaryan
2018-03-11Use svc.cluster.local link to access heketi instead of external routeSuren A. Chilingaryan
2018-03-07Fix NetworkManager hook to support OpenShift running on non-default network ↵Suren A. Chilingaryan
interface
2018-03-02Backport of RH bug 1538446, ansible complains that 'openshift' is undefined ↵Suren A. Chilingaryan
while scaling up etcd cluster
2018-03-02TypoSuren A. Chilingaryan
2018-02-28Parametrize ands repository pathSuren A. Chilingaryan
2018-02-27Allow upgrade to OpenShift 3.7.1Suren A. Chilingaryan
2018-02-16Fixes for AndsSuren A. Chilingaryan
2018-02-14Merge pull request #7155 from enj/enj/i/revert_overwrite_certs/1512825OpenShift Merge Robot
Automatic merge from submit-queue. Revert "Bug 1512825 - add mux pod failed for Serial number 02 has already been issued" @sdodson @nhosoi This reverts #6798 as we are not changing the default in origin https://github.com/openshift/origin/pull/18405. This reverts commit ac23e6e362d8758032c1dd573d0ff6a958445df5. That commit introduced a backwards incompatible change to how the commands run. This undoes that. The original change was not required to prevent overwriting of the serial file. Bug 1512825
2018-02-14Merge pull request #7097 from ewolinetz/logging_fresh_lg_cluster_fixOpenShift Merge Robot
Automatic merge from submit-queue. Whenever we create a new es node ignore health checks, changing prome… …theus pw gen for increased secret idempotency Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1540099 Whenever we are in a cluster sized > 1 the nodes required for recovery > 1. So when we have a fresh install we will not see the cluster start up because the number of required nodes is not met. Whenever we are creating a new node, we do not wait for the health check so that the logging playbook can complete and we can roll out all updated nodes. Also addresses prometheus pw generation so that each rerun of the playbook doesn't change the secret which triggers a full rollout of the cluster (assumes that keys/certs have changed).
2018-02-14Merge pull request #7124 from mgugino-upstream-stage/fix-version-multiOpenShift Merge Robot
Automatic merge from submit-queue. Fix version multi Simplify double upgrade version logic Currently, double upgrade process (3.7 -> 3.9) for control plane attempts to run openshift_version role twice to set the appropriate values for upgrading each major version, 3.8 and 3.9. This commit instructs openshift_version to only inquire about the proper settings for 3.9, and hard-sets the appropriate values for 3.8. This allows a simplification of the openshift_version role, allowing for easier debugging. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542368
2018-02-14Revert "Bug 1512825 - add mux pod failed for Serial number 02 has already ↵Monis Khan
been issued" This reverts commit ac23e6e362d8758032c1dd573d0ff6a958445df5. That commit introduced a backwards incompatible change to how the commands run. This undoes that. The original change was not required to prevent overwriting of the serial file. Bug 1512825
2018-02-14Merge pull request #7135 from abutcher/node-accept-failOpenShift Merge Robot
Automatic merge from submit-queue. oc_adm_csr: allow requesting module failure when timeout reached
2018-02-13Adding ability to yedit json files.Kenny Woodson
2018-02-13Merge pull request #7133 from ewolinetz/logging_eventrouter_template_fixOpenShift Merge Robot
Automatic merge from submit-queue. Adding missing template Adding missing template. Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1544657
2018-02-13Simplify double upgrade version logicMichael Gugino
Currently, double upgrade process (3.7 -> 3.9) for control plane attempts to run openshift_version role twice to set the appropriate values for upgrading each major version, 3.8 and 3.9. This commit instructs openshift_version to only inquire about the proper settings for 3.9, and hard-sets the appropriate values for 3.8. This allows a simplification of the openshift_version role, allowing for easier debugging. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542368
2018-02-13Whenever we create a new es node ignore health checks, changing prometheus ↵Eric Wolinetz
pw gen for increased secret idempotency
2018-02-13Merge pull request #7130 from kwoodson/preinstall_rpmsOpenShift Merge Robot
Automatic merge from submit-queue. Move installation of packages before container_runtime to ensure bind mounts are avaialable.
2018-02-13oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when ↵Andrew Butcher
timeout was reached.
2018-02-13Merge pull request #6918 from SaravanaStorageNetwork/uninstall_playbookOpenShift Merge Robot
Automatic merge from submit-queue. Uninstall playbook for Glusterfs Uninstall playbook for Glusterfs
2018-02-13Adding missing templateEric Wolinetz
2018-02-13Merge pull request #7106 from jarrpa/pvc-gen-storageclassOpenShift Merge Robot
Automatic merge from submit-queue. Allow for blank StorageClass in PVC creation In the case where a default StorageClass is already defined and a PV's storage kind is not 'dynamic', allows for the storageClassName of the associated PVC to be blank so as to not use the default SC. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1544387 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2018-02-13Move installation of packages before container_runtime to ensure bind mounts ↵Kenny Woodson
are avaialable.
2018-02-13Merge pull request #7116 from mgugino-upstream-stage/fix-docker-upgradeOpenShift Merge Robot
Automatic merge from submit-queue. Fix docker_upgrade variable Currently, docker_upgrade is ignored during cluster upgrades. This commit ensures that the variable is respected. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543714
2018-02-13Merge pull request #6951 from tomassedovic/fix-openstack-masterOpenShift Merge Robot
Automatic merge from submit-queue. Fix OpenStack playbooks This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
2018-02-13Merge pull request #5251 from celebdor/configurable_node_startOpenShift Merge Robot
Automatic merge from submit-queue. Make node start options configurable Thanks to this, the node startup can be customized. Change-Id: Ifb93bf892d7de52a575b8d0231328d44f733d0aa Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
2018-02-13Merge pull request #7122 from mgugino-upstream-stage/add-gcp-multizone-varOpenShift Merge Robot
Automatic merge from submit-queue. Add openshift_gcp_multizone bool Add openshift_gcp_multizone bool that defaults to False to enable users to support multizone deployments on gcp. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542843
2018-02-12Merge pull request #7117 from mgugino-upstream-stage/fix-gcp-varsOpenShift Merge Robot
Automatic merge from submit-queue. Fix gcp variable warnings This commit ensures that user get better information regarding variables that need to be defined in inventory when using gcp. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1541589
2018-02-12Merge pull request #7119 from vrutkovs/etcd-scaleup-ansible-nameOpenShift Merge Robot
Automatic merge from submit-queue. etcd_scaleup: use inventory_hostname when etcd ca host is being picked This would fix etcd scaleup playbook when inventory uses custom hostnames, e.g.: ``` new_etcd: hosts: new-etcd-node: ansible_host: ec2-54-173-186-97.compute-1.amazonaws.com ```
2018-02-12Merge pull request #7113 from mgugino-upstream-stage/fix-etcd-scaleup-sanityMichael Gugino
Fix etcd scaleup plays
2018-02-12Revert openshift_version to previous stateMichael Gugino
2018-02-12Add openshift_gcp_multizone boolMichael Gugino
Add openshift_gcp_multizone bool that defaults to False to enable users to support multizone deployments on gcp. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542843
2018-02-12Merge pull request #7103 from vrutkovs/origin-dns-prepend-cluster-localOpenShift Merge Robot
Automatic merge from submit-queue. origin-dns: make sure cluster.local DNS server is listed first This would ensure glibc resolver won't discard this server when existing DNS server list is longer than 2. This sed would also update existing configuration, where cluster.local was appended Fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1544001
2018-02-12etcd_scaleup: use inventory_hostname when etcd ca host is being pickedVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-12Merge pull request #7083 from SaravanaStorageNetwork/fix_templatesOpenShift Merge Robot
Automatic merge from submit-queue. Backport changes for glusterfs and heketi template Backport changes for glusterfs and heketi template To avoid unknown parameter errors like GB_GLFS_LRU_COUNT and HEKETI_FSTAB Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
2018-02-12Merge pull request #6476 from jihoon5/jihoon5Michael Gugino
Support master node high availability
2018-02-12Fix docker_upgrade variableMichael Gugino
Currently, docker_upgrade is ignored during cluster upgrades. This commit ensures that the variable is respected. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543714
2018-02-12Fix gcp variable warningsMichael Gugino
This commit ensures that user get better information regarding variables that need to be defined in inventory when using gcp. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1541589
2018-02-12Merge pull request #6699 from bogdando/heat_user_dataOpenShift Merge Robot
Automatic merge from submit-queue. [openstack] custom user commands for cloud-init Allow to specify additional user commands executed on all Nova servers provisioned via Heat. An example use case is installing and starting os-collect-config agents to put Nova servers under the configuration management driven via the host openstack cloud Heat services. This allows to integrate with another deployment tools like TripleO. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-02-12Fix etcd scaleup playsMichael Gugino
This commit ensures that only the proper host groups have sanity checks run during etcd scaleup. This commit also adds additional debugging statements to sanity_checks.py to make it easier to debug when an error occurs. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543771
2018-02-12Merge pull request #7073 from abutcher/aws-node-hostnameOpenShift Merge Robot
Automatic merge from submit-queue. Update user-data for FQDN instance hostnames * Remove node service start from bootstrap.yml. We start and enable the node service in user-data and we want the node service to start after NetworkManager so that the instance will have its final hostname. * Restart systemd-hostnamed before restarting NetworkManager. In testing this has ensured that instances receive an FQDN hostname which is required for kube.
2018-02-12Merge pull request #7099 from vrutkovs/etcd-containerized-upgradeOpenShift Merge Robot
Automatic merge from submit-queue. Use r_etcd_common_etcdctl_command instead of hardcoded binary name to support containerized upgrade etcdctlv2 is used to check cluster health pre- and post-upgrade
2018-02-12Allow for blank StorageClass in PVC creationJose A. Rivera
In the case where a default StorageClass is already defined and a PV's storage kind is not 'dynamic', allows for the storageClassName of the associated PVC to be blank so as to not use the default SC. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2018-02-12Merge pull request #7022 from vrutkovs/sanitize-labelsOpenShift Merge Robot
Automatic merge from submit-queue. Verify that requested services have schedulable nodes matching the selectors Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1538445 Not sure if I should keep one task per failure or should group them by service (e.g. all logging check in one tasks)
2018-02-12Remove node start from bootstrap.yml.Andrew Butcher
2018-02-12Restart systemd-hostnamed before restarting NetworkManager in node user-data.Andrew Butcher
2018-02-12Merge pull request #7105 from vrutkovs/additional-mounts-exampleScott Dodson
additional mounts: specify 'type' in container_runtime_crio_additional_mounts