Bug 1369746
| Summary: | Fail to delete resource using `openShiftDeleteResourceByJsonYaml` pipeline dsl step | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | shiyang.wang <shiywang> |
| Component: | ImageStreams | Assignee: | Gabe Montero <gmontero> |
| Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | aos-bugs, bparees, jokerman, mmccomas, sdodson, tdawson, wewang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The OpenShift Pipeline Plugin for Jenkins did not properly handle permission issues when attempting to access the Route for Jenkins.
Consequence: Any of the steps or post-build actions in Jenkins jobs could fail unnecessarily with a Java stack trace citing an inability to access routes.
Fix: Add correct error handling when attempting to list routes.
Result: Jenkins jobs not longer fail unnecessarily if the token used by the OpenShift Pipeline Plugin for Jenkins to access the OpenShift API Master did not have permission to list routes.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-27 09:10:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
shiyang.wang
2016-08-24 09:55:31 UTC
OK, this particular stack trace was fixed with https://github.com/openshift/jenkins-plugin/commit/90fb270e7a14d9e27f47bc46888383f924779db0#diff-8bc5575e72911f22d92892b6b3e4c3ca That is a post v1.021 fix. So as Ben noted in IRC, we'll need to craft a new version of the plugin, followed by a new RPM for rhel, followed by a new jenkins rhel image on brew-pulp. I'll hold off on that process until I have triaged the other recently opened bugzillas. *** Bug 1369702 has been marked as a duplicate of this bug. *** brew pulp latest has v1.0.22 of the plugin QE can attempt to verify verified in openshift3/jenkins-1-rhel7 023723e2e0ff and deleted resource using `openShiftDeleteResourceByJsonYaml` pipeline successfully Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1937 |