summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster
Commit message (Collapse)AuthorAgeFilesLines
* Remove cluster_facts.yml from the install.ymlTomas Sedovic2018-02-121-1/+0
| | | | | It was moved there by accident. There's no reason to have it there explicitly.
* Fix OpenStack playbooksTomas Sedovic2018-02-122-6/+12
| | | | | This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
* Install base_packages earlierMichael Gugino2018-01-221-2/+2
| | | | | | | | | | | | Currently, openshift_facts requires pyyaml to be installed. This package is installed via init/base_packages.yml, which is currently called after init/facts.yml. This results in a situation where installs will fail due to missing python dependency. This commit splits init/facts.yml into two, and allows base_packages.yml to be run before the openshift_facts.py plugin is executed.
* Merge pull request #6580 from tomassedovic/openstack-fixesOpenShift Merge Robot2018-01-081-0/+3
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Openstack fixes This includes a few fixes for the OpenStack provider. It should fix #6555 and possibly also #6560.
| * Import prerequisites.yml for OpenStackTomas Sedovic2018-01-021-0/+3
| |
* | Migrate to import_role for static role inclusionScott Dodson2018-01-052-8/+8
|/ | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* set repos after registration: convert to match task -> import_role model.Mark Lamourine2017-12-181-3/+11
|
* Fix rhel_subscribe booleanMichael Gugino2017-12-151-2/+2
| | | | | | | This commit fixes a variable name to it's correct name used in a when condition. Also makes use of 'is defined' consistent.
* Include Deprecation: Convert to import_playbookRussell Teague2017-12-073-6/+6
|
* Merge pull request #6361 from mtnbikenc/consolidate-deploy-clusterScott Dodson2017-12-071-5/+2
|\ | | | | Playbook Consolidation - byo/config.yml
| * Playbook Consolidation - byo/config.ymlRussell Teague2017-12-061-5/+2
| |
* | Merge pull request #6310 from tomassedovic/openstack-rhel-subscriptionMichael Gugino2017-12-071-0/+10
|\ \ | |/ |/| Optionally subscribe OpenStack RHEL nodes
| * Remove shell environment lookupTomas Sedovic2017-12-011-2/+2
| |
| * Optionally subscribe OpenStack RHEL nodesTomas Sedovic2017-11-291-0/+10
| |
* | Fix and cleanup not required dns bitsBogdan Dobrelya2017-12-051-3/+0
|/ | | | | | | | | | | | | | | | | * 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
* Fix openstack initRussell Teague2017-11-162-8/+3
|
* Namespace the OpenStack varsTomas Sedovic2017-11-071-2/+2
| | | | | This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
* Add the DNS updates and rename the openstack varsTomas Sedovic2017-11-071-6/+30
| | | | | Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
* Use correct host group in provision.ymlTomas Sedovic2017-11-071-1/+1
|
* Remove the post-install and scale-up playbooksTomas Sedovic2017-11-072-127/+0
| | | | | They're not necessary for the initial PR so let's add them properly later.
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-0716-509/+78
| | | | | | | | | 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.
* Use the docker-storage-setup roleTomas Sedovic2017-11-071-1/+3
|
* Move the OpenStack playbooksTomas Sedovic2017-11-0714-0/+633
| | | | | We move them from `playbooks/provisioning/openstack` to `playbooks/openstack` to mirror `playbooks/aws`.
* Remove unsupported playbooks and utilitiesRussell Teague2017-08-2512-1057/+0
|
* add etcd scaleup playbookjawed2017-06-151-0/+2
|
* Fix cluster creation with `bin/cluster` when there’s no glusterfs nodeLénaïc Huard2017-04-191-0/+2
|
* Port 10255 unnecessary. Removing all instancesChris Callegari2017-04-041-10/+0
|
* Add calico.Dan Osborne2017-03-231-0/+1
|
* YAML LintingRussell Teague2016-12-124-26/+28
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Removed verify_ansible_version playbook refsRussell Teague2016-12-081-2/+0
|
* Fix the list done after cluster creation on libvirt and OpenStackLénaïc Huard2016-11-241-0/+12
| | | | | | | | | | | | | | | | | | | 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
* Merge pull request #2734 from dougbtv/openstack_timeout_optionJason DeTiberus2016-11-162-1/+3
|\ | | | | [openstack] allows timeout option for heat create stack
| * [openstack] allows timeout option for heat create stackdougbtv2016-11-052-1/+3
| |
* | Optimize the cloud-specific list.yml playbooksLénaïc Huard2016-11-161-12/+2
| | | | | | | | | | | | 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.
* | Revert "Revert openshift.node.nodename changes"Scott Dodson2016-11-083-175/+25
| |
* | Revert "Fix the nodeName of the OpenShift nodes on OpenStack"Scott Dodson2016-11-073-25/+175
|/ | | | This reverts commit aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.
* Fix typosRodolfo Carvalho2016-10-191-1/+1
|
* Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-2/+2
|
* Remove the DNS VM on OpenStackLénaïc Huard2016-09-276-245/+1
|
* Fix the nodeName of the OpenShift nodes on OpenStackLénaïc Huard2016-09-224-52/+79
|
* Update the OpenStack dynamic inventory scriptLénaïc Huard2016-09-205-19/+19
|
* Merge pull request #2330 from lhuard1A/open_node_portsJason DeTiberus2016-08-193-0/+14
|\ | | | | Open OpenStack security group for the service node port range
| * Open OpenStack security group for the service node port rangeLénaïc Huard2016-08-193-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | With OpenShift 3.2, creating a service accessible from the outside of the cluster thanks to `nodePort` automatically opens the “local” `iptables` firewall to allow incoming connection on the `nodePort` of the service. In order to benefit from this improvement, the OpenStack security group shouldn’t block those incoming connections. This change opens, on the OS nodes, the port range dedicated to service node ports.
* | Fix warnings in OpenStack provider with ansible 2.1Lénaïc Huard2016-08-193-22/+24
|/ | | | Some expressions now need to be enclosed inside `{{…}}`.
* Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-201-0/+2
|
* Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|
* Merge pull request #2142 from lhuard1A/fix_openstack_firewallJason DeTiberus2016-07-121-0/+30
|\ | | | | Re-align the OpenStack firewall rules with the iptables rules
| * Re-align the OpenStack firewall rules with the iptables rulesLénaïc Huard2016-07-121-0/+30
| |
* | Fix bin/cluster openstack related errorLénaïc Huard2016-07-121-0/+5
|/
* Various hosted component improvementsAndrew Butcher2016-07-071-2/+1
| | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation