summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7124 from mgugino-upstream-stage/fix-version-multiOpenShift Merge Robot2018-02-145-23/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Simplify double upgrade version logicMichael Gugino2018-02-134-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Revert openshift_version to previous stateMichael Gugino2018-02-125-21/+8
| |
* | Merge pull request #7135 from abutcher/node-accept-failOpenShift Merge Robot2018-02-143-0/+15
|\ \ | | | | | | | | | | | | Automatic merge from submit-queue. oc_adm_csr: allow requesting module failure when timeout reached
| * | oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when ↵Andrew Butcher2018-02-133-0/+15
| | | | | | | | | | | | timeout was reached.
* | | Adding ability to yedit json files.Kenny Woodson2018-02-1332-188/+560
| | |
* | | Merge pull request #7133 from ewolinetz/logging_eventrouter_template_fixOpenShift Merge Robot2018-02-131-0/+109
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Adding missing template Adding missing template. Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1544657
| * | | Adding missing templateEric Wolinetz2018-02-131-0/+109
| | | |
* | | | Merge pull request #7130 from kwoodson/preinstall_rpmsOpenShift Merge Robot2018-02-133-8/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Move installation of packages before container_runtime to ensure bind mounts are avaialable.
| * | | | Move installation of packages before container_runtime to ensure bind mounts ↵Kenny Woodson2018-02-133-8/+13
| | | | | | | | | | | | | | | | | | | | are avaialable.
* | | | | Merge pull request #6918 from SaravanaStorageNetwork/uninstall_playbookOpenShift Merge Robot2018-02-136-101/+232
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Uninstall playbook for Glusterfs Uninstall playbook for Glusterfs
| * | | | erase data only if variable is set.Saravanakumar Arumugam2018-02-072-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix block indentatation Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
| * | | | uninstall playbook for GlusterFSSaravanakumar Arumugam2018-02-076-101/+228
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
* | | | | Merge pull request #7106 from jarrpa/pvc-gen-storageclassOpenShift Merge Robot2018-02-132-1/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | Allow for blank StorageClass in PVC creationJose A. Rivera2018-02-122-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #7116 from mgugino-upstream-stage/fix-docker-upgradeOpenShift Merge Robot2018-02-132-8/+14
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Fix docker_upgrade variableMichael Gugino2018-02-122-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge pull request #6951 from tomassedovic/fix-openstack-masterOpenShift Merge Robot2018-02-131-6/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix OpenStack playbooks This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
| * | | | | | Fix OpenStack playbooksTomas Sedovic2018-02-121-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
* | | | | | | Merge pull request #5251 from celebdor/configurable_node_startOpenShift Merge Robot2018-02-132-5/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | Make node start options configurableAntoni Segura Puimedon2017-12-212-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to this, the node startup can be customized. Change-Id: Ifb93bf892d7de52a575b8d0231328d44f733d0aa Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
* | | | | | | | Merge pull request #7122 from mgugino-upstream-stage/add-gcp-multizone-varOpenShift Merge Robot2018-02-134-2/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | Add openshift_gcp_multizone boolMichael Gugino2018-02-124-2/+5
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge pull request #7117 from mgugino-upstream-stage/fix-gcp-varsOpenShift Merge Robot2018-02-121-4/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | Fix gcp variable warningsMichael Gugino2018-02-121-4/+6
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge pull request #7119 from vrutkovs/etcd-scaleup-ansible-nameOpenShift Merge Robot2018-02-121-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
| * | | | | | | | etcd_scaleup: use inventory_hostname when etcd ca host is being pickedVadim Rutkovsky2018-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | | | | | | | Merge pull request #7113 from mgugino-upstream-stage/fix-etcd-scaleup-sanityMichael Gugino2018-02-121-1/+18
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | Fix etcd scaleup plays
| * | | | | | | | Fix etcd scaleup playsMichael Gugino2018-02-121-1/+18
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge pull request #7103 from vrutkovs/origin-dns-prepend-cluster-localOpenShift Merge Robot2018-02-121-2/+3
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | origin-dns: make sure cluster.local DNS server is listed firstVadim Rutkovsky2018-02-121-2/+3
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge pull request #7083 from SaravanaStorageNetwork/fix_templatesOpenShift Merge Robot2018-02-129-20/+370
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | Backport changes for glusterfs, heketi, s3 and block templatesSaravanakumar Arumugam2018-02-129-20/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
* | | | | | | | Merge pull request #6476 from jihoon5/jihoon5Michael Gugino2018-02-121-0/+4
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Support master node high availability
| * | | | | | | Support master node high availabilityjihoon.o2017-12-141-0/+4
| | | | | | | |
* | | | | | | | Merge pull request #6699 from bogdando/heat_user_dataOpenShift Merge Robot2018-02-122-0/+18
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | Fix openshift_openstack_provision_user_commandsBogdan Dobrelya2018-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | | | | | | Fix cloud init runcmd templatingBogdan Dobrelya2018-02-091-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | | | | | | Clarify the ansible playbook vs cloud-initBogdan Dobrelya2018-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document use cases for custom post-provision ansible hooks vs cloud-init runcmd shell commands. Rename to openshift_openstack_cloud_init_runcmd. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | | | | | | Fix openstack cloud-init runcmd templatingBogdan Dobrelya2018-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | | | | | | [openstack] custom user commands for cloud-initBogdan Dobrelya2018-02-092-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | Merge pull request #7073 from abutcher/aws-node-hostnameOpenShift Merge Robot2018-02-122-8/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | Remove node start from bootstrap.yml.Andrew Butcher2018-02-121-8/+0
| | | | | | | | |
| * | | | | | | | Restart systemd-hostnamed before restarting NetworkManager in node user-data.Andrew Butcher2018-02-121-0/+3
| | | | | | | | |
* | | | | | | | | Merge pull request #7099 from vrutkovs/etcd-containerized-upgradeOpenShift Merge Robot2018-02-121-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | Use r_etcd_common_etcdctl_command instead of hardcoded binary name to ↵Vadim Rutkovsky2018-02-101-1/+1
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | support containerized upgrade
* | | | | | | | | Merge pull request #7022 from vrutkovs/sanitize-labelsOpenShift Merge Robot2018-02-1216-330/+462
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | Fix indentation to make yamllint happyVadim Rutkovsky2018-02-1011-330/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
| * | | | | | | | | Verify that requested services have schedulable nodes matching the selectorsVadim Rutkovsky2018-02-1015-2/+134
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | | | | | | | Merge pull request #7105 from vrutkovs/additional-mounts-exampleScott Dodson2018-02-121-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | additional mounts: specify 'type' in container_runtime_crio_additional_mounts