Bug 1395555 - Cannot scale deployment using jenkins build step and dsl step if set parameter "verifyReplicaCount: false"
Summary: Cannot scale deployment using jenkins build step and dsl step if set paramete...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Gabe Montero
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 08:34 UTC by Dongbo Yan
Modified: 2017-03-08 18:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Clone Of:
Environment:
Last Closed: 2017-01-18 12:55:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description Dongbo Yan 2016-11-16 08:34:04 UTC
Description of problem:
Cannot scale deployment using jenkins build step "Scale OpenShift Deployment" and dsl step "openshiftScale" if set parameter "verifyReplicaCount: false"

Version-Release number of selected component (if applicable):
Test with
brew-pulp.../openshift3/jenkins-2-rhel7        d126876bf60a   
brew-pulp.../openshift3/jenkins-1-rhel7        dc04c4ed570b 
openshift-login    0.9
openshift-pipeline 1.0.33
openshift-sync     0.0.17

openshift v3.4.0.26+f7e109e
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

How reproducible:
Always

Steps to Reproduce:
1.Setup jenkins server and generate application under project
 $ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json
 $ oc start-build sample-pipeline
2.wait nodejs-mongodb-example app pod is ready, create pipeline job, configure pipeline scripts
node{
    stage 'build'
    openshiftScale( depCfg: 'nodejs-mongodb-example',replicaCount: '3', verbose: 'true', verifyReplicaCount: 'false')
}
3.

Actual results:
Job success,but do not scale deployment in fact

Expected results:
scale deployment successfully

Additional info:

Comment 1 Gabe Montero 2016-11-16 18:43:54 UTC
The commit https://github.com/openshift/jenkins-plugin/commit/b03f94b51855d1e82dd916690d08c1babd9bc1fe to the plugin has the fix for this.

I'll move this to on-qa once the images have been updated with 1.0.34 of the plugin.

Comment 2 Troy Dawson 2016-11-16 22:59:18 UTC
rpm built:
  jenkins-plugin-openshift-pipeline-1.0.34-1.el7
images built:
  openshift3/jenkins-1-rhel7:1.651.2-34
  openshift3/jenkins-2-rhel7:2.7-19

Comment 3 Gabe Montero 2016-11-17 00:16:36 UTC
Thanks Troy !!!

Comment 4 Dongbo Yan 2016-11-17 06:50:45 UTC
Test with
brew-pulp.../openshift3/jenkins-2-rhel7   latest              9697e3752b3f  
brew-pulp.../openshift3/jenkins-1-rhel7   latest              5730acae8c1c
openshift-login	0.9	
openshift-pipeline	1.0.34	
openshift-sync	0.0.17

openshift v3.4.0.26+f7e109e
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

Comment 6 errata-xmlrpc 2017-01-18 12:55:18 UTC
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-2017:0066


Note You need to log in before you can comment on or make changes to this bug.