Skip to content

Adding pvc to lib_openshift. - #3698

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
kwoodson:oc_pvc
Mar 23, 2017
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
kwoodson:oc_pvc

Conversation

@kwoodson

Copy link
Copy Markdown
Contributor

No description provided.

@kwoodson
kwoodson requested review from abutcher, ashcrow and timlnx March 17, 2017 16:07
@kwoodson kwoodson self-assigned this Mar 17, 2017

@ashcrow ashcrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this is set but not used. Can it be dropped?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, was cruft. removed.

api_rval = oc_pvc.get()

if api_rval['returncode'] != 0:
return {'failed': True, 'msg': api_rval}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Is there a need to specify a difference between create and retrieve failure in the return or is the api_rval explicit enough?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. The api_rval should have the cmd that was run. This will denote the last command that was run.

@ashcrow

ashcrow commented Mar 20, 2017

Copy link
Copy Markdown
Member

Looks like flake8 and pylint errors here and here

@kwoodson

Copy link
Copy Markdown
Contributor Author

aos-ci-test
[test]

@kwoodson

Copy link
Copy Markdown
Contributor Author

[merge]

@kwoodson

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov, @sdodson

[ERROR] Status 'aos-ci-jenkins/OS_3.4_NOT_containerized' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.4_NOT_containerized_e2e_tests' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.4_containerized' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.4_containerized_e2e_tests' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.5_NOT_containerized' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.5_containerized' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_3.5_containerized_e2e_tests' is required but was not found on this pull request.
[ERROR] Status 'aos-ci-jenkins/OS_unit_tests' is required but was not found on this pull request.

Any assistance here?

@sdodson

sdodson commented Mar 23, 2017

Copy link
Copy Markdown
Member

Needs aos-ci-test run first.

@kwoodson

Copy link
Copy Markdown
Contributor Author

aos-ci-test

1 similar comment
@kwoodson

Copy link
Copy Markdown
Contributor Author

aos-ci-test

@kwoodson

Copy link
Copy Markdown
Contributor Author

[test]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible test up to f8fd0cb

@openshift-bot

Copy link
Copy Markdown

@openshift-bot

Copy link
Copy Markdown

@kwoodson

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov, I think this is unrelated to my PR.

[INFO] 		  1: test/extended/conformance.sh:51: `[[ -n "${LOG_DIR:-}" && -d "${LOG_DIR-}" ]]`

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@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:

    Extended.[k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that Inter-pod-Affinity is respected if not matching
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that InterPodAffinity is respected if matching
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that InterPodAffinity is respected if matching with multiple Affinities
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that NodeAffinity is respected if not matching
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that NodeSelector is respected if matching [Conformance]
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that NodeSelector is respected if not matching [Conformance]
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that a pod with an invalid NodeAffinity is rejected
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that a pod with an invalid podAffinity is rejected because of the LabelSelectorRequirement is invalid
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that embedding the JSON NodeAffinity setting as a string in the annotation value work
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that embedding the JSON PodAffinity and PodAntiAffinity setting as a string in the annotation value work
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that required NodeAffinity setting is respected if matching
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that taints-tolerations is respected if matching
    Extended.[k8s.io] SchedulerPredicates [Serial] validates that taints-tolerations is respected if not matching

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.

@kwoodson

Copy link
Copy Markdown
Contributor Author

aos-ci-test

@openshift-bot

Copy link
Copy Markdown

@sdodson

sdodson commented Mar 23, 2017

Copy link
Copy Markdown
Member

[merge]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible merge up to f8fd0cb

@openshift-bot

openshift-bot commented Mar 23, 2017 •

Copy link
Copy Markdown

@openshift-bot
openshift-bot merged commit fdd0889 into openshift:master Mar 23, 2017
@kwoodson
kwoodson deleted the oc_pvc branch September 18, 2017 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants