Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵ | Kenny Woodson | 2017-03-07 | 26 | -115/+420 |
| | | | | cases. | ||||
* | Adding test_oc_adm_router. | Kenny Woodson | 2017-03-07 | 1 | -0/+476 |
| | |||||
* | Adding router test. | Kenny Woodson | 2017-03-07 | 1 | -0/+85 |
| | |||||
* | Remove dummy setup/teardown methods | Rodolfo Carvalho | 2017-03-06 | 13 | -104/+0 |
| | |||||
* | Clean up test files | Rodolfo Carvalho | 2017-03-06 | 15 | -181/+0 |
| | | | | | They are not executable anymore, and tests are now meant to be run through pytest. | ||||
* | Make generic OCObjectValidator from OCSDNValidator | Monis Khan | 2017-03-06 | 8 | -578/+1051 |
| | | | | Signed-off-by: Monis Khan <mkhan@redhat.com> | ||||
* | logging needs openshift_master_facts before openshift_facts | Rich Megginson | 2017-03-06 | 1 | -0/+1 |
| | |||||
* | Merge pull request #3549 from kwoodson/router_sharding | Scott Dodson | 2017-03-06 | 2 | -61/+54 |
|\ | | | | | Adding support for multiple router shards. | ||||
| * | Added ports. | Kenny Woodson | 2017-03-02 | 2 | -0/+6 |
| | | |||||
| * | Fixed router name to produce 2nd router. | Kenny Woodson | 2017-03-02 | 1 | -1/+1 |
| | | |||||
| * | Updated to work with an array of routers. | Kenny Woodson | 2017-03-02 | 2 | -61/+19 |
| | | |||||
| * | Adding support for router sharding. | Kenny Woodson | 2017-03-02 | 2 | -61/+90 |
| | | |||||
* | | Merge pull request #3325 from kwoodson/oc_project | Kenny Woodson | 2017-03-06 | 8 | -0/+2279 |
|\ \ | | | | | | | Adding oc_project to lib_openshift. | ||||
| * | | Mock runs differntly on travis. Fix the mock test params to be ANY. | Kenny Woodson | 2017-03-06 | 1 | -3/+2 |
| | | | |||||
| * | | Fixed the none namespace. Fixed tests with latest loc_oc_binary call. | Kenny Woodson | 2017-03-06 | 3 | -5/+10 |
| | | | |||||
| * | | Updating the namespace param to None. | Kenny Woodson | 2017-03-06 | 2 | -2/+2 |
| | | | |||||
| * | | Regenerated code with latest yedit changes. | Kenny Woodson | 2017-03-06 | 1 | -4/+11 |
| | | | |||||
| * | | Fixed tests to align with new naming. | Kenny Woodson | 2017-03-06 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed docs. Added check for delete failures. Updated namespace to None. | Kenny Woodson | 2017-03-06 | 3 | -49/+144 |
| | | | |||||
| * | | Fixing linters | Kenny Woodson | 2017-03-06 | 3 | -4/+3 |
| | | | |||||
| * | | Adding integration test. Fixed issue with node_selector. | Kenny Woodson | 2017-03-06 | 3 | -8/+97 |
| | | | |||||
| * | | Adding oc_project to lib_openshift. | Kenny Woodson | 2017-03-06 | 7 | -0/+2085 |
| | | | |||||
* | | | Remove redundant assertion | Rodolfo Carvalho | 2017-03-06 | 1 | -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 lines | Rodolfo Carvalho | 2017-03-06 | 2 | -8/+22 |
| | | | |||||
* | | | Remove unused argument | Rodolfo Carvalho | 2017-03-06 | 1 | -1/+1 |
|/ / | | | | | | | Detected by pylint. The fixture indeed doesn't require an argument. | ||||
* | | Merge pull request #3556 from dcbw/sdn-preserve-var-lib-cni | Scott Dodson | 2017-03-03 | 2 | -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 Williams | 2017-03-03 | 2 | -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-yaml | Scott Dodson | 2017-03-03 | 4 | -24/+2 |
| | | | | | | | | | | | | Just rely on PyYAML as a fallback and hope that's there | ||||
* | | | Re-generate modules | Scott Dodson | 2017-03-03 | 2 | -4/+18 |
|/ / | |||||
* | | Merge pull request #3527 from joelddiaz/yedit-path-exceptions | Kenny Woodson | 2017-03-03 | 20 | -39/+191 |
|\ \ | | | | | | | raise exceptions when walking through object path | ||||
| * | | regenerate lib_openshift with yedit exception changes | Joel Diaz | 2017-02-28 | 17 | -34/+153 |
| | | | |||||
| * | | raise exceptions when walking through object path | Joel Diaz | 2017-02-28 | 3 | -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_meta | Scott Dodson | 2017-03-03 | 1 | -1/+0 |
|\ \ \ | | | | | | | | | Removing the openshift_master_facts dependency | ||||
| * | | | Removing the openshift_master_facts dependency | ewolinetz | 2017-03-02 | 1 | -1/+0 |
| | | | | |||||
* | | | | Merge pull request #3551 from sdodson/BZ1428532 | Scott Dodson | 2017-03-03 | 1 | -1/+8 |
|\ \ \ \ | |_|_|/ |/| | | | Only set ownership to etcd for thirdparty datadir | ||||
| * | | | Only set ownership to etcd for thirdparty datadir | Scott Dodson | 2017-03-02 | 1 | -1/+8 |
| |/ / | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532 | ||||
* | | | Merge pull request #3548 from jcantrill/bz_1420256_again_reset_pvc_facts | Scott Dodson | 2017-03-02 | 2 | -18/+23 |
|\ \ \ | | | | | | | | | bug 1420256. Initialize openshift_logging pvc_facts to empty | ||||
| * | | | bug 1420256. Initialize openshift_logging pvc_facts to empty | Jeff Cantrill | 2017-03-02 | 2 | -18/+23 |
| | | | | |||||
* | | | | Add oc_adm_policy_user task cluster-role policy | Russell Teague | 2017-03-02 | 1 | -0/+7 |
| | | | | |||||
* | | | | Correct config for hosted registry | Russell Teague | 2017-03-02 | 1 | -1/+2 |
| |/ / |/| | | |||||
* | | | Merge pull request #3547 from jupierce/oadm_policy_group_patch | Scott Dodson | 2017-03-02 | 4 | -4/+4 |
|\ \ \ | | | | | | | | | Fixing checkout for bindings with -binding suffix | ||||
| * | | | Fixing checkout for bindings with -binding suffix | jupierce | 2017-03-02 | 4 | -4/+4 |
| | | | | |||||
* | | | | Merge pull request #3449 from detiber/hacky_cert_parsing | Jason DeTiberus | 2017-03-02 | 8 | -349/+289 |
|\ \ \ \ | |/ / / |/| | | | [wip] test fixes for openshift_certificates_expiry | ||||
| * | | | test fixes for openshift_certificates_expiry | Jason DeTiberus | 2017-03-02 | 8 | -349/+289 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - create pytest fixtures for building certs at runtime - update tests to use the fixtures - add tests for load_and_handle_cert - fix py2/py3 encode/decode issues raised by tests - add get_extension_count method to fakeOpenSSLCertificate - avoid using a temp file for passing ssl certificate to openssl subprocess - other test tweaks: - exclude conftest.py and tests from coverage report - reduce the fail_under to 26%, since the tests being included were inflating our coverage | ||||
* | | | | oadm_policy_group/adm_policy_user module | jupierce | 2017-03-02 | 10 | -0/+5030 |
|/ / / | |||||
* | | | Merge pull request #3475 from ashcrow/1425583 | Tim Bielawa | 2017-03-02 | 1 | -0/+19 |
|\ \ \ | |/ / |/| | | Fails Installation If Docker Version is Too Old On Atomic Host | ||||
| * | | Fail on Atomic if docker is too old | Steve Milner | 2017-03-02 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | If the docker version on a master or node is under 1.12 and the OS is an Atomic Host variant the installation should fail. Fixes: BZ1425583 | ||||
* | | | Merge pull request #3533 from kwoodson/registry_updates | Andrew Butcher | 2017-03-02 | 3 | -1/+7 |
|\ \ \ | | | | | | | | | Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic error in secure. | ||||
| * | | | Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic ↵ | Kenny Woodson | 2017-03-01 | 3 | -1/+7 |
| | | | | | | | | | | | | | | | | error in secure. | ||||
* | | | | Merge pull request #3393 from srampal/contiv | Scott Dodson | 2017-03-01 | 42 | -6/+952 |
|\ \ \ \ | | | | | | | | | | | Pull request for Contiv Ansible code integration into Openshift Ansible |