Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1395555 - Cannot scale deployment using jenkins build step and dsl step if set parameter "verifyReplicaCount: false"
Cannot scale deployment using jenkins build step and dsl step if set paramete...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image (Show other bugs)
3.4.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Gabe Montero
Wang Haoran
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-16 03:34 EST by Dongbo Yan
Modified: 2017-03-08 13 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-18 07:55:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description Dongbo Yan 2016-11-16 03:34:04 EST
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 13:43:54 EST
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 17:59:18 EST
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-16 19:16:36 EST
Thanks Troy !!!
Comment 4 Dongbo Yan 2016-11-17 01:50:45 EST
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 07:55:18 EST
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.