summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* add mux docs; allow to specify mux namespacesRich Megginson2017-05-315-15/+60
| | | | | | | | | | | This adds the necessary documentation for the mux parameters and behavior. This also adds new parameters which allow to specify the namespaces mux must create by default, and which can be optionally added. This casts openshift_logging_use_mux to bool wherever it is used as a boolean. Also - use oc_service `labels` and `external_ips` which are now available.
* Merge pull request #3941 from pgier/JMAN4-161Scott Dodson2017-05-314-0/+624
|\ | | | | [JMAN4-161] Add template for cloudforms jboss middleware manager
| * [JMAN4-161] Add templates and pv example for cloudforms jboss middleware managerPaul Gier2017-04-264-0/+624
| |
* | Merge pull request #4091 from richm/oc_service-labels-externalIPsScott Dodson2017-05-3140-248/+931
|\ \ | | | | | | add support for oc_service for labels, externalIPs
| * | add support for oc_service for labels, externalIPsRich Megginson2017-05-3040-248/+931
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for `labels` and `externalIPs` in Services This also adds support for the `labels` parameter of `oadm registry` and `oadm router` to be a `dict` of values. This also converts `labels` dict values in the router and registry classes into a comma delimited list of `key=value` pairs. The list of `--labels` is sorted for consistency in key pair positioning in the output (and for consistency in testing) - otherwise, the order of the list is not guarantee and has actually been observed to be different from run to run.
* | | Merge pull request #4225 from ingvagabund/relax-rpm-image-version-checkJan Chaloupka2017-05-311-2/+7
|\ \ \ | | | | | | | | relax check for rpm version and docker image version equality
| * | | check for rpm version and docker image version equality only if ↵Jan Chaloupka2017-05-181-2/+7
| | | | | | | | | | | | | | | | openshift_pkg_version and openshift_image_tag are not defined
* | | | Merge pull request #4272 from ashcrow/system-package-no-hardcodeOpenShift Bot2017-05-303-8/+14
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | Remove typos that got reintroducedSteve Milner2017-05-251-2/+2
| | | | |
| * | | | oc_atomic_container: Workaround for invalid json from atomic commandSteve Milner2017-05-252-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When no other containers are present and one attempts to list containers via the atomic command with the --json flag an empty string is returned. If a json.loads is used on this value an error is raised. This change adds a workaround to fall back to '[]' when an empty string is returned from the atomic containers command.
| * | | | Remove system-package=no from container-engine installSteve Milner2017-05-251-2/+0
| | | | |
| * | | | oc_atomic_container: Hard code system-package=noSteve Milner2017-05-252-2/+6
| | | | |
* | | | | Merge pull request #4299 from sdodson/boolOpenShift Bot2017-05-301-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Merged by openshift-bot
| * | | | | boolScott Dodson2017-05-261-2/+2
| | | | | |
* | | | | | Merge pull request #4298 from mwringe/metrics_imagepullpolicy_alwaysOpenShift Bot2017-05-303-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | Metrics: update the imagePullPolicy to be alwaysmwringe2017-05-263-0/+3
| | | | | | |
* | | | | | | Adding default value for openshift_hosted_logging_storage_kindewolinetz2017-05-301-4/+4
| | | | | | |
* | | | | | | Merge pull request #4280 from ewolinetz/logging_pvc_fixOpenShift Bot2017-05-301-4/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | Updating to generate PVC when storage type is passed in as nfsewolinetz2017-05-251-4/+7
| | | | | | | |
* | | | | | | | Merge pull request #4271 from DG-i/masterOpenShift Bot2017-05-302-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | | disable become for local actionsMathias Merscher2017-05-242-0/+2
| |/ / / / / / /
* | | | | | | | Merge pull request #4301 from sosiouxme/20170526-add-mem-check-fudge-factorScott Dodson2017-05-302-20/+36
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | memory check: use GiB/MiB and adjust memtotal
| * | | | | | | memory check: use GiB/MiB and adjust memtotalLuke Meyer2017-05-292-20/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes https://bugzilla.redhat.com/show_bug.cgi?id=1455884 Various things reserve memory such that memtotal is quite lower than the actual physical RAM of the system. It's larger as RAM increases but it's not really proportional so I just added a flat 1GiB adjustment in the comparison. This ought to "pass when it's close enough."
* | | | | | | | Merge pull request #4231 from ewolinetz/bz1452214Scott Dodson2017-05-301-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Updating registry-console version to be v3.6 instead of 3.6
| * | | | | | | Updating registry-console version to be v3.6 instead of 3.6ewolinetz2017-05-181-2/+2
| | | | | | | |
* | | | | | | | Merge pull request #4234 from vshn/feature/oreg_url_masternodeOpenShift Bot2017-05-266-19/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | | allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-196-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* | | | | | | | | Merge pull request #4288 from wozniakjan/logging_es_fixScott Dodson2017-05-261-4/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | openshift_logging: increasing *_elasticsearch_* default CPU and memory
| * | | | | | | | openshift_logging: increasing *_elasticsearch_* default CPU and memoryJan Wozniak2017-05-251-4/+4
| | |_|_|_|/ / / | |/| | | | | |
* | | | | | | | Merge pull request #4277 from ewolinetz/bz1455310Scott Dodson2017-05-261-1/+1
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | Updating python-passlib assert
| * | | | | | | Updating python-passlib assertewolinetz2017-05-251-1/+1
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #4161 from rhcarvalho/integrate-checks-with-installScott Dodson2017-05-257-47/+173
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Verify memory and disk requirements before install
| * | | | | | memory health check: adjust threshold for etcdLuke Meyer2017-05-232-4/+10
| | | | | | |
| * | | | | | health checks: specify check skip reasonLuke Meyer2017-05-232-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added indicator to check result for why that check was skipped. Note that currently the user will only see it with ansible-playbook -vv
| * | | | | | health checks: configure failure output in playbooksLuke Meyer2017-05-232-45/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Customized the error summary to depend on the intent of the playbook run. Ensured output makes sense when failures are unrelated to running checks.
| * | | | | | disk/memory checks: make threshold configurableLuke Meyer2017-05-234-12/+65
| | | | | | |
| * | | | | | Show help on how to disable checks after failureRodolfo Carvalho2017-05-231-0/+22
| | | | | | |
| * | | | | | Allow disabling checks via Ansible variableRodolfo Carvalho2017-05-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example usage: $ ansible-playbook -i hosts playbooks/byo/config.yml -e openshift_disable_check=memory_availability,disk_availability Or add the variable to the inventory / hosts file.
* | | | | | | Merge pull request #4242 from jarrpa/map-pairs-fixOpenShift Bot2017-05-242-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | filter_plugins: Allow for multiple pairs in map_from_pairs()Jose A. Rivera2017-05-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | | Merge pull request #4244 from jarrpa/oc_process-errOpenShift Bot2017-05-242-2/+2
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | Merged by openshift-bot
| * | | | | | | oc_process: Better error output on failed template() callJose A. Rivera2017-05-192-2/+2
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | Merge pull request #3509 from ewolinetz/logging_component_subrolesOpenShift Bot2017-05-2382-2207/+2075
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | Fixing tux warnings and some final clean upewolinetz2017-05-234-29/+35
| | | | | | | |
| * | | | | | | Appease travisScott Dodson2017-05-222-6/+6
| | | | | | | |
| * | | | | | | Add a readiness probe to the Kibana containerSteve Kuznetsov2017-05-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to ensure that the Kubernetes machinery can determine when the Kibana Pods are becoming ready, we need to add a readiness probe to the Containers that make up those pods. The Kibana readiness probe simply hits the base URL at `http://localhost:5601/` and expects a 200. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
| * | | | | | | Create logging deployments with non-zero replica countsSteve Kuznetsov2017-05-228-40/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we currently create the set of logging `DeploymentConfig`s, we create them with zero desired replicas. This causes the deployment to immediately succeed as there is no work to be done. This inhibits our ability to use nice CLI UX features like `oc rollout status` to monitor the logging stack deployments. Instead, we should can create the configs with the correct number of replicas in the first place and stop using `oc scale` to bring them up after the fact. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
| * | | | | | | Pulling changes from master branchewolinetz2017-05-229-12/+63
| | | | | | | |
| * | | | | | | Adding some missing changesewolinetz2017-05-221-1/+3
| | | | | | | |
| * | | | | | | fixing available variables for 2.3.0ewolinetz2017-05-221-0/+8
| | | | | | | |