summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixind storage_nodesDavis Phillips2017-07-250-0/+0
|\
| * Cns support (#586)Davis Phillips2017-07-250-0/+0
| | | | | | | | | | | | | | | | | | | | * various fixes and enhancements * change 30g to 20g * last minute changes and stream lines * mend
| * Cns support (#582)Davis Phillips2017-07-250-0/+0
| | | | | | | | | | | | * various fixes and enhancements * change 30g to 20g
| * Accidentally made this a list of hashes instead of a straight hashChandler Wilkerson2017-07-250-0/+0
| |
* | move to numbering all on storage_nodesDavis Phillips2017-07-250-0/+0
| |
* | mendDavis Phillips2017-07-250-0/+0
| |
* | last minute changes and stream linesDavis Phillips2017-07-250-0/+0
| |
* | change 30g to 20gDavis Phillips2017-07-250-0/+0
| |
* | Merge branch 'master' of ↵Davis Phillips2017-07-252-1/+6
|\| | | | | | | https://github.com/openshift/openshift-ansible-contrib into cns-support
| * Add Azure hostEduardo Minguez Perez2017-07-250-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add_host script to add new nodes, infranodes or hosts * Add vm, nic, disks, nsg, attach to lbs, etc. * Prepare host for OCP scale up * Run scale up * Auto name "discovery" (node0X+1) * Default sane values for everything except resourcegroup * Only jq required NOTE: The current ansible modules doesn't support stuff like add host to LB, availability set, specify the ipconfig name, etc., otherwise ansible would have been used. * Clean up ARM templates for unneeded variables * Renamed infraavailabilityset to infranodeavailabilityset to be the same as the others * Clean up master.sh script for unneeded variables * Removed yum update comment in node.sh * Workaround for BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1469358
| * Set openshift_hostname explicitly for openstack (#579)Tomas Sedovic2017-07-251-0/+1
| | | | | | | | | | | | This fixes a regression caused by the move to the static inventory. The nodes in `oc get nodes` should be (and had been) identified by their hostnames (e.g. master-0.openshift.example.com), but are now using their internal IP addresses instead.
| * Rhv details (#575)Chandler Wilkerson2017-07-250-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added validation playbook * Added uninstall VMs playbook * Added additional load balancer config * Fixed app validation * Added reverse dns and hosts style formats * Removing static inventory creation for now * Moved console_port variable to ocp-vars for sharing with validation script. * Fixed yaml syntax * Made hostnames more variable * Explained generation of htpasswd password hashes * Changed to non-enforcing for softer affinity handling * Misconstrued relationship between containerized OCP on RHEL and Atomic
| * Merge pull request #576 from dav1x/cns-supportDavis Phillips2017-07-240-0/+0
| |\ | | | | | | Cns support
| | * Update openshift-install.yamlDavis Phillips2017-07-240-0/+0
| | |
| | * Update node-setup.yamlDavis Phillips2017-07-240-0/+0
| | |
| | * Update minor-update.yamlDavis Phillips2017-07-240-0/+0
| | |
| | * Update ocp-installerDavis Phillips2017-07-240-0/+0
| | |
| | * Update ocp-installerDavis Phillips2017-07-240-0/+0
| | |
| | * Delete test.yamlDavis Phillips2017-07-240-0/+0
| | |
| | * Delete vmware_vm_shell.pyDavis Phillips2017-07-240-0/+0
| | |
| | * Update ocp-on-vmware.iniDavis Phillips2017-07-240-0/+0
| | |
| | * Update vmware_inventory.iniDavis Phillips2017-07-240-0/+0
| | |
| * | README Update (#572)Tlacenka2017-07-240-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: added main purpose for this repo * README: added link to repo * README: added link * README: minor update
| * | README: Added note about infra-ansible installation (#574)Tlacenka2017-07-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * README in provisioning: note about infra-ansible not updating versions if one exists * README in provisioning: minor change * README: improved readability
* | | various fixes and enhancementsDavis Phillips2017-07-250-0/+0
| |/ |/|
* | adding cns supportDavis Phillips2017-07-240-0/+0
|/
* adding labels to metrics (#569)Ryan Cook2017-07-210-0/+0
| | | | * adding labels to metrics
* RHV High-availability code (#562)Chandler Wilkerson2017-07-200-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | * Ensure HA Reservations are enabled on RHV cluster * High availability option added to vms * Added Emptydir Quota * Updated vm stats and added affinity groups * Made cluster name variable * Strengthening negative affinity enforcement for masters and infra * Added disks to masters, adjusted RAM and disk sizes * Set enforced AGs to force wait * Added tags * Hacked ovirt dynamic inventory to always return eth0 as ansible_host * Need a different hostname for master lb
* Static inventory autogeneration (#550)Bogdan Dobrelya2017-07-205-49/+101
| | | | | | | | | * At the provisioning stage, allow users to auto-generate a static inventory w/o manual steps needed. The alternative to go fully dynamic TBD. * Move openshift pre-install playbook to the post provision playbook, where the second part of the pre install tasks is already placed. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Generate static inventory with shade inventory (#538)Bogdan Dobrelya2017-07-2014-1041/+80
| | | | | | | | | | | | | | * Autogenerate inventory/hosts when 'inventory: static' (Default), with the shade-inventory tool. * Drop unused anymore: openstack.py and associated GPL notes, an example static inventory, omit manual updates for the inventory DNS names in the deployment guide. * Switch openstack.py formatted inventory hostvars to the shade-inventory format (omit openstack.* from hostvars). * Populate node labels from inventory vars instead of the heat templates combined with inventory vars. * Add app (k8s minions) nodes group for primary node labels. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Include masters into etcd group, when it is empty (#559)Bogdan Dobrelya2017-07-201-0/+1
| | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Merge pull request #560 from Tlacenka/openstackrepoBogdan Dobrelya2017-07-201-0/+6
|\ | | | | Added prerequisity for python-openstackclient installation
| * README: fixKaterina Pilatova2017-07-191-1/+0
| |
| * README: typoKaterina Pilatova2017-07-181-1/+1
| |
| * dependencies: python-heatclient and python-openstackclient added to optional ↵Katerina Pilatova2017-07-181-0/+6
| | | | | | | | dependencies
| * README: added prerequisity for a repository needed for ↵Katerina Pilatova2017-07-181-0/+1
| | | | | | | | python-openstackclient installation
* | During provisioning, make unnecessary packages optional under a switch (#561)Tlacenka2017-07-192-0/+9
| | | | | | | | | | | | * openshift-prep: bash-completion and vim-enhanced packages are now optional under install_debug_packages switch * openshift-prep: new line removal
* | Merge pull request #563 from tomassedovic/openshift-ansible-sudoBogdan Dobrelya2017-07-192-1/+5
|\ \ | | | | | | Set ansible_become for the OSEv3 group
| * | Set ansible_become for the OSEv3 groupTomas Sedovic2017-07-192-1/+5
|/ / | | | | | | | | | | | | | | | | | | Because openshift-ansible requires root on the cluster nodes, but it doesn't explicitly set it in the playbooks (like we do), let's set it in our inventory instead of requiring to pass `--become` to `ansible-playbook`. That will simplify the installation steps as well as let us include the provisioning and openshift-ansible playbooks in a single playbook.
* / GCP: Refactor data disk(s) creation and setup to instance template v2 (#537)Peter Schiffer2017-07-180-0/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add roles to create and delete empty image (workaround) GCE API does not allow you to specify empty disks in instance templates. This is a workaround to that limitation. The version of cloudilb currently available as an RPM on my build system also doesn’t allow me to specify a family for this image. The impact of this is limited because GCE API has a bug where as if we specify the image using the family it doesn’t work as expected. * Refactor disk creation to instance templates There is currently a bug in GCE API that when you specify a non-boot disk sourceImage as a family it will instead use the sourceImage from the boot disk. To workaround this we don’t use a family to specify this sourceImage even though it is more appropriate to do so. * Instance group related pauses We introduce two pauses: 1) Immediately after creating the “core” deployment. This is to give time to the instance groups to become “complete”. Ideally we would poll the API instead of waiting a fixed amount of time but this is better than nothing. 2) The second waits for the newly spawned instances to be reachable. Ideally we would use wait_for_connection to achieve this but the following bug keeps this from working for instances behind a bastion host: https://github.com/ansible/ansible/issues/23774 * Use cloud-init to configure attached data disks * Cosmetics cleanup, removed some values which are default.. Also let's forget about empty image family, no need to version this image. * Query instance group manager to see if instances are ready * Empty image archive is very small, no need for composite upload * Use more robust check if instances are ready for ssh
* Slightly enhanced deployment manager role (#556)Peter Schiffer2017-07-170-0/+0
| | | | | | | | | | | | * Check if deployment exists in failed state and delete it before continuing, if it does. Resolves: #438 * Differentiate gold image deployment when deploying origin So there can be both gold images present in one gcp project.
* Add a role to generate a static inventory (#540)Bogdan Dobrelya2017-07-175-0/+154
| | | | | | * Add the static-inventory role that configures the inventory/hosts file by the given path, or creates it for you. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Retry tasks in the subscription manager role (#552)Tlacenka2017-07-171-0/+28
| | | | | | | | * subscription manager: added 10 retries after 1 second delay * subscription manager: added untils * sub manager: typo
* Set docker registry to 3 (#555)Glenn S West2017-07-170-0/+0
|
* Merge pull request #536 from e-minguez/azure_logging_metrics_postGlenn S West2017-07-170-0/+0
|\ | | | | Azure logging metrics and logging deployment in post installation step
| * Premium storage for logging/metricsEduardo Minguez Perez2017-07-130-0/+0
| |
| * Container name should be vhdsEduardo Minguez Perez2017-07-130-0/+0
| |
| * Back to openshift/master repoEduardo Minguez Perez2017-07-110-0/+0
| |
| * Added OCP aggregated loggingEduardo Minguez Perez2017-07-110-0/+0
| | | | | | | | | | | | | | | | | | * App logging enabled by default * Ops logging disabled by default * Elasticsearch HA by default * Fluentd on all nodes/masters * All the rest of the components deployed on infra nodes * Dynamic storage
* | RHV provider BYO code (#548)Chandler Wilkerson2017-07-140-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ssh keys to ovirt VM template * Adjusted role path * Adding .example to list of ignored inventory files * Fixed ssh-key placement * instance group and install code for OCP * Added info about certs and qcow to README * Not a Vsphere * Added load balancer to instance groups * Added check for installing local satellite katello rpm * Reorganized variables * Formatting * Playbook to output DNS entries in nsupdate format * Hosts commented out for publishing * Added variables file for user edit * Moved variables around for centralized management by user * Updated documentation * Formatting * Renaming to match style of repo * Changing underscores to dashes for style * Updated naming convention to match rest of repo * Updated naming convention to match rest of repo * Fixed link * Resolving Lint issues