summaryrefslogtreecommitdiff
path: root/roles/openshift_openstack
AgeCommit message (Collapse)Author
2018-02-13Merge pull request #6951 from tomassedovic/fix-openstack-masterOpenShift Merge Robot
Automatic merge from submit-queue. Fix OpenStack playbooks This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
2018-02-12Merge pull request #6699 from bogdando/heat_user_dataOpenShift Merge Robot
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>
2018-02-12Fix openshift_openstack_provision_user_commandsBogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-02-12Merge pull request #7001 from mbruzek/cidr_pool_start_endOpenShift Merge Robot
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
2018-02-12Fix OpenStack playbooksTomas Sedovic
This shuffles a few playbooks around to fix the ordering between various facts and prerequisites.
2018-02-09Fix cloud init runcmd templatingBogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-02-09Clarify the ansible playbook vs cloud-initBogdan Dobrelya
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>
2018-02-09Fix openstack cloud-init runcmd templatingBogdan Dobrelya
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-02-09[openstack] custom user commands for cloud-initBogdan Dobrelya
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>
2018-02-02Removing prefix and replacing with cidr, pool_start and pool_end variables.Matt Bruzek
2018-02-01Parameterize user and disable_root options in cloud configNaga Ravi Chaitanya Elluri
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.
2018-01-31Merge pull request #6831 from jmencak/heatstack-infra-1936OpenShift Merge Robot
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).
2018-01-29fix hostvars parameter nameTzu-Mainn Chen
2018-01-29remove mountpoint parameterTzu-Mainn Chen
2018-01-27add cinder mountpoint to inventoryTzu-Mainn Chen
2018-01-23Fix: e2e tests failing due to :1936/metrics unaccessible.Jiri Mencak
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
2018-01-22Merge pull request #6525 from luis5tb/fix-provider-networkMichael Gugino
Fix provider network support at openstack playbook
2018-01-10Allow using server names in openstack dynamic invTomas Sedovic
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.
2018-01-08Fix provider network support at openstack playbookLuis Tomas Bolivar
It ensures no floating ips are attached if a provider network is used
2018-01-02OpenStack provisioning -- support cns.Jiri Mencak
2017-12-14Deprecate using Ansible tests as filtersRussell Teague
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-06Include Deprecation: Convert to include_tasksRussell Teague
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-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-11-30retry package operationsLuke Meyer
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).
2017-11-27dist.iteritems() no longer exists in Python 3.Jan Pazdziora
2017-11-07Fix toxTomas 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-07Use `null` instead of `False` where it makes senseTomas Sedovic
The `openstack_*_network_name` vars are strings, not booleans, so the absense shouldn't really be marked by `False`.
2017-11-07Simplify the template paths for the storage setupTomas Sedovic
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`.
2017-11-07Use the default `item` loop variable for checksTomas Sedovic
2017-11-07Move the selinux check upTomas Sedovic
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 subnet_update_dns_servers task listTomas Sedovic
It's no longer being used.
2017-11-07Move the vars/main.yml to defaultsTomas Sedovic
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.
2017-11-07Add a stub of the dns record update code inTomas Sedovic
This will mostly not work but it's a starting point.
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.