summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upscaling OpenShift application nodes (#571)Tlacenka2017-09-266-2/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scale-up: playbook for upscaling app nodes * scale-up: removed debug * scale-up: made suggested changes * scale-up: indentation fix * upscaling: process split into two playbooks that are executed by a bash script - upscaling_run.sh: bash script, usage displayed using -h parameter - upscaling_pre-tasks: check that new value is higher, change inventory variable - upscaling_scale-up: rerun provisioning and installation, verify change * upscaling_run: fixed openshift-ansible-contrib directory name * upscaling_run: inventory can be entered as relative path * upscaling_scale-up: fixed formatting * upscaling: minor changes * upscaling: moved to .../provisioning/openstack directory, README updated, minor changes made * README: minor changes * README: formatting * uspcaling: minor fix * upscaling: fix * upscaling: added customisations, fixes - openshift-ansible-contrib and openshift-ansible paths are customisable - fixed implicit incrementation by 1 * upscaling: fixes * upscaling: fixes * upscaling: another fix * upscaling: another fix * upscaling: fix * upscaling: back to a single playbook, README updated * minor fix * pre_tasks: added labels for autoscaling * scale-up: fixes * scale-up: fixed host variables, post-verification is only based on labels * scale-up: added openshift-ansible path customisation - path has to be absolute, cannot contain '/' at the end * scale-up: fix * scale-up: debug removed * README: added docs on openshift_ansible_dir, note about bastion * static_inventory: newly added nodes are added to new_nodes group - note: re-running provisioning fails when trying to install docker * removing new line * scale-up: running byo/config.yml or scaleup.yml based on the situation - (whether there is an existing deployment or not) * openstack.yml: indentation fix * added refresh inventory * upscaling: new_nodes only contains new does, it is not used during the first deployment * static_inventory: make sure that new nodes end up only in their new_nodes group * bug fixes * another fix * fixed condition * scale-up, static_inventory role: all app node data gathered before provisioning * upscaling: bug fixes * upscaling: another fixes * fixes * upscaling: fix * upscaling: fix * upscaling: another logic fix * bug fix for non-scaling deployments
* Rhv 3.6 disks (#756)Chandler Wilkerson2017-09-250-0/+0
| | | | | | * Clean up cluster definition * Changed disk sizes for 3.6
* epel URL fix for Vagrant (#544) (#755)Benjamin Gentil2017-09-250-0/+0
|
* WIP: lowering required permissions for iam role (#748)Ryan Cook2017-09-210-0/+0
| | | Lowering required permissions for iam role
* load balancer formatting fix (#745)tzumainn2017-09-211-4/+4
|
* Set Ansible version in openstack CI for 2.3 (#750)Tomas Sedovic2017-09-210-0/+0
| | | | | | | | | | | | | | | | | | | | | * Set Ansible version in openstack CI for 2.3 Ansible 2.4 just came out and it breaks our playbooks. Let's pin the end to end CI version to 2.3 until we've figured it out. * Only use the deployed DNS for validation I think the openshift installation and teardown is broken now that the public DNS disables recursion. So we'll only use it for the validation steps and than turn it back off. * Use bash trap to clean up the DNS * Actually display the commit message * Use openshift-ansible-3.6.22-1 in openstack CI The commit following this tag is broken for us.
* Integrate SSO into 3.6 Ref Arch (#739)Glenn S West2017-09-200-0/+0
| | | | | | | | | * Add Keycloak/SSO Support * Make sure sso install occurs after ocp is done * Add sso/keycloak to 3.6 ha ref arch * switch to localhost for initial part of setup-sso.yml * Change restart after sso * Change to same password and switch to upstream repo
* Better documentation (#744)Peter Schiffer2017-09-190-0/+0
| | | | | | * Better documentation * Grammar fixes
* Docker ansible host (#742)Tomas Sedovic2017-09-191-0/+32
| | | | | | | | * Document using a Docker image for Ansible host * Fix the markdown url syntax * Mention keystonerc as well
* Empty ssh (#729)Tomas Sedovic2017-09-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * Make `openstack_private_ssh_key` optional Before this, the deployer could not reasonably rely on their own SSH configuration or e.g. using the `--private-key` option to ansible-playbook because we always wrote the `ansible_private_key_file` value in the static inventory. This change makes the `openstack_private_ssh_key` variable truly optional: if it's not set, the static inventory will not configure the SSH key and will just rely on the existing configuration. * Update the openstack e2e CI It no longer sets the SSH keys explicitly -- which should just work with the previous commit. * Put back the `openstack_ssh_public_key` in CI This is the option we actually need to keep. This sholud fix the CI failures.
* Fix scaling up for 3.6 and RHEL (#741)Peter Schiffer2017-09-190-0/+0
| | | | | | * Parametrise openshift-emptydir-quota role * Fix scaling up for 3.6 and RHEL
* Use ansible installer role to set the node local quota (#736)Peter Schiffer2017-09-180-0/+0
| | | | | | | | * Use ansible installer role for setting the node local quota Try to sort the openshift vars in a better way * There is now only one google-compute-engine package
* Fixed typo (#735)Miguel P.C2017-09-150-0/+0
|
* change of docker backend (#731)Ryan Cook2017-09-140-0/+0
|
* Merge pull request #732 from tomassedovic/make-rhsm-registry-optionaltzumainn2017-09-142-3/+4
|\ | | | | Make rhsm registry optional for openstack
| * Remove the `rhsm_register` value from inventoryTomas Sedovic2017-09-141-2/+3
| | | | | | | | It is now commented out since it's no longer necessary.
| * Make the `rhsm_register` value optionalTomas Sedovic2017-09-141-1/+1
|/ | | | | This was a regression -- it used to be optional (defaulting to False), but among some changes we ended up requiring it again.
* Merge pull request #730 from tomassedovic/always-refresh-hoststzumainn2017-09-131-0/+8
|\ | | | | Clear the previous inventory during provisioning
| * Clear the previous inventory during provisioningTomas Sedovic2017-09-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If there was a left-over inventory from a previous run that had nodes which were subsequently removed, these would still show up in the Ansible's in-memory inventory and Ansible would fail trying to connect to them. This is because Ansible automatically loads the `inventory/hosts` file if it exists and even if we overwrite it later, every node and group still remains in the memory. By removing the inventory file and and calling the `refresh_inventory` meta task, we make sure that any left-over values are removed.
* | Merge pull request #728 from tomassedovic/prebuild-cinder-registrytzumainn2017-09-138-92/+135
|\ \ | |/ |/| Pre-create a Cinder registry volume
| * Fix the cinder_registry_volume conditionalTomas Sedovic2017-09-131-1/+1
| | | | | | | | | | | | Deployments without the cinder registry would fail, because the `cinder_registry_volume` variable is still set even when we don't actually create the volume.
| * Pre-create a Cinder registry volumeTomas Sedovic2017-09-138-92/+135
|/
* Vmw 3.6 remove fs role (#727)Davis Phillips2017-09-120-0/+0
| | | | | | | | * modify readme * update readme * remove fs from config and add to instal
* Vmw 3.6 (#726)Davis Phillips2017-09-120-0/+0
| | | | | | * modify readme * update readme
* adding some fixes (#725)Davis Phillips2017-09-120-0/+0
|
* Add ability to support custom api and console ports (#712)Eric Sauer2017-09-121-4/+12
| | | | | | * Add ability to support custom api and console ports * Missed an ingress rule
* Support Cinder-backed Openshift registry (#707)Tomas Sedovic2017-09-125-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Attach and detach a volume, wait for it to be accessible This is mostly just handling the attach/detach code, making sure the necessary vars are accessible where they need to be as well as finding out the correct device name the volume is attached as. * Create temp directory for mounts, remove some debug info * add the fs actions * Remove debug * Prepare the volume automatically if possible * Add docs and sample inventory * Read OS_* creds from shell in sample inventory * Fix yamlint complaint * Update readme This mentions the potential pitfalls when using devstack. * Better check for the router deployment in CI * Set the openshift_hoster*_wait vars to True * Fix typo
* Add ssd storage class (#724)Peter Schiffer2017-09-120-0/+0
| | | | | | * Add ssd storage class by default * Increase minimum number of app nodes to 3
* openstack: make server ports be trunk ports (#713)Antoni Segura Puimedon2017-09-122-0/+24
| | | | | | | | This ensures that the ports that the servers were using before this commit will be parent ports of Neutron trunk ports. Thanks to this, there can be nested Neutron ports inside the OS::NOva::Server resources created either in the heat stack or dynamically inside the Instances. Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
* Vmw 3.6 fix ds var (#723)Davis Phillips2017-09-110-0/+0
| | | | | | | | | | | | | | | | * update ds var name * update var for conditional check * fix tags for playbook use * remove pw from inventory ini * lint issues * updating setup_ansible.sh * updating README
* Merge pull request #722 from dav1x/vmw-3.6-etcd-strDavis Phillips2017-09-110-0/+0
|\ | | | | add etcd str role
| * updated lint and specified lv and vgDavis Phillips2017-09-110-0/+0
| |
| * add etcd str roleDavis Phillips2017-09-110-0/+0
|/
* Merge pull request #721 from dav1x/vmw-3.6-storageclassDavis Phillips2017-09-110-0/+0
|\ | | | | auto create the storage class based on vmware_datacenter
| * auto create the storage class based on vmware_datacenterDavis Phillips2017-09-110-0/+0
| |
* | Merge pull request #720 from dav1x/vmw-3.6Davis Phillips2017-09-080-0/+0
|\| | | | | Vmw 3.6
| * no cert validation on cleanupDavis Phillips2017-09-080-0/+0
| |
| * Merge pull request #719 from dav1x/vmw-3.6Davis Phillips2017-09-080-0/+0
| |\ | | | | | | Adds automated setup for 3.6 vmware cloud provider
| | * lintDavis Phillips2017-09-080-0/+0
| | |
| | * Merge branch 'vmw-3.6' of https://github.com/dav1x/openshift-ansible-contrib ↵Davis Phillips2017-09-080-0/+0
| | |\ | | | | | | | | | | | | into vmw-3.6
| | * | scaleup add vsphere.confgDavis Phillips2017-09-080-0/+0
| | | |
| | * | automate cloud provider during installDavis Phillips2017-09-080-0/+0
| | | |
| | * | adding etcd storage to mastersDavis Phillips2017-09-070-0/+0
| | | |
* | | | Merge pull request #717 from dav1x/vmw-3.6Davis Phillips2017-09-070-0/+0
|\ \ \ \ | | |_|/ | |/| | Adding 3.6 support to VMware platform
| * | | Update main.yamlDavis Phillips2017-09-070-0/+0
| | | |
| * | | Update main.yamlDavis Phillips2017-09-070-0/+0
| | |/ | |/|
| * | more lintDavis Phillips2017-09-070-0/+0
| |/
| * lint issuesDavis Phillips2017-09-070-0/+0
| |
| * changes to crs createDavis Phillips2017-09-070-0/+0
| |
| * changed openshift-installDavis Phillips2017-09-070-0/+0
| |