summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-06Merge pull request #3570 from rhcarvalho/more-misc-cleanupJason DeTiberus
Remove lots of dead code in tests
2017-03-06Remove dummy setup/teardown methodsRodolfo Carvalho
2017-03-06Clean up test filesRodolfo Carvalho
They are not executable anymore, and tests are now meant to be run through pytest.
2017-03-06Remove commented-out test codeRodolfo Carvalho
2017-03-06Merge pull request #3535 from enj/enj/f/reserve_ns_moduleScott Dodson
Add pre-upgrade check for reserved namespaces
2017-03-06Make generic OCObjectValidator from OCSDNValidatorMonis Khan
Signed-off-by: Monis Khan <mkhan@redhat.com>
2017-03-06Merge pull request #3567 from richm/logging-needs-openshift_master_factsScott Dodson
logging needs openshift_master_facts before openshift_facts
2017-03-06Merge pull request #3382 from codificat/playbook2imageScott Dodson
Dockerfile and docs to run containerized playbooks
2017-03-06logging needs openshift_master_facts before openshift_factsRich Megginson
2017-03-06Merge pull request #3566 from detiber/testConfigsJason DeTiberus
separate out test tool configs from setup.cfg
2017-03-06separate out test tool configs from setup.cfgJason DeTiberus
Since we are moving away from setuptools for invoking tests, lets move the configs for the different test tools into their own configs.
2017-03-06Dockerfile and docs to run containerized playbooksPep Turró Mauri
Update openshift-ansible's Dockerfile to use playbook2image as a base, with the goal to run an arbitrary playbook from a container. The existing Dockerfile is moved to Dockerfile.rhel7 for the productized version and will be updated to use playbook2image later.
2017-03-06Merge pull request #3549 from kwoodson/router_shardingScott Dodson
Adding support for multiple router shards.
2017-03-06Merge pull request #3325 from kwoodson/oc_projectKenny Woodson
Adding oc_project to lib_openshift.
2017-03-06Merge pull request #3563 from rhcarvalho/misc-cleanupRodolfo Carvalho
Misc cleanup
2017-03-06Lower test coverage percentage.Kenny Woodson
2017-03-06Mock runs differntly on travis. Fix the mock test params to be ANY.Kenny Woodson
2017-03-06Fixed the none namespace. Fixed tests with latest loc_oc_binary call.Kenny Woodson
2017-03-06Updating the namespace param to None.Kenny Woodson
2017-03-06Regenerated code with latest yedit changes.Kenny Woodson
2017-03-06Fixed tests to align with new naming.Kenny Woodson
2017-03-06Fixed docs. Added check for delete failures. Updated namespace to None.Kenny Woodson
2017-03-06Fixing lintersKenny Woodson
2017-03-06Adding integration test. Fixed issue with node_selector.Kenny Woodson
2017-03-06Adding oc_project to lib_openshift.Kenny Woodson
2017-03-06Remove old commented-out testsRodolfo Carvalho
2017-03-06Remove redundant assertionRodolfo Carvalho
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.
2017-03-06Fix testRodolfo Carvalho
Instead of checking if a string is True, check if 'found' is True, the string is the error message. Also, we can remove the loop and use the simpler Python 'in' construct.
2017-03-06Lint utils/testRodolfo Carvalho
- Do not use `print` in unit tests, send messages through the test framework instead. - Remove unused import. - Add spaces around equal sign in assigment. - Turn method into a function. - Reorganize imports according to PEP8.
2017-03-06Rewrap long linesRodolfo Carvalho
2017-03-06Remove unused argumentRodolfo Carvalho
Detected by pylint. The fixture indeed doesn't require an argument.
2017-03-06Remove unused Makefile variablesRodolfo Carvalho
2017-03-03Merge pull request #3556 from dcbw/sdn-preserve-var-lib-cniScott Dodson
node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick around across node restart
2017-03-03node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick ↵Dan Williams
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
2017-03-03Merge pull request #3499 from sdodson/1422348Scott Dodson
Don't install python-ruamel-yaml
2017-03-03BZ1422348 - Don't install python-ruamel-yamlScott Dodson
Just rely on PyYAML as a fallback and hope that's there
2017-03-03Re-generate modulesScott Dodson
2017-03-03Merge pull request #3527 from joelddiaz/yedit-path-exceptionsKenny Woodson
raise exceptions when walking through object path
2017-03-03Merge pull request #3550 from ewolinetz/logging_update_metaScott Dodson
Removing the openshift_master_facts dependency
2017-03-03Merge pull request #3551 from sdodson/BZ1428532Scott Dodson
Only set ownership to etcd for thirdparty datadir
2017-03-02Only set ownership to etcd for thirdparty datadirScott Dodson
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532
2017-03-02Added ports.Kenny Woodson
2017-03-02Fixed router name to produce 2nd router.Kenny Woodson
2017-03-02Updated to work with an array of routers.Kenny Woodson
2017-03-02Adding support for router sharding.Kenny Woodson
2017-03-02Merge pull request #3548 from jcantrill/bz_1420256_again_reset_pvc_factsScott Dodson
bug 1420256. Initialize openshift_logging pvc_facts to empty
2017-03-02Removing the openshift_master_facts dependencyewolinetz
2017-03-02Merge pull request #3538 from mtnbikenc/bugfix-hosted-registryScott Dodson
Correct config for hosted registry
2017-03-02bug 1420256. Initialize openshift_logging pvc_facts to emptyJeff Cantrill
2017-03-02Add oc_adm_policy_user task cluster-role policyRussell Teague