Hide Forgot
Description of problem: Now scale a rc with dc is not supported, but when scale a rc with dc, it prompts info that the rc is scaled, in fact it doesn't. Version-Release number of selected component (if applicable): oc v3.4.0.29+ca980ba How reproducible: Always Steps to Reproduce: 1.Create rc with dc. # oc run testdc --image=aosqe/hello-openshift deploymentconfig "testdc" created # oc get pod NAME READY STATUS RESTARTS AGE testdc-1-pliqq 1/1 Running 0 15s 2.Scale the rc # oc scale rc/testdc-1 --replicas=2 replicationcontroller "testdc-1" scaled 3.Check the pod and rc. # oc get pod NAME READY STATUS RESTARTS AGE testdc-1-pliqq 1/1 Running 0 46s # oc get rc -n prozyp NAME DESIRED CURRENT READY AGE testdc-1 1 1 1 1m Actual results: 2. It prompts info that the rc is scaled. 3. The rc is not scaled and pod number is not increased. Expected results: 2.Should show proper info that the rc can not be scaled. Additional info:
seems this is the way deploymentconfig works. # oc describe rc/testdc-1 Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 1m 1m 1 {replication-controller } Normal SuccessfulCreate Created pod: testdc-1-zw6p0 24s 24s 1 {replication-controller } Normal SuccessfulCreate Created pod: testdc-1-osz0j 24s 24s 1 {replication-controller } Normal SuccessfulDelete Deleted pod: testdc-1-osz0j # oc describe dc/testdc Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 1m 1m 1 {deploymentconfig-controller } Normal DeploymentCreated Created new replication controller "testdc-1" for version 1 38s 38s 1 {deploymentconfig-controller } Normal ReplicationControllerScaled Scaled replication controller "testdc-1" from 2 to 1
*** Bug 1398502 has been marked as a duplicate of this bug. ***
This was addressed in one of the next releases.