Bug 1397695
Summary: | Jenkins job displays failure while existing pods are not deployed by the latest deployment using "Scale OpenShift Deployment" jenkins dsl step | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Dongbo Yan <dyan> | ||||
Component: | ImageStreams | Assignee: | Gabe Montero <gmontero> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wang Haoran <haowang> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.4.0 | CC: | aos-bugs, jokerman, mmccomas, tdawson | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: jenkins-plugin incorrectly examined cancelled deployments
Consequence: the scale step would be marked as failed when in fact it succeeded
Fix: account for canceled deployments when determining the correction replication controller to examine
Result: the scale step now works even if the latest deployments were canceled
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-02-16 21:02:35 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: | |||||||
Attachments: |
|
Description
Dongbo Yan
2016-11-23 08:19:12 UTC
This bug has existed for a while. The canceled build is fooling the plugin when attempting to find the latest version of the replication controller. The logic should check phase/status when determining the RC to monitor. Note, even if we don't verify the replica count, we still confirm the state of the RC is complete. Commit https://github.com/openshift/jenkins-plugin/commit/2da6c4b83ea18768a77b2050732b4e6f1565ff58 addresses this issue. I'll move the bug to QA once the plugin version and images are updated. Jenkins rhel image on brew-pulp now has v1.0.37 of the plugin, which includes the fix for this. Test with brew-pulp.../openshift3/jenkins-1-rhel7 bdda1c3ed6fd brew-pulp.../openshift3/jenkins-2-rhel7 40ed5bbd7488 openshift-login 0.9 openshift-pipeline 1.0.37 openshift-sync 0.1.5 openshift v3.4.0.30+e10cc28 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 This bug was fixed with the latest OCP 3.4.0 that is already released. |