summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PyYAML is required by openshift_facts on nodesClayton Coleman2018-01-231-0/+2
|
* Move origin-gce roles and playbooks into openshift-ansibleClayton Coleman2018-01-2349-30/+1461
| | | | | | | | | | | | | | This moves all core functionality into the openshift-ansible repo, adds the necessary equivalent entrypoint to the openshift-ansible installer image, and ensures the dynamic inventory mechanisms in openshift-ansible continue to work. Notable changes from origin-gce: * playbook extensions changed to .yml * dynamic inventory subdirectory created to prevent accidental use * use the custom entrypoint entrypoint-gcp for this image * move tasks into openshift_gcp role
* Directly select the ansible versionClayton Coleman2018-01-231-1/+1
| | | | | Also add libcloud (required for dynamic GCE lookup) and which (relied on by gcloud).
* Merge pull request #6504 from mbruzek/mbruzek-openshift-openstackRussell Teague2018-01-231-6/+8
|\ | | | | The provision_install file ends in yml not yaml! Ansible requirement …
| * Merge branch 'master' into mbruzek-openshift-openstackMatt Bruzek2018-01-18643-4016/+13638
| |\
| * | The provision_install file ends in yml not yaml! Ansible requirement ↵Matt Bruzek2017-12-151-7/+9
| | | | | | | | | | | | clarification.
* | | Automatic commit of package [openshift-ansible] release [3.9.0-0.23.0].Jenkins CD Merge Bot2018-01-232-2/+26
| | | | | | | | | | | | | | | | | | Created by command: /usr/bin/tito tag --debug --accept-auto-changelog --keep-version --debug
* | | Merge pull request #6676 from spadgett/upgrade-consoleOpenShift Merge Robot2018-01-221-25/+81
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1536924: Migrate previous asset config from master-config.yaml Copy configuration from master-config.yaml to the openshift-web-console asset config config map. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536924 TODO: - [x] Don't overwrite config map if it exists Follow on: - [ ] Remove assetConfig from master-config.yaml on upgrades to 3.9 - [ ] Warn about existing extensions that aren't migrated on upgrades /assign @sdodson /hold cc @jwforres
| * | | Migrate master-config.yaml asset configSamuel Padgett2018-01-211-25/+81
| | | | | | | | | | | | | | | | | | | | * Don't overwrite existing webconsole-config config map * Copy configuration from master-config.yaml on upgrade
* | | | Merge pull request #6716 from sosiouxme/20180112-skopeo-proxiesOpenShift Merge Robot2018-01-221-6/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. docker_image_availability: enable skopeo to use proxies Fixes https://github.com/openshift/openshift-ansible/issues/6300 and https://bugzilla.redhat.com/show_bug.cgi?id=1499358 Run skopeo via shell and add in environment variables for proxies if specified in variables.
| * | | | docker_image_availability: enable skopeo to use proxiesLuke Meyer2018-01-221-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Run skopeo via shell and add in environment variables for proxies if specified in variables.
* | | | | Merge pull request #6796 from mgugino-upstream-stage/fix-etcd-upgrade-sanityScott Dodson2018-01-221-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix etcd upgrade sanity
| * | | | | Fix etcd-upgrade sanity checksMichael Gugino2018-01-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ensures that only oo_etcd_to_config and oo_masters_to_config are checked during sanity_checks. This will prevent hosts that have not had facts gathered (such as nodes) will not be processed for correct inventory and runtime facts. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536317
* | | | | | Merge pull request #6800 from bparees/adminOpenShift Merge Robot2018-01-222-6/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. use admin credentials for tsb install operations
| * | | | | | use admin credentials for tsb install operationsBen Parees2018-01-192-6/+18
| | | | | | |
* | | | | | | Merge pull request #6533 from joelddiaz/prereqs_uninstallOpenShift Merge Robot2018-01-229-0/+113
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. allow uninstalling AWS objects created by prerequisite playbook add deprovisioners/uninstallers for objects created via playbooks/aws/openshift-cluster/prerequisites.yml specifically: security groups, vpcs, and any ssh keys introduce openshift_aws_enable_uninstall_shared_objects to protect AWS objects that would be shared in the case of multiple clusters co-existing in one AWS account. right now it protects the ssh keys, but it can/should be used to protect against deleting the shared IAM instance profile as well. default this variable to False to be on the safe side when uninstalling/deprovisioning.
| * | | | | | | allow uninstalling AWS objects created by prerequisite playbookJoel Diaz2018-01-229-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add deprovisioners/uninstallers for objects created via playbooks/aws/openshift-cluster/prerequisites.yml specifically: security groups, vpcs, and any ssh keys introduce openshift_aws_enable_uninstall_shared_objects to protect AWS objects that would be shared in the case of multiple clusters co-existing in one AWS account. right now it protects the ssh keys, but it can/should be used to protect against deleting the shared IAM instance profile as well. default this variable to False to be on the safe side when uninstalling/deprovisioning. add some documentation on using deprovisioning playbooks
* | | | | | | | Merge pull request #6814 from mgugino-upstream-stage/move-up-base-packagesOpenShift Merge Robot2018-01-226-46/+60
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Install base_packages earlier 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.
| * | | | | | | Install base_packages earlierMichael Gugino2018-01-226-46/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #6797 from sdodson/bz1523638OpenShift Merge Robot2018-01-224-4/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Adjust registry-console's prefix to be fully qualified 3 commits for easy cherry-picking into release-3.7 and release-3.6 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1523638
| * | | | | | | | Fix enterprise registry-console prefixScott Dodson2018-01-192-2/+2
| | | | | | | | |
| * | | | | | | | [release-3.7] Fix enterprise registry console image prefixScott Dodson2018-01-191-1/+1
| | | | | | | | |
| * | | | | | | | [release-3.6] Fix enterprise registry console image prefixScott Dodson2018-01-191-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #6793 from mgugino-upstream-stage/fix-master-scaleupOpenShift Merge Robot2018-01-222-10/+39
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix master scaleup This commit builds off https://github.com/openshift/openshift-ansible/pull/6784 Enables openshift-master/scaleup.yml to call prerequisites.yml as required. Also modifies some failure conditions around how scaleup plays are called to ensure inventories are better aligned with playbook behavior.
| * | | | | | | | | Fix master scaleup playMichael Gugino2018-01-192-10/+39
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow playbooks/openshift-master/scaleup.yml to call prerequisites.yml at the proper time. Related-to: https://github.com/openshift/openshift-ansible/pull/6784
* | | | | | | | | Merge pull request #6798 from nhosoi/bz1512825OpenShift Merge Robot2018-01-222-2/+2
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1512825 - add mux pod failed for Serial number 02 has already been issued According to mkhan@redhat.com, to run the "oc adm ca create-server-cert" command line with --signer-serial option, the following changes need to be made. 1. adding --overwrite=false 2. <ca.serial.txt> should contain only [0-9A-F]*. (no trailing newlines are allowed for now) This patch solves 1.
| * | | | | | | | Bug 1512825 - add mux pod failed for Serial number 02 has already been issuedNoriko Hosoi2018-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to mkhan@redhat.com, to run the "oc adm ca create-server-cert" command line with --signer-serial option, the following changes need to be made. 1. adding --overwrite=false 2. <ca.serial.txt> should contain only [0-9A-F]*. (no trailing newlines are allowed for now) This patch solves 1.
* | | | | | | | | 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
* | | | | | | | | | Merge pull request #6806 from spadgett/console-node-selectorOpenShift Merge Robot2018-01-212-3/+2
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1536262: Default console and TSB node selector to openshift_hosted_infra_selector Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536262 Fixes #6805 /kind bug /assign @sdodson @jupierce You should no longer need to set `openshift_web_console_nodeselector` when this merges. @bparees @jim-minter FYI, I switched the TSB default as well.
| * | | | | | | | | Bug 1536262: Default console and TSB node selector to ↵Samuel Padgett2018-01-212-3/+2
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openshift_hosted_infra_selector Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536262
* | | | | | | | | Merge pull request #6754 from spadgett/remove-old-console-configOpenShift Merge Robot2018-01-206-58/+12
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Remove obsolete properties from console config map Stop writing deprecated config to the console config map. /hold This can't be merged until https://github.com/openshift/origin-web-console-server/pull/20 merges. Follow on to https://github.com/openshift/openshift-ansible/pull/6730
| * | | | | | | | | Remove old console asset configSamuel Padgett2018-01-196-58/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop writing deprecated config to the console config map.
* | | | | | | | | | Merge pull request #6792 from mtnbikenc/fix-1533099Michael Gugino2018-01-201-0/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | [1533099] Add support for Amazon EC2 C5 instance types
| * | | | | | | | | | Add support for Amazon EC2 C5 instance typesRussell Teague2018-01-191-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6799 from spadgett/console-admin-kubeconfigOpenShift Merge Robot2018-01-201-2/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1536253: Pass `--config` flag on oc commands when installing console Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536253 /assign @sdodson /kind bug @jupierce cc
| * | | | | | | | | | | Bug 1536253: Pass `--config` flag on oc commands when installing consoleSamuel Padgett2018-01-191-2/+9
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536253
* | | | | | | | | | | Automatic commit of package [openshift-ansible] release [3.9.0-0.22.0].Jenkins CD Merge Bot2018-01-192-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created by command: /usr/bin/tito tag --debug --accept-auto-changelog --keep-version --debug
* | | | | | | | | | | Merge pull request #6763 from sdodson/allow-firewalld-with-overrideOpenShift Merge Robot2018-01-191-1/+4
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Allow for firewalld on atomic host Right now this is only available on fedora so guard it with openshift_enable_unsupported_configurations
| * | | | | | | | | | Allow for firewalld on atomic hostScott Dodson2018-01-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now this is only available on fedora so guard it with openshift_enable_unsupported_configurations
* | | | | | | | | | | Merge pull request #6784 from mgugino-upstream-stage/fix-node-scaleupMichael Gugino2018-01-1913-17/+43
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | Fix node scaleup plays
| * | | | | | | | | | Fix node scaleup playsMichael Gugino2018-01-1813-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, users have no way to run preqrequisites.yml on just newly added nodes during scaleup. This commit ensures only the new nodes are changed during scaleup as well as ensure prerequisites are run.
* | | | | | | | | | | Merge pull request #6691 from abutcher/oc-adm-csr-cnAndrew Butcher2018-01-192-37/+8
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use master group's ansible_ssh_user when accepting nodes.
| * | | | | | | | | | | Remove duplication in node acceptance playbook and setup master groups so ↵Andrew Butcher2018-01-162-37/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that we can use the first master's ansible_ssh_user when delegating.
* | | | | | | | | | | | Merge pull request #6794 from tomassedovic/fix-readmeMichael Gugino2018-01-191-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix OpenStack readme
| * | | | | | | | | | | | Fix OpenStack readmeTomas Sedovic2018-01-191-1/+1
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ansible-playbook command in the OpenStack readme is missing a trailing backslash after the dynamic inventory. This prevents being able to copy/paste the command into the terminal and just run it as is.
* | | | | | | | | | | | Merge pull request #6789 from vrutkovs/quick-installer-disable-upgradeOpenShift Merge Robot2018-01-192-103/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Quick installer: deprecate upgrades
| * | | | | | | | | | | Quick installer: deprecate upgradesVadim Rutkovsky2018-01-192-103/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Output a link to manual deprecate docs when `atomic-openshift-installer upgrade` is called
* | | | | | | | | | | | Merge pull request #6755 from vrutkovs/packages-containerizedScott Dodson2018-01-191-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | Use openshift_is_containerized instead of openshift_is_atomic when working with packages
| * | | | | | | | | | | Use openshift_is_containerized instead of openshift_is_atomic when ↵Vadim Rutkovsky2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | installing etcd This allows non-Atomic hosts to be used to install containerized etcd