summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* FIXUP ANSIBLE CFGTomas Sedovic2017-11-071-1/+2
|
* Remove the static_inventory and bastion samplesTomas Sedovic2017-11-071-19/+0
| | | | | These options will have no effect until we add static inventory and bastion support back in.
* Use the existing ansible.cfg fileTomas Sedovic2017-11-073-32/+9
|
* Remove the subscription-manager roleTomas Sedovic2017-11-073-351/+0
| | | | | The repo already contains the `rhel_subscribe` role so we should use that instead.
* 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.
* 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.
* Remove the openstack custom-actions for nowTomas Sedovic2017-11-074-128/+0
| | | | | | | | 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.
* Remove the extra rolesTomas Sedovic2017-11-0723-1668/+0
| | | | | The `openstack-stack` role is now under `openshift_openstack` and the `openstack-create-cinder-registry` one will be added there, later.
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-0756-803/+1636
| | | | | | | | | 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
|
* Update readmeTomas Sedovic2017-11-071-17/+8
|
* Update lookup plugins pathTomas Sedovic2017-11-071-1/+1
|
* .gitignore casl-infraTomas Sedovic2017-11-071-0/+1
|
* Move the OpenStack playbooksTomas Sedovic2017-11-0725-0/+0
| | | | | We move them from `playbooks/provisioning/openstack` to `playbooks/openstack` to mirror `playbooks/aws`.
* Merge ../openshift-ansible-contrib into openstack-provider-githistTomas Sedovic2017-11-0774-0/+4586
|\ | | | | | | | | | | | | | | This moves all the OpenStack-related code from the -contrib[1] repo including its git history to openshift-ansible. It will then be moved around and updated to fit the rest of the project's structure. [1]: https://github.com/openshift/openshift-ansible-contrib
| * Merge branch 'docker-storage-setup' into openshift-ansible-sourceTomas Sedovic2017-10-181-1/+17
| |\
| | * Add CentOS support to the docker-storage-setup roleTomas Sedovic2017-10-091-1/+17
| | | | | | | | | | | | | | | | | | This let's us use the role on CentOS systems, as well as RHEL. In addition, it installs docker and makes sure it's restarted (as opposed to just "started" which has no effect when docker is already running).
| * | Remove bash highlightTomas Sedovic2017-10-181-1/+1
| | |
| * | Revert the console hostname changeTomas Sedovic2017-10-182-5/+5
| | | | | | | | | | | | We'll do it in a separate pull request.
| * | Merge branch 'master' into openstack-docsTomas Sedovic2017-10-1815-202/+402
| |\ \
| | * | Add Extra CAs (custom post-provision action) (#801)Tlacenka2017-10-182-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add cas: playbook adding new CAs created * add CAs: README updated, bug fixes * README: improvements * README: minor fixes * README: removed code snippet * README: fix
| | * | Add Flannel support (#814)Bogdan Dobrelya2017-10-186-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add flannel support * Document Flannel SDN use case for a separate data network. * Add post install step for flannel SDN * Configure iptables rules as described for OCP 3.4 refarch https://access.redhat.com/documentation/en-us/reference_architectures/2017/html/deploying_red_hat_openshift_container_platform_3.4_on_red_hat_openstack_platform_10/emphasis_manual_deployment_emphasis#run_ansible_installer * Configure flannel interface options Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Use os_firewall from galaxy for required flannel rules For flannel SDN: * Add openshift-ansible as a galaxy dependency module. * Use openshift-ansible/roles/os_firewall to apply DNS rules for flanel SDN. * Apply the remaining advanced rules with direct iptables commands as os_firewall do not support advanced rules. * Persist only iptables rules w/o dynamic KUBe rules. Those are added runtime and need restoration after reboot or iptables restart. * Configure and enable the masked iptables service on the app nodes. Enable it to allow the in-memory rules to be persisted. Disable firewalld, which is the expected default behavior of the os_firewall module. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Allow access from nodes to masters' port 2379 when using flannel Flannel requires to gather information from etcd to configure and assign the subnets in the nodes, therefore, allow access from nodes to port 2379/tcp to the master security group. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| | * | Fix broken node labels when using with Vagrant 2.0 (#816)Rastislav Barlik2017-10-180-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A broking change has been introduced in Vagrant 2.0 with this commit: https://github.com/hashicorp/vagrant/commit/ac75e409a3470897d56a0841a575e981d60e2e3d The change puts additional quotes around the node labels. As a fix, use different quoting mechanism for Vagrant >=2.0
| | * | Docker storage fix (#812)Chandler Wilkerson2017-10-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Added task to stop docker before templating config * Rearranged storage roles in rhv install
| | * | Hostfile2inventory (#813)Chandler Wilkerson2017-10-170-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | * hostfile parameter deprecated * hostfile parameter deprecated
| | * | [WIP] Merge server with nofloating server heat templates (#761)Bogdan Dobrelya2017-10-174-250/+35
| | | | | | | | | | | | Merge server with nofloating server heat templates
| | * | Updating the issue template to be more consistent in format. (#810)Matt Bruzek2017-10-160-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updating the issue template to be more consistant in format. * Removing the links and the extra spaces. * Changed BUG REQUEST to BUG REPORT in the header.
| | * | Merge pull request #808 from dav1x/fix_deploy_host_setupDavis Phillips2017-10-160-0/+0
| | |\ \ | | | | | | | | | | Fix deploy host setup
| | | * | add comma for package list for gcpDavis Phillips2017-10-160-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table format for real this timeDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | changing the docs for setup for providersDavis Phillips2017-10-130-0/+0
| | | | |
| | * | | Support separate data network for Flannel SDN (#757)Bogdan Dobrelya2017-10-168-1/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support separate data network for Flannel SDN Document the use case for a separate flannel data network. Allow Nova servers for openshift cluster to be provisioned with that isolated data network created and connected to masters, computes and infra nodes. Do not configure dns nameservers and router for that network. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Fix flannel use cases with provider network Provider network cannot be used with flannel SDN as the latter requires a separate isolated network, while the provider network is an externally managed single network. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Drop unused data_net_name Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
| | * | | Fixed teardown (#804)Peter Schiffer2017-10-130-0/+0
| | | | |
| | * | | More robust teardownPeter Schiffer2017-10-130-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If core infrastructure was created, but ssh proxy not configured, teardown didn't work. This could happen, for example, when there was an issue with core deployment.
| | * | | Add Extra Docker Registry URLs (custom post-provision action) (#794)Tlacenka2017-10-132-0/+109
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add-docker-registry: playbook that adds docker registries to docker config file (in progress) * indentation fix * docker registries: add check for variable type * another type conversion * docker registry: try another unified formatting * another attempt * type error fix * quotation attempt * docker registry: bug fixes * docker registry: fixed formatting * docker registry: if docker is not available, skip the whole playbook * README updated * README: typo * docker registries: suggested changes applied (in progress) * docker registries: README updated, redundant check removed * removed redundant become:true
| * | | Merge branch 'master' into openstack-docsTomas Sedovic2017-10-138-5/+80
| |\| |
| | * | Allow the specification of server group policies when provisioning openstack ↵tzumainn2017-10-136-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#747) * Allow for the specifying of server policies during OpenStack provisioning * documentation for openstack server group policies * add doc link detailing allowed policies * changed default to anti-affinity
| | * | Fixes for metrics (#797)Peter Schiffer2017-10-120-0/+0
| | | |
| | * | Attach additional RHN Pools (post-provision custom action) (#753)Tlacenka2017-10-122-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README, add-rhn-pools.yml: Add new custom post-provision playbook that attaches additional RHN pools - also mention this example in the contrib README * added become true * README update