summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the way policies are found. The old method was unreliable. This ↵Kenny Woodson2017-03-086-54/+5319
| | | | method searches all and matches on properties.
* enable excluders by defaultJan Chaloupka2017-03-082-2/+4
|
* ignore the docker excluder status if it is not enabled by a userJan Chaloupka2017-03-081-0/+1
|
* Fix pylint/pyflakes errors on masterScott Dodson2017-03-072-3/+4
|
* Merge pull request #3558 from ewolinetz/logging_metrics_defaultsScott Dodson2017-03-0710-24/+52
|\ | | | | Adding some more logging and metrics defaults
| * More logging fixesewolinetz2017-03-074-8/+4
| |
| * Fixing plugin, nodeselectors, and secret pull checkewolinetz2017-03-075-6/+15
| |
| * Updating metrics defaultsewolinetz2017-03-062-6/+9
| |
| * Adding some more logging defaultsewolinetz2017-03-035-11/+31
| |
* | Merge pull request #3529 from ingvagabund/upgrade-excluders-in-upgrade-onlyJan Chaloupka2017-03-0711-82/+215
|\ \ | | | | | | WIP: update excluders to latest by default, in non-upgrade scenarios do not update
| * | - update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka2017-03-0711-82/+215
| | | | | | | | | | | | | | | | | | - check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
* | | Merge pull request #3588 from mtnbikenc/docker-fixScott Dodson2017-03-071-1/+1
|\ \ \ | | | | | | | | Bug 1416156: Loosely couple docker to iptables service
| * | | Loosely couple docker to iptables serviceRussell Teague2017-03-071-1/+1
| | | |
* | | | Merge pull request #3574 from sdodson/35_sdnvalidatorScott Dodson2017-03-073-3/+21
|\ \ \ \ | |/ / / |/| | | Add oc_objectvalidator to upgrade check
| * | | Generic message directing people to contact supportScott Dodson2017-03-073-3/+21
| | | |
* | | | Merge pull request #3565 from ↵Andrew Butcher2017-03-071-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | EricMountain-1A/fix_upstream_docker_registries_order Preserve order of Docker registries
| * | | | Preserve order of Docker registriesEric Mountain2017-03-071-2/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | List of additional/blocked/insecure Docker registries was being converted to a set, thereby dropping the original order. Fixed to preserve order of the registries (this allows prioritising registries).
* / / / openshift_facts: ensure system containers deps are installedGiuseppe Scrivano2017-03-072-0/+14
|/ / / | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Remove dummy setup/teardown methodsRodolfo Carvalho2017-03-0613-104/+0
| | |
* | | Clean up test filesRodolfo Carvalho2017-03-0615-181/+0
| | | | | | | | | | | | | | | They are not executable anymore, and tests are now meant to be run through pytest.
* | | Make generic OCObjectValidator from OCSDNValidatorMonis Khan2017-03-068-578/+1051
| | | | | | | | | | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* | | logging needs openshift_master_facts before openshift_factsRich Megginson2017-03-061-0/+1
| | |
* | | Merge pull request #3549 from kwoodson/router_shardingScott Dodson2017-03-062-61/+54
|\ \ \ | | | | | | | | Adding support for multiple router shards.
| * | | Added ports.Kenny Woodson2017-03-022-0/+6
| | | |
| * | | Fixed router name to produce 2nd router.Kenny Woodson2017-03-021-1/+1
| | | |
| * | | Updated to work with an array of routers.Kenny Woodson2017-03-022-61/+19
| | | |
| * | | Adding support for router sharding.Kenny Woodson2017-03-022-61/+90
| | | |
* | | | Merge pull request #3325 from kwoodson/oc_projectKenny Woodson2017-03-068-0/+2279
|\ \ \ \ | | | | | | | | | | Adding oc_project to lib_openshift.
| * | | | Mock runs differntly on travis. Fix the mock test params to be ANY.Kenny Woodson2017-03-061-3/+2
| | | | |
| * | | | Fixed the none namespace. Fixed tests with latest loc_oc_binary call.Kenny Woodson2017-03-063-5/+10
| | | | |
| * | | | Updating the namespace param to None.Kenny Woodson2017-03-062-2/+2
| | | | |
| * | | | Regenerated code with latest yedit changes.Kenny Woodson2017-03-061-4/+11
| | | | |
| * | | | Fixed tests to align with new naming.Kenny Woodson2017-03-061-1/+1
| | | | |
| * | | | Fixed docs. Added check for delete failures. Updated namespace to None.Kenny Woodson2017-03-063-49/+144
| | | | |
| * | | | Fixing lintersKenny Woodson2017-03-063-4/+3
| | | | |
| * | | | Adding integration test. Fixed issue with node_selector.Kenny Woodson2017-03-063-8/+97
| | | | |
| * | | | Adding oc_project to lib_openshift.Kenny Woodson2017-03-067-0/+2085
| | |/ / | |/| |
* | | | Remove redundant assertionRodolfo Carvalho2017-03-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | That line is testing Python's list.count method, instead of yedit. The assertion right above is a superset of it, as it checks for equality to some expected value.
* | | | Rewrap long linesRodolfo Carvalho2017-03-062-8/+22
| | | |
* | | | Remove unused argumentRodolfo Carvalho2017-03-061-1/+1
|/ / / | | | | | | | | | Detected by pylint. The fixture indeed doesn't require an argument.
* | | Merge pull request #3556 from dcbw/sdn-preserve-var-lib-cniScott Dodson2017-03-032-2/+2
|\ \ \ | |_|/ |/| | node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick around across node restart
| * | node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick ↵Dan Williams2017-03-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around across node restart With the move to a CNI plugin, docker no longer handles IPAM, but CNI does through openshift-sdn's usage of the 'host-local' CNI IPAM plugin. That plugin stores IPAM allocations under /var/lib/cni/. If the node container gets restarted, without presreving /var/lib/cni, the IPs currently allocated to running pods get lost and on restart, openshift-sdn may allocate those IPs to new pods causing duplicate allocations. This never happened with docker because it has its own persistent IPAM store that does not get removed when docker restarts. Also because (historically) when docker restarted, all the containers died and the IP allocations were released by the daemon. Fix this by ensuring that IPAM allocations (which are tied to the life of the pod, *not* the life of the openshift-node process) persist even if the openshift-node process restarts. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1427789
* | | BZ1422348 - Don't install python-ruamel-yamlScott Dodson2017-03-034-24/+2
| | | | | | | | | | | | Just rely on PyYAML as a fallback and hope that's there
* | | Re-generate modulesScott Dodson2017-03-032-4/+18
|/ /
* | Merge pull request #3527 from joelddiaz/yedit-path-exceptionsKenny Woodson2017-03-0320-39/+191
|\ \ | | | | | | raise exceptions when walking through object path
| * | regenerate lib_openshift with yedit exception changesJoel Diaz2017-02-2817-34/+153
| | |
| * | raise exceptions when walking through object pathJoel Diaz2017-02-283-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if we're given path a.b.c and the existing object is: a: b: - item1 raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict) also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value. doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception add test cases to cover: access path that differs from existing object create new objects with an embedded list in the path create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
* | | Merge pull request #3550 from ewolinetz/logging_update_metaScott Dodson2017-03-031-1/+0
|\ \ \ | | | | | | | | Removing the openshift_master_facts dependency
| * | | Removing the openshift_master_facts dependencyewolinetz2017-03-021-1/+0
| | | |
* | | | Merge pull request #3551 from sdodson/BZ1428532Scott Dodson2017-03-031-1/+8
|\ \ \ \ | |_|_|/ |/| | | Only set ownership to etcd for thirdparty datadir