Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1540521 - Template service broker still use ose:v3.7 image after upgrade 3.7 to 3.9
Template service broker still use ose:v3.7 image after upgrade 3.7 to 3.9
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Michael Gugino
Wenjing Zheng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-31 04:52 EST by Wenjing Zheng
Modified: 2018-03-28 10:24 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:23:55 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 RHBA-2018:0489 None None None 2018-03-28 10:24 EDT

  None (edit)
Description Wenjing Zheng 2018-01-31 04:52:40 EST
Description of problem:
Template service broker still use ose:v3.7 image after upgrade from 3.7 to 3.9, but it should use ose-template-service-broker:v3.9:
[root@host-172-16-120-29 ~]# oc get po -o yaml -n openshift-template-service-broker | grep -i image
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imagePullPolicy: IfNotPresent
    imagePullSecrets:
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imageID: docker-pullable://xxxxxxxxxxx:443/openshift3/ose@sha256:5ae218f6cb9989288d43c7c0d263b1dfa2ab192a3864d68e7c38514b1bc21b83
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imagePullPolicy: IfNotPresent
    imagePullSecrets:
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imageID: docker-pullable://xxxxxxxxxxx:443/openshift3/ose@sha256:5ae218f6cb9989288d43c7c0d263b1dfa2ab192a3864d68e7c38514b1bc21b83
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imagePullPolicy: IfNotPresent
    imagePullSecrets:
      image: xxxxxxxxxxx:443/openshift3/ose:v3.7
      imageID: docker-pullable://xxxxxxxxxxx:443/openshift3/ose@sha256:5ae218f6cb9989288d43c7c0d263b1dfa2ab192a3864d68e7c38514b1bc21b83
[root@host-172-16-120-29 ~]# openshift version
openshift v3.9.0-0.34.0
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.8

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.Upgrade openshift from v3.7 to v3.9
2.Check template service broker image
3.

Actual results:
TSB still use ose:v3.7 image

Expected results:
TSB should use openshift3/ose-template-service-broker:v3.9 after upgrade.

Additional info:
This template include image name and command when start TSB: https://github.com/openshift/origin/blob/master/install/templateservicebroker/apiserver-template.yaml
Comment 1 Ben Parees 2018-02-01 23:07:48 EST
I assume we aren't doing anything to update the TSB on upgrade, will need to chat w/ Scott in the morning.
Comment 2 Michael Gugino 2018-02-27 10:12:10 EST
PR Merged: https://github.com/openshift/openshift-ansible/pull/7251
Comment 4 Wenjing Zheng 2018-03-05 04:27:31 EST
The verification is blocked by this bug now: https://bugzilla.redhat.com/show_bug.cgi?id=1547803
Comment 6 Scott Dodson 2018-03-07 16:47:27 EST
I looked at what happened in my 3.7 to 3.9 upgraded environment and it was in the same state. TSB 3.7 pod still running but the daemonset had been updated to use a 3.9 image. I then deleted the apiserver pod and it was re-created using 3.9 image.

This is a shortcoming of daemonsets, there's no way to upgrade them. The options are to either toggle labels to unschedule and then re-schedule them or to simply delete the pod and allow it to be re-created.

I discussed this with Jim Minter who originally did the TSB work and aside from a potential brief outage of TSB he indicates there's no harm in simply deleting the TSB pods. 

That's the best we can right now, we should look at migrating TSB to deployments which support rollout.


[root@ose3-master ~]# oc status -n openshift-template-service-broker
E0307 16:20:43.270947   59644 service_group.go:83] unrecognized container: DaemonSet|openshift-template-service-broker/apiserver (*nodes.DaemonSetNode)
In project openshift-template-service-broker on server https://ose3-master.example.com:8443
 
svc/apiserver - 172.30.144.6:443 -> 8443
  pod/apiserver-6zlc4 runs registry.access.redhat.com/openshift3/ose:v3.7
 
daemonset/apiserver manages registry.reg-aws.openshift.com/openshift3/ose-template-service-broker:v3.9.3
  generation #2 running for 2 months - 1 pod
 
 
1 info identified, use 'oc status -v' to see details.
 
[root@ose3-master ~]# oc delete po/apiserver-6zlc4
pod "apiserver-6zlc4" deleted
 
[root@ose3-master ~]# oc get pods
NAME              READY     STATUS        RESTARTS   AGE
apiserver-6zlc4   0/1       Terminating   3          77d
 
[root@ose3-master ~]# oc status
E0307 16:22:57.581256   60865 service_group.go:83] unrecognized container: DaemonSet|openshift-template-service-broker/apiserver (*nodes.DaemonSetNode)
In project openshift-template-service-broker on server https://ose3-master.example.com:8443
 
svc/apiserver - 172.30.144.6:443 -> 8443
  pod/apiserver-6zlc4 runs registry.access.redhat.com/openshift3/ose:v3.7
 
daemonset/apiserver manages registry.reg-aws.openshift.com/openshift3/ose-template-service-broker:v3.9.3
  generation #2 running for 2 months - 0/1 pods growing to 1
 
 
1 info identified, use 'oc status -v' to see details.
 
[root@ose3-master ~]# oc status
E0307 16:23:03.518046   61023 service_group.go:83] unrecognized container: DaemonSet|openshift-template-service-broker/apiserver (*nodes.DaemonSetNode)
In project openshift-template-service-broker on server https://ose3-master.example.com:8443
 
svc/apiserver - 172.30.144.6:443 -> 8443
  pod/apiserver-qrnff runs registry.reg-aws.openshift.com/openshift3/ose-template-service-broker:v3.9.3
 
daemonset/apiserver manages registry.reg-aws.openshift.com/openshift3/ose-template-service-broker:v3.9.3
  generation #2 running for 2 months - 0/1 pods growing to 1
Comment 7 Michael Gugino 2018-03-07 17:06:36 EST
PR Created: https://github.com/openshift/openshift-ansible/pull/7433
Comment 9 Wenjing Zheng 2018-03-09 03:19:41 EST
Verification of this bug is blocked by the new bug: https://bugzilla.redhat.com/show_bug.cgi?id=1553624
Comment 12 Wenjing Zheng 2018-03-12 05:43:34 EDT
Sorry, I found upgrade install and fresh install are using difference image prefix, the bug should be fixed.
Comment 13 Wenjing Zheng 2018-03-12 05:45:08 EDT
Please ignore comment #11. Per comment #10, moving to verified. 
$oc get pods -n openshift-template-service-broker -o yaml | grep image
      image: brew-pulp-xxxxxxxxxxxx:8888/openshift3/template-service-broker:v3.9.7
Comment 16 errata-xmlrpc 2018-03-28 10:23:55 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/RHBA-2018:0489

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