Repository navigation
Adding pvc to lib_openshift. - #3698
Conversation
ashcrow
left a comment
There was a problem hiding this comment.
One thing I'd like to see removed if it's not needed. Other than that it looks good.
| supports_check_mode=True, | ||
| ) | ||
|
|
||
| pconfig = PersistentVolumeClaimConfig(module.params['name'], |
There was a problem hiding this comment.
I see this is set but not used. Can it be dropped?
There was a problem hiding this comment.
Thanks, was cruft. removed.
| api_rval = oc_pvc.get() | ||
|
|
||
| if api_rval['returncode'] != 0: | ||
| return {'failed': True, 'msg': api_rval} |
There was a problem hiding this comment.
Question: Is there a need to specify a difference between create and retrieve failure in the return or is the api_rval explicit enough?
There was a problem hiding this comment.
Good question. The api_rval should have the cmd that was run. This will denote the last command that was run.
|
aos-ci-test |
|
[merge] |
Any assistance here? |
|
Needs aos-ci-test run first. |
|
aos-ci-test |
1 similar comment
|
aos-ci-test |
|
[test] |
|
Evaluated for openshift ansible test up to f8fd0cb |
|
f8fd0cb - State: success - All Test Contexts: aos-ci-jenkins/OS_unit_tests - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-2-unit-tests-1196/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.4_NOT_containerized, aos-ci-jenkins/OS_3.4_NOT_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_NOT_containerized,OSE_VER=3.4,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster,TargetBranch=master,nodes=openshift-ansible-slave-1199/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.4_containerized, aos-ci-jenkins/OS_3.4_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_containerized,OSE_VER=3.4,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster-containerized,TargetBranch=master,nodes=openshift-ansible-slave-1199/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.5_NOT_containerized, aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_NOT_containerized,OSE_VER=3.5,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster,TargetBranch=master,nodes=openshift-ansible-slave-1199/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.5_containerized, aos-ci-jenkins/OS_3.5_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_containerized,OSE_VER=3.5,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster-containerized,TargetBranch=master,nodes=openshift-ansible-slave-1199/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible_extended_conformance_install/63/) (Base Commit: b82f585) |
|
@stevekuznetsov, I think this is unrelated to my PR. |
|
@kwoodson the jUnit output, higher up than the log grepper you saw, should be where you are looking for errors. On that run, fourteen tests failed: Please take a look to see why and if the error is not related to this PR, create a flake issue in Origin describing the reason that those tests failed. |
|
aos-ci-test |
|
f8fd0cb - State: success - All Test Contexts: aos-ci-jenkins/OS_unit_tests - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-2-unit-tests-1204/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.4_NOT_containerized, aos-ci-jenkins/OS_3.4_NOT_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_NOT_containerized,OSE_VER=3.4,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster,TargetBranch=master,nodes=openshift-ansible-slave-1207/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.4_containerized, aos-ci-jenkins/OS_3.4_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_containerized,OSE_VER=3.4,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster-containerized,TargetBranch=master,nodes=openshift-ansible-slave-1207/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.5_NOT_containerized, aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_NOT_containerized,OSE_VER=3.5,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster,TargetBranch=master,nodes=openshift-ansible-slave-1207/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
f8fd0cb - State: success - All Test Contexts: "aos-ci-jenkins/OS_3.5_containerized, aos-ci-jenkins/OS_3.5_containerized_e2e_tests" - Logs: https://aos-ci.s3.amazonaws.com/openshift/openshift-ansible/jenkins-openshift-ansible-3-test-matrix-CONTAINERIZED=_containerized,OSE_VER=3.5,PYTHON=System-CPython-2.7,TOPOLOGY=openshift-cluster-containerized,TargetBranch=master,nodes=openshift-ansible-slave-1207/f8fd0cb8853494b8168fc73ac4bb0cdd69cc590f.txt |
|
[merge] |
|
Evaluated for openshift ansible merge up to f8fd0cb |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/87/) (Base Commit: 8751f88) |
No description provided.