summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* | Set up NetworkManager automatically (#542)Tomas Sedovic2017-07-143-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up NetworkManager automatically This removes the extra step of running the `openshift-ansible/playbooks/byo/openshift-node/network_manager.yml` before installing openshift. In addition, the playbook relies on a host group that the provisioning doesn't provide (oo_all_hosts). Instead, we set up NetworkManager on CentOS nodes automatically. And we restart it on RHEL (which is necessary for the nodes to pick up the new DNS we configured the subnet with). This makes the provisioning easier and more resilient. * Apply the node-network-manager role to every node It makes the code simpler and more consistent across distros.
* | Merge pull request #546 from tomassedovic/jinja-versionBogdan Dobrelya2017-07-141-4/+4
|\ \ | | | | | | Replace greaterthan and equalto in openstack-stack
| * | Replace greaterthan and equalto in openstack-stackTomas Sedovic2017-07-131-4/+4
| | | | | | | | | | | | | | | | | | These two Jinja filters were added in 2.8 which is notably not packaged in CentOS and RHEL. This removes them in favour of the `==` and `>` operators which are available in Jinja 2.7.
* | | add missing ansible rpm to sample command (#545)Ilkka Tengvall2017-07-130-0/+0
| | |
* | | Move OCP variables to one place (#547)Peter Schiffer2017-07-130-0/+0
|/ / | | | | | | | | | | | | | | * Refactor gcloud.sh script for DRY Introduce run_playbook() fn so the rest of the script can be simplified. * Move OCP variables to one place
* | needed to expand name (#543)Ryan Cook2017-07-120-0/+0
| |
* | Switch the sample inventory to CentOS (#541)Tomas Sedovic2017-07-122-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Switch the sample inventory to CentOS This changes the image name and deployment types to use centos instead of rhel and sets `rhsm_register` to false. With these changes, the inventory should be immediately deployable using the default values (assuming the image, network and flavor names match). Ideally, the upstream CI will just end up using this inventory with little to no changes, too at some point. * Specify the origin openshift_release
* | Add defaults values for some openstack vars (#539)Tomas Sedovic2017-07-123-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add defaults values for some openstack vars Ansible shows errors when the `rhsm_register` and `openstack_flat_secgrp` values are not present in the inventory even though they have sensible default values. This makes them both default to false when they're not specified. * Comment out the flat security group option in inv It's no longer required to be there so let's comment it out.
* | Install DNS roles from casl-infra with galaxy (#529)Bogdan Dobrelya2017-07-123-3/+26
|/ | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Playbook prerequisites.yml checks that prerequisites are met before ↵Tlacenka2017-07-102-0/+78
| | | | | | | | | | | | | | | | | | | provisioning (#518) * prerequisites.yml: check prerequisites on localhost needed for provisioning provision.yml: includes prerequisites.yml * prerequisites: indentation fixed * prerequisites.yml: used ansible_version variable, openstack modules for ansible * prerequisites.yml: os_keypair is not suitable for this purpose * prerequisites.yml: openstack keypair command exchanged for shade - there is no Ansible module for this now - os_keypair is not suitable for this purpose - python-openstackclient dependency is not desirable
* Merge pull request #534 from dav1x/heketi-service-startingDavis Phillips2017-07-070-0/+0
|\ | | | | setting enabled=yes for heketi
| * mendDavis Phillips2017-07-070-0/+0
| |
| * setting enabled=yes for heketiDavis Phillips2017-07-070-0/+0
|/
* Merge pull request #531 from dav1x/missing-playbooks-crsDavis Phillips2017-07-050-0/+0
|\ | | | | adding some fixes for annette issues
| * enable heketiDavis Phillips2017-07-050-0/+0
| |
| * adding some fixes for annette issuesDavis Phillips2017-07-050-0/+0
| |
* | GCP: Allow for custom VPC subnet II (#530)Peter Schiffer2017-07-040-0/+0
| | | | | | | | | | | | | | | | * GCP: Allow for custom VPC subnet * Couple of cosmetic fixes to the PR #500 * Better description of config value
* | Merge pull request #501 from bogdando/github_templatesTomas Sedovic2017-06-300-0/+0
|\ \ | | | | | | Add ISSUE/PR github templates
| * | Add ISSUE/PR github templatesBogdan Dobrelya2017-06-260-0/+0
| | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* | | Added optional metrics to AzureEduardo Minguez Perez2017-06-300-0/+0
| | |
* | | Merge pull request #510 from e-minguez/azure-swapGlenn S West2017-06-300-0/+0
|\ \ \ | | | | | | | | Disable swap on nodes
| * | | Disable swap on nodesEduardo Minguez Perez2017-06-270-0/+0
| | | |
* | | | Merge pull request #520 from e-minguez/enable_dnsmasq_azureGlenn S West2017-06-300-0/+0
|\ \ \ \ | | | | | | | | | | Enable dnsmasq or it fails resolving k8s svc
| * | | | Variable not used and dnsmasq installation by OCPEduardo Minguez Perez2017-06-290-0/+0
| | | | |
| * | | | Enable dnsmasq or it fails resolving k8s svcEduardo Minguez Perez2017-06-290-0/+0
| | | | |