Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1313158 - Only the first deployment of router could be successful
Only the first deployment of router could be successful
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Deployments (Show other bugs)
3.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Michail Kargakis
Gaoyun Pei
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-01 01:35 EST by Gaoyun Pei
Modified: 2016-05-12 12:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-12 12:30:48 EDT
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 RHSA-2016:1064 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 16:19:17 EDT

  None (edit)
Description Gaoyun Pei 2016-03-01 01:35:10 EST
Description of problem:
In an ose-3.2 env, router service is created during installation, when try to deploy router again, the second attempt is failing with error message:
I0229 22:07:59.524961       1 deployer.go:201] Deploying from default/router-1 to default/router-3 (replicas: 1)
I0229 22:08:00.634903       1 rolling.go:228] RollingUpdater: Continuing update with existing controller router-3.
F0229 22:08:00.634955       1 deployer.go:69] one of maxSurge or maxUnavailable must be specified

Version-Release number of selected component (if applicable):
openshift v3.1.1.908
kubernetes v1.2.0-alpha.7-703-gbc4550d
etcd 2.2.5


How reproducible:
Always

Steps to Reproduce:
1.[root@openshift-137 ~]# oc get pod
NAME                      READY     STATUS    RESTARTS   AGE
router-1-f2d9z            1/1       Running   0          3m
[root@openshift-137 ~]# oc get dc router -o yaml
...
spec:
  replicas: 1
  selector:
    router: router
  strategy:
    resources: {}
    rollingParams:
      intervalSeconds: 1
      maxSurge: 0
      maxUnavailable: 25%
      timeoutSeconds: 600
      updatePercent: -25
      updatePeriodSeconds: 1
    type: Rolling
...

2. [root@openshift-137 ~]# oc deploy router --latest
Started deployment #2
[root@openshift-137 ~]# oc get pod
NAME                      READY     STATUS    RESTARTS   AGE
router-1-f2d9z            1/1       Running   0          6m
router-2-deploy           0/1       Error     0          10s
[root@openshift-137 ~]# oc logs router-2-deploy
I0229 21:59:01.994987       1 deployer.go:201] Deploying from default/router-1 to default/router-2 (replicas: 1)
I0229 21:59:03.100406       1 rolling.go:228] RollingUpdater: Continuing update with existing controller router-2.
F0229 21:59:03.138800       1 deployer.go:69] one of maxSurge or maxUnavailable must be specified
[root@openshift-137 ~]# oc get rc
CONTROLLER          CONTAINER(S)   IMAGE(S)                                                               SELECTOR                                                                                REPLICAS   AGE
router-1            router         registry.x.x.com/openshift3/ose-haproxy-router:v3.1.1.908    deployment=router-1,deploymentconfig=router,router=router                               1          14m
router-2            router         registry.x.x.com/openshift3/ose-haproxy-router:v3.1.1.908    deployment=router-2,deploymentconfig=router,router=router                               0          1m


Actual results:


Expected results:
The redeployment should be successful

Additional info:
Comment 1 Paul Weil 2016-03-01 08:36:56 EST
same as https://github.com/openshift/origin/issues/7700
Comment 2 Gaoyun Pei 2016-03-08 00:17:55 EST
QE will verify this bug once related PR https://github.com/openshift/origin/pull/7796 merged into ose.

Thanks!
Comment 3 Troy Dawson 2016-03-09 15:37:27 EST
Should be in v3.2.0.1 built today.
Comment 4 Gaoyun Pei 2016-03-09 21:50:27 EST
Verify this with openshift v3.2.0.1

Deploy router for more times, the deployer is working well, new router pod would be created successfully.
Comment 6 errata-xmlrpc 2016-05-12 12:30:48 EDT
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/RHSA-2016:1064

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