summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-24Delete test.yamlDavis Phillips
2017-07-24Delete vmware_vm_shell.pyDavis Phillips
2017-07-24Update ocp-on-vmware.iniDavis Phillips
2017-07-24Update vmware_inventory.iniDavis Phillips
2017-07-24adding cns supportDavis Phillips
2017-07-21adding labels to metrics (#569)Ryan Cook
* adding labels to metrics
2017-07-20RHV High-availability code (#562)Chandler Wilkerson
* 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
2017-07-20Static inventory autogeneration (#550)Bogdan Dobrelya
* 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>
2017-07-20Generate static inventory with shade inventory (#538)Bogdan Dobrelya
* 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>
2017-07-20Include masters into etcd group, when it is empty (#559)Bogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-07-20Merge pull request #560 from Tlacenka/openstackrepoBogdan Dobrelya
Added prerequisity for python-openstackclient installation
2017-07-19During provisioning, make unnecessary packages optional under a switch (#561)Tlacenka
* openshift-prep: bash-completion and vim-enhanced packages are now optional under install_debug_packages switch * openshift-prep: new line removal
2017-07-19Merge pull request #563 from tomassedovic/openshift-ansible-sudoBogdan Dobrelya
Set ansible_become for the OSEv3 group
2017-07-19Set ansible_become for the OSEv3 groupTomas Sedovic
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.
2017-07-19README: fixKaterina Pilatova
2017-07-18GCP: Refactor data disk(s) creation and setup to instance template v2 (#537)Peter Schiffer
* 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
2017-07-18README: typoKaterina Pilatova
2017-07-18dependencies: python-heatclient and python-openstackclient added to optional ↵Katerina Pilatova
dependencies
2017-07-18README: added prerequisity for a repository needed for ↵Katerina Pilatova
python-openstackclient installation
2017-07-17Slightly enhanced deployment manager role (#556)Peter Schiffer
* 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.
2017-07-17Add a role to generate a static inventory (#540)Bogdan Dobrelya
* 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>
2017-07-17Retry tasks in the subscription manager role (#552)Tlacenka
* subscription manager: added 10 retries after 1 second delay * subscription manager: added untils * sub manager: typo
2017-07-17Set docker registry to 3 (#555)Glenn S West
2017-07-17Merge pull request #536 from e-minguez/azure_logging_metrics_postGlenn S West
Azure logging metrics and logging deployment in post installation step
2017-07-14RHV provider BYO code (#548)Chandler Wilkerson
* 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
2017-07-14Set up NetworkManager automatically (#542)Tomas Sedovic
* 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.
2017-07-14Merge pull request #546 from tomassedovic/jinja-versionBogdan Dobrelya
Replace greaterthan and equalto in openstack-stack
2017-07-13add missing ansible rpm to sample command (#545)Ilkka Tengvall
2017-07-13Move OCP variables to one place (#547)Peter Schiffer
* 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
2017-07-13Replace greaterthan and equalto in openstack-stackTomas Sedovic
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.
2017-07-13Premium storage for logging/metricsEduardo Minguez Perez
2017-07-13Container name should be vhdsEduardo Minguez Perez
2017-07-12needed to expand name (#543)Ryan Cook
2017-07-12Switch the sample inventory to CentOS (#541)Tomas Sedovic
* 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
2017-07-12Add defaults values for some openstack vars (#539)Tomas Sedovic
* 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.
2017-07-12Install DNS roles from casl-infra with galaxy (#529)Bogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-07-11Back to openshift/master repoEduardo Minguez Perez
2017-07-11Added OCP aggregated loggingEduardo Minguez Perez
* 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
2017-07-10Playbook prerequisites.yml checks that prerequisites are met before ↵Tlacenka
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
2017-07-07Merge pull request #534 from dav1x/heketi-service-startingDavis Phillips
setting enabled=yes for heketi
2017-07-07mendDavis Phillips
2017-07-07setting enabled=yes for heketiDavis Phillips
2017-07-05Merge pull request #531 from dav1x/missing-playbooks-crsDavis Phillips
adding some fixes for annette issues
2017-07-05enable heketiDavis Phillips
2017-07-05adding some fixes for annette issuesDavis Phillips
2017-07-04GCP: Allow for custom VPC subnet II (#530)Peter Schiffer
* GCP: Allow for custom VPC subnet * Couple of cosmetic fixes to the PR #500 * Better description of config value
2017-06-30Merge pull request #501 from bogdando/github_templatesTomas Sedovic
Add ISSUE/PR github templates
2017-06-30Added optional metrics to AzureEduardo Minguez Perez
2017-06-30Merge pull request #510 from e-minguez/azure-swapGlenn S West
Disable swap on nodes
2017-06-30Merge pull request #520 from e-minguez/enable_dnsmasq_azureGlenn S West
Enable dnsmasq or it fails resolving k8s svc