summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docker: copy Docker metadata to the alternative storage pathGiuseppe Scrivano2017-11-201-4/+5
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #6082 from mgugino-upstream-stage/combine-node-upgradeOpenShift Merge Robot2017-11-1628-483/+25
|\ | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Combine openshift_node and openshift_node_upgrade Currently, having openshift_node and openshift_node_upgrade as two distinct roles has created a duplication across handlers, templates, and some tasks. This commit combines the roles to reduce duplication and bugs encountered by not putting code in both places.
| * Combine openshift_node and openshift_node_upgradeMichael Gugino2017-11-1628-483/+25
| | | | | | | | | | | | | | | | | | Currently, having openshift_node and openshift_node_upgrade as two distinct roles has created a duplication across handlers, templates, and some tasks. This commit combines the roles to reduce duplication and bugs encountered by not putting code in both places.
* | Merge pull request #6114 from sosiouxme/20171114-registry-console-tech-debtOpenShift Merge Robot2017-11-1610-25/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. registry-console tech debt Followup to https://github.com/openshift/openshift-ansible/pull/5829 Replaces https://github.com/openshift/openshift-ansible/pull/6093 Fixes the construction and checking of registry-console images to be as similar as it can get to those constructed from the traditional `oreg_url` without tacking on `ose-` or `origin-` to the base name. I did not see a reason for having `registry.access.redhat.com/` as a hardcoded enterprise default so I took it out. Someone say something if there was a good reason for this.
| * | registry-console: align image and checkLuke Meyer2017-11-154-10/+16
| | | | | | | | | | | | | | | enable option to configure basename in image docker_image_availability check: follow registry-console image options
| * | registry-console template 3.8 consistencyLuke Meyer2017-11-152-5/+11
| | | | | | | | | | | | don't hardcode the enterprise registry; construct the image like origin
| * | registry-console template 3.7 consistencyLuke Meyer2017-11-152-5/+11
| | | | | | | | | | | | don't hardcode the enterprise registry; construct the image like origin
| * | registry-console template 3.6 consistencyLuke Meyer2017-11-152-5/+11
| | | | | | | | | | | | don't hardcode the enterprise registry; construct the image like origin
* | | Automatic commit of package [openshift-ansible] release [3.8.0-0.2.0].Jenkins CD Merge Bot2017-11-162-2/+244
| | | | | | | | | | | | | | | | | | Created by command: /usr/bin/tito tag --debug --accept-auto-changelog --keep-version --debug
* | | Merge pull request #6029 from boeboe/masterOpenShift Merge Robot2017-11-163-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. logging with static pvc: allow specifying the storage class name See https://github.com/openshift/openshift-ansible/issues/6028 for more info and motivation.
| * | | logging with static pvc: allow specifying the storage class nameBart Van Bos2017-11-063-0/+6
| | | |
* | | | Merge pull request #6021 from luis5tb/masterScott Dodson2017-11-162-0/+13
|\ \ \ \ | | | | | | | | | | Initial Kuryr Ports Pool Support
| * | | | Initial Kuryr Ports Pool SupportLuis Tomas Bolivar2017-11-072-0/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits enables the ports pool driver when deploying kuryr networking on top of OpenShift in containers. It also exposes some configuration options such as the maximum and minimum pool sizes, as well as the bulk subports creation size and the time between pools update actions.
* | | | Merge pull request #6142 from mtnbikenc/fix-initRussell Teague2017-11-162-8/+3
|\ \ \ \ | |_|_|/ |/| | | Fix openstack init
| * | | Fix openstack initRussell Teague2017-11-162-8/+3
|/ / /
* | | Merge pull request #6039 from tomassedovic/openstack-provider-githistScott Dodson2017-11-1632-0/+3213
|\ \ \ | | | | | | | | Add the OpenStack provider
| * | | Remove an unused retry fileTomas Sedovic2017-11-071-3/+0
| | | |
| * | | Namespace the docker volumesTomas Sedovic2017-11-071-7/+7
| | | |
| * | | Fix toxTomas Sedovic2017-11-072-3/+3
| | | |
| * | | Namespace the OpenStack varsTomas Sedovic2017-11-0716-416/+418
| | | | | | | | | | | | | | | | | | | | 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-0714-333/+284
| | | | | | | | | | | | | | | | | | | | 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.
| * | | 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>