summaryrefslogtreecommitdiff
path: root/playbooks/openstack
AgeCommit message (Collapse)Author
2017-12-11Allow 2 sets of hostnames for openstack providerBogdan Dobrelya
Support private/public hostnames suffixes for DNS records. Real hostnames, Inventory variables, Nova servers and ansible hostnames will ignore the custom suffixes. Those are only for nsupdates sent to external DNS servers. Related change: add openshift_openstack_public_dns_domain to the role defaults to not rely on the group vars example only. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> Co-authored-by: Tomas Sedovic <tsedovic@redhat.com>
2017-12-08Cleanup byo referencesRussell Teague
2017-12-07Include Deprecation: Convert to import_playbookRussell Teague
2017-12-07Merge pull request #6361 from mtnbikenc/consolidate-deploy-clusterScott Dodson
Playbook Consolidation - byo/config.yml
2017-12-07Merge pull request #6310 from tomassedovic/openstack-rhel-subscriptionMichael Gugino
Optionally subscribe OpenStack RHEL nodes
2017-12-06Playbook Consolidation - byo/config.ymlRussell Teague
2017-12-06Merge pull request #6340 from bogdando/openstack_cleanup_dnsScott Dodson
Cleanup not required dns bits
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-12-05Fix and cleanup not required dns bitsBogdan Dobrelya
* Do not manage hostnames for openstack cloud provider, let cloud-init to do its job. * Make python-dns / dnspython dependency check conditional. * Drop not used dns node flavor and image. * Do not manage dns nodes and sec groups in heat stacks. * Keep supporting dynamic updates for private DNS records, yet only limited to an external DNS managed elsewhere (not deployed by the openshift_openstack provider). So users may still benefit from this feature, sending nsupdates to private and public servers as they want it. * Fix openstack default for external nsupdate keys. It should be undefined by default as the dns-populate logic is based on that. * Fix dns records generation for openstack provider's populate-dns * Update docs
2017-12-05Merge pull request #6341 from bogdando/openstack_cleanup_staticMichael Gugino
Cleanup unused openstack provider code
2017-12-05Document testing repos for dev purposesBogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-12-04Use openshift testing repos for openstackBogdan Dobrelya
Use testing openshift repos to sidestep packaging issues for 3.6 clients being used in 3.7 deployments or something. Poke host requirements Centos 7.4 as 7.3 can't see that testing repo. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-12-04Cleanup unused openstack provider codeBogdan Dobrelya
Remove references for bastion, ssh UI tunnek and static inventory. Update docs. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-12-01Remove shell environment lookupTomas Sedovic
2017-11-29Update the doc textTomas Sedovic
2017-11-29Optionally subscribe OpenStack RHEL nodesTomas Sedovic
2017-11-28Use IP addresses for OpenStack nodesTomas Sedovic
Unlike other cloud providers, OpenStack VMs are not able to resolve each other by their names. If you try to run the playbooks against nodes without a pre-created /etc/hosts or a DNS that provides the hostname/ip resolution, it will fail. By setting the `openshift_hostname` variable to each node's IP address, we're able to deploy a functional cluster without running a custom DNS. It is still possible to provide an external server with nsupdate keys and have it be populated, but that is no longer a hard requirement.
2017-11-16Fix openstack initRussell Teague
2017-11-07Namespace the docker volumesTomas Sedovic
2017-11-07Namespace the OpenStack varsTomas Sedovic
This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
2017-11-07Add the DNS updates and rename the openstack varsTomas Sedovic
Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
2017-11-07Remove the static_inventory and bastion samplesTomas Sedovic
These options will have no effect until we add static inventory and bastion support back in.
2017-11-07Use the existing ansible.cfg fileTomas Sedovic
2017-11-07Use correct host group in provision.ymlTomas Sedovic
2017-11-07Remove the post-install and scale-up playbooksTomas Sedovic
They're not necessary for the initial PR so let's add them properly later.
2017-11-07Remove the openstack custom-actions for nowTomas Sedovic
They're duplicating a lot of functionality that's already in openshift-ansible and they're not actually used from the provisioning playbooks. We'll revisit them later.
2017-11-07Add openshift_openstack role and move tasks thereTomas Sedovic
All the tasks that were previously in playbooks are now under `roles/openshift_openstack`. The `openshift-cluster` directory now only contains playbooks that include tasks from that role. This makes the structure much closer to that of the AWS provider.
2017-11-07Use the docker-storage-setup roleTomas Sedovic
2017-11-07Update readmeTomas Sedovic
2017-11-07Update lookup plugins pathTomas Sedovic
2017-11-07Move the OpenStack playbooksTomas Sedovic
We move them from `playbooks/provisioning/openstack` to `playbooks/openstack` to mirror `playbooks/aws`.
2017-08-25Remove unsupported playbooks and utilitiesRussell Teague
2017-06-15add etcd scaleup playbookjawed
2017-04-19Fix cluster creation with `bin/cluster` when there’s no glusterfs nodeLénaïc Huard
2017-04-04Port 10255 unnecessary. Removing all instancesChris Callegari
2017-03-23Add calico.Dan Osborne
2017-01-13Document playbook directoriesRodolfo Carvalho
2016-12-12YAML LintingRussell Teague
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
2016-12-08Removed verify_ansible_version playbook refsRussell Teague
2016-11-24Fix the list done after cluster creation on libvirt and OpenStackLénaïc Huard
The `list.yml` playbooks are using cloud provider specific variables to find the IPs of the VMs since 82449c6. Those “cloud provider specific” variables are the ones provided by the dynamic inventories. But there was a problem when the `list.yml` playbooks are invoked from the `launch.yml` ones because, in that case, the inventory is not coming from the dynamic inventory scripts, but from the `add_host` done inside `launch_instances.yml`. Whereas the GCE and AWS `launch_instances.yml` were correctly adding in the `add_host` the variables used by `list.yml`, libvirt and OpenStack were missing that. Fixes #2856
2016-11-16Merge pull request #2734 from dougbtv/openstack_timeout_optionJason DeTiberus
[openstack] allows timeout option for heat create stack
2016-11-16Optimize the cloud-specific list.yml playbooksLénaïc Huard
by removing the need to gather facts on all VMs in order to list them. And prettify the output of AWS list the same way it is done for other cloud providers.
2016-11-08Revert "Revert openshift.node.nodename changes"Scott Dodson
2016-11-07Revert "Fix the nodeName of the OpenShift nodes on OpenStack"Scott Dodson
This reverts commit aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.
2016-11-05[openstack] allows timeout option for heat create stackdougbtv
2016-10-19Fix typosRodolfo Carvalho
2016-10-14Template with_items for upstream ansible-2.2 compat.Andrew Butcher
2016-09-27Remove the DNS VM on OpenStackLénaïc Huard
2016-09-22Fix the nodeName of the OpenShift nodes on OpenStackLénaïc Huard
2016-09-20Update the OpenStack dynamic inventory scriptLénaïc Huard