Bug 1768765

Summary: app registry redhat-operators-art doesn't have 4.3 packagemanifest for asb and tsb
Product: OpenShift Container Platform Reporter: Cuiping HUO <chuo>
Component: ReleaseAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: Cuiping HUO <chuo>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.3.0CC: aos-bugs, chezhang, jfan, jiazha, jokerman
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:10:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cuiping HUO 2019-11-05 08:39:48 UTC
Description of problem:
app registry redhat-operators-art doesn't have 4.3 packagemanifest for asb and tsb

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-02-092336

How reproducible:
Always

Steps to Reproduce:
1. disable app registry redhat-operators
2. enable app registry redhat-operators-art
3. check asb tsb packagemanifest version

Actual results:
asb/tsb packagemanifest default channel is 4.2, stable channel version is 4.1.23-201911010309

Expected results:
asb/tsb packagemanifest should have packagemanifest for 4.3 release.

Additional info:
$ oc get opsrc -n openshift-marketplace
NAME                  TYPE          ENDPOINT              REGISTRY               DISPLAYNAME           PUBLISHER   STATUS      MESSAGE                                       AGE
redhat-operators      appregistry   https://quay.io/cnr   redhat-operators-art   Red Hat Operators     Red Hat     Succeeded   The object has been successfully reconciled   25s

$ oc get packagemanifest openshiftansibleservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-11-05T08:32:58Z"
  labels:
    catalog: redhat-operators
    catalog-namespace: openshift-marketplace
    olm-visibility: hidden
    openshift-marketplace: "true"
    opsrc-datastore: "true"
    opsrc-owner-name: redhat-operators
    opsrc-owner-namespace: openshift-marketplace
    opsrc-provider: redhat
    provider: Red Hat, Inc.
    provider-url: ""
  name: openshiftansibleservicebroker
  namespace: openshift-marketplace
  selfLink: /apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/openshiftansibleservicebroker
spec: {}
status:
  catalogSource: redhat-operators
  catalogSourceDisplayName: Red Hat Operators
  catalogSourceNamespace: openshift-marketplace
  catalogSourcePublisher: Red Hat
  channels:
  - currentCSV: openshiftansibleservicebroker.4.2.3-201910291027
...
provider:
        name: Red Hat, Inc.
      version: 4.1.23-201911010309
    name: stable
  defaultChannel: "4.2"
  packageName: openshiftansibleservicebroker
  provider:
    name: Red Hat, Inc.
$ oc get packagemanifest openshifttemplateservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-11-05T08:32:58Z"
  labels:
    catalog: redhat-operators
    catalog-namespace: openshift-marketplace
    olm-visibility: hidden
    openshift-marketplace: "true"
    opsrc-datastore: "true"
    opsrc-owner-name: redhat-operators
    opsrc-owner-namespace: openshift-marketplace
    opsrc-provider: redhat
    provider: Red Hat, Inc.
    provider-url: ""
  name: openshifttemplateservicebroker
  namespace: openshift-marketplace
  selfLink: /apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/openshifttemplateservicebroker
spec: {}
status:
  catalogSource: redhat-operators
  catalogSourceDisplayName: Red Hat Operators
  catalogSourceNamespace: openshift-marketplace
  catalogSourcePublisher: Red Hat
  channels:
  - currentCSV: openshifttemplateservicebrokeroperator.4.2.3-201910291027
...
 provider:
        name: Red Hat, Inc.
      version: 4.1.23-201911010309
    name: stable
  defaultChannel: "4.2"
  packageName: openshifttemplateservicebroker
  provider:
    name: Red Hat, Inc.

Comment 2 Cuiping HUO 2019-11-13 02:32:53 UTC
Verified.

cluster version: 4.3.0-0.nightly-2019-11-12-013930
app registry redhat-operators-art added a 4.3 channel for asb/tsb packagemanifest, the latest version is 4.3.0-201911080552

