summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6951 from tomassedovic/fix-openstack-masterOpenShift Merge Robot2018-02-131-6/+5
|\ | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix OpenStack playbooks This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
| * Fix OpenStack playbooksTomas Sedovic2018-02-121-6/+5
| | | | | | | | | | This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
* | Merge pull request #6699 from bogdando/heat_user_dataOpenShift Merge Robot2018-02-122-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. [openstack] custom user commands for cloud-init Allow to specify additional user commands executed on all Nova servers provisioned via Heat. An example use case is installing and starting os-collect-config agents to put Nova servers under the configuration management driven via the host openstack cloud Heat services. This allows to integrate with another deployment tools like TripleO. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | Fix openshift_openstack_provision_user_commandsBogdan Dobrelya2018-02-121-2/+2
| | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | Fix cloud init runcmd templatingBogdan Dobrelya2018-02-091-2/+11
| | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | Clarify the ansible playbook vs cloud-initBogdan Dobrelya2018-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Document use cases for custom post-provision ansible hooks vs cloud-init runcmd shell commands. Rename to openshift_openstack_cloud_init_runcmd. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | Fix openstack cloud-init runcmd templatingBogdan Dobrelya2018-02-091-1/+1
| | | | | | | | | | | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| * | [openstack] custom user commands for cloud-initBogdan Dobrelya2018-02-092-0/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | Allow to specify additional user commands executed on all Nova servers provisioned via Heat. An example use case is installing and starting os-collect-config agents to put Nova servers under the configuration management driven via the host openstack cloud Heat services. This allows to integrate with another deployment tools like TripleO. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* | Merge pull request #7001 from mbruzek/cidr_pool_start_endOpenShift Merge Robot2018-02-122-18/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Removing prefix, replacing with cidr, pool_start and pool_end vars The heat template was hardcoded with a /24 cidr and that limited customers to 251 ip addresses in the OpenStack subnet. This allows the user to configure the cidr and the allocation pool start and end. Addresses issue #6829 that I created last week. @tomassedovic please take a look
| * Removing prefix and replacing with cidr, pool_start and pool_end variables.Matt Bruzek2018-02-022-18/+8
| |
* | Parameterize user and disable_root options in cloud configNaga Ravi Chaitanya Elluri2018-02-012-2/+7
|/ | | | | This commit will allow the user to login as root. By default, the user is set to openshift and disable_root is set to true.
* Merge pull request #6831 from jmencak/heatstack-infra-1936OpenShift Merge Robot2018-01-311-0/+4
|\ | | | | | | | | | | | | Automatic merge from submit-queue. Fix: e2e tests failing due to :1936/metrics unaccessible. This PR allows access to tcp/1936 ingress infra-secgrp policy, so that e2e test do not fail looking for router metrics (:1936/metrics).
| * Fix: e2e tests failing due to :1936/metrics unaccessible.Jiri Mencak2018-01-231-0/+4
| | | | | | | | | | | | This PR allows access to tcp/1936 ingress infra-secgrp policy, so that e2e test do not fail looking for router metrics port :1936/metrics
* | fix hostvars parameter nameTzu-Mainn Chen2018-01-292-4/+4
| |
* | remove mountpoint parameterTzu-Mainn Chen2018-01-291-1/+0
| |
* | add cinder mountpoint to inventoryTzu-Mainn Chen2018-01-273-0/+10
|/
* Merge pull request #6525 from luis5tb/fix-provider-networkMichael Gugino2018-01-222-9/+17
|\ | | | | Fix provider network support at openstack playbook
| * Fix provider network support at openstack playbookLuis Tomas Bolivar2018-01-082-9/+17
| | | | | | | | | | It ensures no floating ips are attached if a provider network is used
* | Allow using server names in openstack dynamic invTomas Sedovic2018-01-101-0/+3
| | | | | | | | | | | | | | | | When deploying on OpenStack with internal DNS configured, this will set `openshift_hostname` to the Nova server name instead of its IP address. Without those two matching, the OpenStack cloud provider configuration will fail and the OpenShift nodes will not start.
* | OpenStack provisioning -- support cns.Jiri Mencak2018-01-023-0/+102
|/
* Deprecate using Ansible tests as filtersRussell Teague2017-12-143-5/+5
|
* Allow 2 sets of hostnames for openstack providerBogdan Dobrelya2017-12-112-2/+5
| | | | | | | | | | | | | 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>
* Include Deprecation: Convert to include_tasksRussell Teague2017-12-063-6/+6
|
* Fix and cleanup not required dns bitsBogdan Dobrelya2017-12-056-145/+8
| | | | | | | | | | | | | | | | | * 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
* Cleanup unused openstack provider codeBogdan Dobrelya2017-12-043-36/+7
| | | | | | | Remove references for bastion, ssh UI tunnek and static inventory. Update docs. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* retry package operationsLuke Meyer2017-11-301-0/+4
| | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* dist.iteritems() no longer exists in Python 3.Jan Pazdziora2017-11-271-2/+2
|
* Fix toxTomas Sedovic2017-11-072-3/+3
|
* Namespace the OpenStack varsTomas Sedovic2017-11-0711-312/+314
| | | | | This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
* Use `null` instead of `False` where it makes senseTomas Sedovic2017-11-071-2/+2
| | | | | The `openstack_*_network_name` vars are strings, not booleans, so the absense shouldn't really be marked by `False`.
* Simplify the template paths for the storage setupTomas Sedovic2017-11-071-3/+3
| | | | | | Because the templates are present in a role, the `template` module is able to look them up directly, without having to use `{{ role_path }}/templates`.
* Use the default `item` loop variable for checksTomas Sedovic2017-11-073-14/+11
|
* Move the selinux check upTomas Sedovic2017-11-071-5/+5
|
* Add the DNS updates and rename the openstack varsTomas Sedovic2017-11-078-305/+238
| | | | | Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
* Remove the subnet_update_dns_servers task listTomas Sedovic2017-11-071-9/+0
| | | | It's no longer being used.
* Move the vars/main.yml to defaultsTomas Sedovic2017-11-072-49/+53
| | | | | | | | The contents of roles/openshift_openstack/vars/main.yml were moved to the defaults/main.yml file instead. There are now duplication warnings we need to address, but the deployment does still work.
* Add a stub of the dns record update code inTomas Sedovic2017-11-072-0/+173
| | | | This will mostly not work but it's a starting point.
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-0722-0/+1672
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.