$ oc get opsrc -n openshift-marketplace
NAME                  TYPE          ENDPOINT              REGISTRY               DISPLAYNAME           PUBLISHER   STATUS      MESSAGE                                       AGE
qe-app-registry       appregistry   https://quay.io/cnr   redhat-operators-art                                     Succeeded   The object has been successfully reconciled   17h

$ oc get packagemanifest openshiftansibleservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-11-12T08:54:28Z"
  labels:
    catalog: qe-app-registry
    catalog-namespace: openshift-marketplace
    olm-visibility: hidden
    openshift-marketplace: "true"
    opsrc-datastore: "true"
    opsrc-owner-name: qe-app-registry
    opsrc-owner-namespace: openshift-marketplace
    provider: Red Hat, Inc.
    provider-url: ""
  name: openshiftansibleservicebroker
  namespace: default
  selfLink: /apis/packages.operators.coreos.com/v1/namespaces/default/packagemanifests/openshiftansibleservicebroker
spec: {}
status:
  catalogSource: qe-app-registry
  catalogSourceDisplayName: ""
  catalogSourceNamespace: openshift-marketplace
  catalogSourcePublisher: ""
  channels:
  ...
  - currentCSV: openshiftansibleservicebroker.4.3.0-201911080552
    currentCSVDesc:
      annotations:
        alm-examples: '[{"apiVersion":"osb.openshift.io/v1", "kind":"AutomationBroker",
          "metadata":{"name":"ansible-service-broker","namespace":"ansible-service-broker"},
          "spec":{"createBrokerNamespace":"false","waitForBroker":"false", "registries":
          [{"type": "rhcc", "name": "rhcc", "url": "https://registry.redhat.io", "white_list":
          [".*-apb$"], "auth_type": "secret", "auth_name": "asb-registry-auth"}]}}]'
        capabilities: Seamless Upgrades
        containerImage: image-registry.openshift-image-registry.svc:5000/openshift/ose-ansible-service-broker@sha256:afc8b8cabd04cc63bce146baf1d00695d3c8d4acc38cbb3058937412818284b5
        description: OpenShift Ansible Service Broker is an implementation of the
          [Open Service Broker API](https://github.com/openservicebrokerapi/servicebroker)
      apiservicedefinitions: {}
      customresourcedefinitions:
        owned:
        - description: An Open Service Broker supporting management of application
            bundles
          displayName: Automation Broker
          kind: AutomationBroker
          name: automationbrokers.osb.openshift.io
          version: v1
        - description: An application bundle available for deployment via Automation
            Broker
          displayName: Automation Broker Bundle
          kind: Bundle
          name: bundles.automationbroker.io
          version: v1alpha1
        - description: An application bundle binding
          displayName: Automation Broker Bundle Binding
          kind: BundleBinding
          name: bundlebindings.automationbroker.io
          version: v1alpha1
        - description: An instance of an application bundle
          displayName: Automation Broker Bundle Instance
          kind: BundleInstance
          name: bundleinstances.automationbroker.io
          version: v1alpha1
      description: |
        OpenShift Ansible Service Broker is an implementation of the [Open Service Broker API](https://github.com/openservicebrokerapi/servicebroker)
        that manages applications defined in [Ansible Playbook Bundles](https://github.com/ansibleplaybookbundle/ansible-playbook-bundle).
        Ansible Playbook Bundles (APB) are a method of defining applications via a collection of Ansible Playbooks built into a container
        with an Ansible runtime with the playbooks corresponding to a type of request specified in the
        [Open Service Broker API Specification](https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#api-overview).

        Check out the [Keynote Demo from Red Hat Summit 2017](https://youtu.be/8MCbJmZQM9c?list=PLEGSLwUsxfEh4TE2GDU4oygCB-tmShkSn&t=4732)
      displayName: OpenShift Ansible Service Broker Operator
      installModes:
      - supported: true
        type: OwnNamespace
      - supported: true
        type: SingleNamespace
      - supported: false
        type: MultiNamespace
      - supported: false
        type: AllNamespaces
      provider:
        name: Red Hat, Inc.
      version: 4.3.0-201911080552
    name: "4.3"
$ oc get packagemanifest openshifttemplateservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-11-12T08:54:28Z"
  labels:
    catalog: qe-app-registry
    catalog-namespace: openshift-marketplace
    olm-visibility: hidden
    openshift-marketplace: "true"
    opsrc-datastore: "true"
    opsrc-owner-name: qe-app-registry
    opsrc-owner-namespace: openshift-marketplace
    provider: Red Hat, Inc.
    provider-url: ""
  name: openshifttemplateservicebroker
  namespace: default
  selfLink: /apis/packages.operators.coreos.com/v1/namespaces/default/packagemanifests/openshifttemplateservicebroker
spec: {}
status:
  catalogSource: qe-app-registry
  catalogSourceDisplayName: ""
  catalogSourceNamespace: openshift-marketplace
  catalogSourcePublisher: ""
  channels:
 ...
  - currentCSV: openshifttemplateservicebrokeroperator.4.3.0-201911081022
    currentCSVDesc:
      annotations:
        alm-examples: '[{"apiVersion":"osb.openshift.io/v1","kind":"TemplateServiceBroker","metadata":{"name":"template-service-broker","namespace":"template-service-broker"},"spec":{}}]'
        capabilities: Seamless Upgrades
        containerImage: image-registry.openshift-image-registry.svc:5000/openshift/ose-template-service-broker@sha256:e79b20346de0faa6e807725ed2989de9aa3d2401a97b77c256bb8359ece316d7
        description: OpenShift Template Service Broker is an implementation of the
          [Open Service Broker API](https://github.com/openservicebrokerapi/servicebroker)
      apiservicedefinitions: {}
      customresourcedefinitions:
        owned:
        - description: An Open Service Broker supporting management of OpenShift templates.
          displayName: Template Service Broker
          kind: TemplateServiceBroker
          name: templateservicebrokers.osb.openshift.io
          version: v1
      description: |
        The OpenShift Template Service Broker implements the [Open Service Broker
        API](https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md)
        endpoints:
        - *Catalog*: returns a list of available templates as OSB API
          *Service* objects (the templates are read from one or more
          namespaces configured in the master config).
        - *Provision*: provision a given template (referred by its UID) into a
          namespace.  Under the covers, this creates a non-namespaced
          **BrokerTemplateInstance** object for the template service broker to
          store state associated with the the instantiation, as well as the
          **Secret** and **TemplateInstance** objects which are picked up by
          the **TemplateInstance** controller.  *Provision* is an asynchronous
          operation: it may return before provisioning is completed, and the
          provision status can (must) be recovered via the *Last Operation*
          endpoint (see below).
        - *Bind*: for a given template, return "credentials" exposed in any
          created ConfigMap, Secret, Service or Route object (see
          ExposeAnnotationPrefix and Base64ExposeAnnotationPrefix
          documentation).  The *Bind* call records the fact that it took
          place in the appropriate **BrokerTemplateInstance** object.
        - *Unbind*: this simply removes the metadata previously placed in the
          **BrokerTemplateInstance** object by a *Bind* call.
        - *Deprovision*: removes the objects created by the *Provision* call.
          The garbage collector removes all additional objects created by the
          **TemplateInstance** controller, hopefully transitively, as
          documented above.
        - *Last Operation*: returns the status of the previously run
          asynchronous operation.  In the template service broker, *Provision*
          is the only asynchronous operation.
      displayName: OpenShift Template Service Broker Operator
      installModes:
      - supported: true
        type: OwnNamespace
      - supported: true
        type: SingleNamespace
      - supported: false
        type: MultiNamespace
      - supported: false
        type: AllNamespaces
      provider:
        name: Red Hat, Inc.
      version: 4.3.0-201911081022
    name: "4.3"

Comment 3 Cuiping HUO 2019-11-13 02:34:32 UTC
for asb the latest version is 4.3.0-201911080552
for tsb the latest version is 4.3.0-201911081022

Comment 5 errata-xmlrpc 2020-01-23 11:10:52 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-2020:0062