Bug 1733890

Summary: Can't fetch packagemanifests(asb,tsb,elasticsearch clusterlogging) from app regisry redhat-operators-stage
Product: OpenShift Container Platform Reporter: Cuiping HUO <chuo>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Cuiping HUO <chuo>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: anli, aos-bugs, chezhang, chuo, ecordell, eparis, jfan, jiazha, jokerman, lmeyer, piqin, shurley, sponnaga, vlaad, wsun
Version: 4.1.zKeywords: Regression
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1737586 1745273 (view as bug list) Environment:
Last Closed: 2019-10-16 06:33:51 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:
Bug Depends On:    
Bug Blocks: 1737586, 1745273    

Description Cuiping HUO 2019-07-29 06:45:27 UTC
Description of problem:
openshift redhat-operators can not be fetched from app regisry redhat-operators-stage


Version-Release number of selected component (if applicable):
OCP:4.1.8
app regisry: redhat-operators-stage

How reproducible:
Always

Actual results:
The openshift redhat-operators asb, tsb, elasticsearch, and clusterlogging could not be fetched from redhat-operators-stage. 


Expected results:

The packagemanifest can be fetched from app regisry redhat-operators-stage


Additional info:
1.oc get opsrc redhat-operators -n openshift-marketplace -o yaml
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1","kind":"OperatorSource","metadata":{"annotations":{},"labels":{"opsrc-provider":"redhat"},"name":"redhat-operators","namespace":"openshift-marketplace"},"spec":{"authorizationToken":{"secretName":"qesecret"},"displayName":"Red Hat Operators","endpoint":"https://quay.io/cnr","publisher":"Red Hat","registryNamespace":"redhat-operators-stage","type":"appregistry"}}
  creationTimestamp: "2019-07-29T05:30:16Z"
  finalizers:
  - finalizer.operatorsources.operators.coreos.com
  generation: 13
  labels:
    opsrc-provider: redhat
  name: redhat-operators
  namespace: openshift-marketplace
  resourceVersion: "62546"
  selfLink: /apis/operators.coreos.com/v1/namespaces/openshift-marketplace/operatorsources/redhat-operators
  uid: f22480ae-b1c1-11e9-aa4c-0cc47a540e5e
spec:
  authorizationToken:
    secretName: qesecret
  displayName: Red Hat Operators
  endpoint: https://quay.io/cnr
  publisher: Red Hat
  registryNamespace: redhat-operators-stage
  type: appregistry
status:
  currentPhase:
    lastTransitionTime: "2019-07-29T05:52:46Z"
    lastUpdateTime: "2019-07-29T05:52:46Z"
    phase:
      message: The object has been successfully reconciled
      name: Succeeded
  packages: amq7-cert-manager,businessautomation-operator,codeready-workspaces,datagrid,kubevirt-hyperconverged,openshiftansibleservicebroker,openshifttemplateservicebroker,amq-online,amq-streams,amq7-interconnect-operator,cluster-logging,elasticsearch-operator,jaeger-product

2.oc logs -f redhat-operators-6968b7c86b-rj2gw
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/2.0.0/kubevirt.crd.yaml into package: error unmarshaling JSON: v1alpha3 is not in dotted-tri format" dir=downloaded file=kubevirt.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=kwebui.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/2.0.0/kwebui.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=kwebui.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=node-labeller-bundles.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/2.0.0/node-labeller-bundles.crd.yaml into package: error unmarshaling JSON: v1 is not in dotted-tri format" dir=downloaded file=node-labeller-bundles.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=node-maintenance.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/2.0.0/node-maintenance.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=node-maintenance.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=template-validator.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/2.0.0/template-validator.crd.yaml into package: error unmarshaling JSON: v1 is not in dotted-tri format" dir=downloaded file=template-validator.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg=directory dir=downloaded file=4.1 load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=automationbroker.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/4.1/automationbroker.crd.yaml into package: error unmarshaling JSON: v1 is not in dotted-tri format" dir=downloaded file=automationbroker.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundle.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/4.1/bundle.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundle.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundlebindings.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/4.1/bundlebindings.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundlebindings.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundleinstances.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/4.1/bundleinstances.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundleinstances.crd.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundles
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=automationbroker.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=automationbroker.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=bundle.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundle.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=bundlebindings.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundlebindings.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=bundleinstances.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundleinstances.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=cluster-loggings.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-loggings.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=elasticsearch-operator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=elasticsearch-operator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=elasticsearches.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=elasticsearches.crd.yaml load=bundle
time="2019-07-29T05:54:20Z" level=info msg="loading bundle file" dir=downloaded file=image-references load=bundle
time="2019-07-29T05:54:20Z" level=info msg="found csv, loading bundle" dir=downloaded file=image-references load=bundle
time="2019-07-29T05:54:20Z" level=info msg="could not decode contents of file downloaded/4.1/image-references into file: error converting YAML to JSON: yaml: line 14: mapping values are not allowed in this context" dir=downloaded file=image-references load=bundle
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x10c1075]

goroutine 1 [running]:
github.com/operator-framework/operator-registry/pkg/registry.(*Bundle).Size(...)
    /go/src/github.com/operator-framework/operator-registry/pkg/registry/bundle.go:69
github.com/operator-framework/operator-registry/pkg/sqlite.(*DirectoryLoader).LoadBundleWalkFunc(0xc420627760, 0xc420513140, 0x40, 0x1751140, 0xc420d0d5f0, 0x0, 0x0, 0xc420331180, 0xc420d0d628)
    /go/src/github.com/operator-framework/operator-registry/pkg/sqlite/directory.go:113 +0x7d5
github.com/operator-framework/operator-registry/pkg/sqlite.(*DirectoryLoader).LoadBundleWalkFunc-fm(0xc420513140, 0x40, 0x1751140, 0xc420d0d5f0, 0x0, 0x0, 0x31, 0xc420907408)
    /go/src/github.com/operator-framework/operator-registry/pkg/sqlite/directory.go:50 +0x69
path/filepath.walk(0xc420513140, 0x40, 0x1751140, 0xc420d0d5f0, 0xc4209076d8, 0x0, 0x0)
    /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/path/filepath/path.go:357 +0x402
path/filepath.walk(0xc42030fb80, 0xe, 0x1751140, 0xc4204aa5b0, 0xc4209076d8, 0x0, 0x0)
    /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/path/filepath/path.go:381 +0x2c2
path/filepath.walk(0x161ab54, 0xa, 0x1751140, 0xc4208d3450, 0xc4209076d8, 0x0, 0x0)
    /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/path/filepath/path.go:381 +0x2c2
path/filepath.Walk(0x161ab54, 0xa, 0xc420ed76d8, 0x1, 0xc42077fce0)
    /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/path/filepath/path.go:403 +0x106
github.com/operator-framework/operator-registry/pkg/sqlite.(*DirectoryLoader).Populate(0xc420627760, 0xc420627760, 0x1751140)
    /go/src/github.com/operator-framework/operator-registry/pkg/sqlite/directory.go:50 +0x16e
github.com/operator-framework/operator-registry/pkg/appregistry.(*dbLoader).LoadBundleDirectoryToSQLite(0xc420482260, 0x161ab54, 0xa, 0xc420ed7828, 0x1)
    /go/src/github.com/operator-framework/operator-registry/pkg/appregistry/dbloader.go:83 +0x1d4
github.com/operator-framework/operator-registry/pkg/appregistry.(*AppregistryLoader).Load(0xc4204f1860, 0xc4202f26e0, 0x1, 0x1, 0x7ffd588531be, 0x108, 0xc42042a480, 0x0, 0xc4204f1860, 0x0)
    /go/src/github.com/operator-framework/operator-registry/pkg/appregistry/appregistry.go:123 +0x8ec
main.runCmdFunc(0xc4203ca280, 0xc420250500, 0x0, 0x4, 0x0, 0x0)
    /go/src/github.com/operator-framework/operator-registry/cmd/appregistry-server/main.go:96 +0x57e
github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra.(*Command).execute(0xc4203ca280, 0xc42003a150, 0x4, 0x4, 0xc4203ca280, 0xc42003a150)
    /go/src/github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra/command.go:762 +0x468
github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4203ca280, 0x163d94a, 0x28, 0xc4202f25e0)
    /go/src/github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4203ca280, 0x1614c43, 0x5)
    /go/src/github.com/operator-framework/operator-registry/vendor/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
    /go/src/github.com/operator-framework/operator-registry/cmd/appregistry-server/main.go:47 +0x4e9


The redhat-operator-art hit similar issue. it report error as following
1.oc get opsrc art-applications -n openshift-marketplace -o yaml
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1","kind":"OperatorSource","metadata":{"annotations":{},"name":"art-applications","namespace":"openshift-marketplace"},"spec":{"authorizationToken":{"secretName":"marketplacesecret"},"endpoint":"https://quay.io/cnr","registryNamespace":"redhat-operators-art","type":"appregistry"}}
  creationTimestamp: "2019-07-29T04:58:11Z"
  finalizers:
  - finalizer.operatorsources.operators.coreos.com
  generation: 5
  name: art-applications
  namespace: openshift-marketplace
  resourceVersion: "58850"
  selfLink: /apis/operators.coreos.com/v1/namespaces/openshift-marketplace/operatorsources/art-applications
  uid: 771c5caf-b1bd-11e9-bec7-0a46a2d2fb7e
spec:
  authorizationToken:
    secretName: marketplacesecret
  endpoint: https://quay.io/cnr
  registryNamespace: redhat-operators-art
  type: appregistry
status:
  currentPhase:
    lastTransitionTime: "2019-07-29T04:58:12Z"
    lastUpdateTime: "2019-07-29T04:58:12Z"
    phase:
      message: The object has been successfully reconciled
      name: Succeeded
  packages: openshifttemplateservicebroker,cluster-logging,elasticsearch-operator,metering,openshiftansibleservicebroker
2.oc logs -f art-applications-66d5647c9f-jnph8
time="2019-07-29T04:59:20Z" level=info msg="Using in-cluster kube client config" port=50051 type=appregistry
time="2019-07-29T04:59:20Z" level=info msg="operator source(s) specified are - [https://quay.io/cnr|redhat-operators-art|openshift-marketplace/marketplacesecret]" port=50051 type=appregistry
time="2019-07-29T04:59:20Z" level=info msg="package(s) specified are - metering,openshiftansibleservicebroker,openshifttemplateservicebroker,cluster-logging,elasticsearch-operator" port=50051 type=appregistry
time="2019-07-29T04:59:20Z" level=info msg="input has been sanitized" port=50051 type=appregistry
time="2019-07-29T04:59:20Z" level=info msg="sources: [https://quay.io/cnr/redhat-operators-art]" port=50051 type=appregistry
time="2019-07-29T04:59:20Z" level=info msg="packages: [metering openshiftansibleservicebroker openshifttemplateservicebroker cluster-logging elasticsearch-operator]" port=50051 type=appregistry
time="2019-07-29T04:59:22Z" level=info msg="resolved the following packages: [redhat-operators-art/elasticsearch-operator:151.0.0 redhat-operators-art/metering:36.0.0 redhat-operators-art/openshiftansibleservicebroker:132.0.0 redhat-operators-art/openshifttemplateservicebroker:137.0.0 redhat-operators-art/cluster-logging:140.0.0]" port=50051 type=appregistry
time="2019-07-29T04:59:22Z" level=info msg="downloading repository: redhat-operators-art/elasticsearch-operator:151.0.0 from https://quay.io/cnr" port=50051 type=appregistry
time="2019-07-29T04:59:23Z" level=info msg="downloading repository: redhat-operators-art/metering:36.0.0 from https://quay.io/cnr" port=50051 type=appregistry
time="2019-07-29T04:59:25Z" level=info msg="downloading repository: redhat-operators-art/openshiftansibleservicebroker:132.0.0 from https://quay.io/cnr" port=50051 type=appregistry
time="2019-07-29T04:59:26Z" level=info msg="downloading repository: redhat-operators-art/openshifttemplateservicebroker:137.0.0 from https://quay.io/cnr" port=50051 type=appregistry
time="2019-07-29T04:59:27Z" level=info msg="downloading repository: redhat-operators-art/cluster-logging:140.0.0 from https://quay.io/cnr" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="download complete - 5 repositories have been downloaded" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoding the downloaded operator manifest(s)" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="manifest format is - nested" port=50051 repository="redhat-operators-art/elasticsearch-operator:151.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1 - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/elasticsearch-operator.v4.1.0.clusterserviceversion.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/elasticsearches.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/image-references - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/elasticsearch-operator.package.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded successfully" port=50051 repository="redhat-operators-art/elasticsearch-operator:151.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="manifest format is - flattened" port=50051 repository="redhat-operators-art/metering:36.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded successfully" port=50051 repository="redhat-operators-art/metering:36.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="manifest format is - nested" port=50051 repository="redhat-operators-art/openshiftansibleservicebroker:132.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1 - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/automationbroker.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/bundle.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/bundlebindings.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/bundleinstances.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/image-references - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/openshiftansibleservicebroker.v4.1.0.clusterserviceversion.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/art.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/package.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded successfully" port=50051 repository="redhat-operators-art/openshiftansibleservicebroker:132.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="manifest format is - nested" port=50051 repository="redhat-operators-art/openshifttemplateservicebroker:137.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1 - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/image-references - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/openshifttemplateservicebrokeroperator.v4.1.0.clusterserviceversion.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/templateservicebroker.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/art.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/openshifttemplateservicebroker.package.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded successfully" port=50051 repository="redhat-operators-art/openshifttemplateservicebroker:137.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="manifest format is - nested" port=50051 repository="redhat-operators-art/cluster-logging:140.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1 - type=directory" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/cluster-logging.v4.1.0.clusterserviceversion.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/cluster-loggings.crd.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/4.1/image-references - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="downloaded/cluster-logging.package.yaml - type=file" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded successfully" port=50051 repository="redhat-operators-art/cluster-logging:140.0.0" type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="merging all flattened manifests into a single configmap 'data' section" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="decoded 1 flattened and 4 nested operator manifest(s)" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="loading flattened operator manifest(s) into sqlite" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="using configmap loader to build sqlite database" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="loading CRDs" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="loading Bundles" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="loading Packages" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="extracting provided API information" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="loading nested operator bundle(s) from downloaded into sqlite" port=50051 type=appregistry
time="2019-07-29T04:59:28Z" level=info msg="validating manifests" dir=downloaded
validate downloaded/4.1/automationbroker.crd.yaml
validate downloaded/4.1/bundle.crd.yaml
validate downloaded/4.1/bundlebindings.crd.yaml
validate downloaded/4.1/bundleinstances.crd.yaml
validate downloaded/4.1/cluster-logging.v4.1.0.clusterserviceversion.yaml
validate downloaded/4.1/cluster-loggings.crd.yaml
validate downloaded/4.1/elasticsearch-operator.v4.1.0.clusterserviceversion.yaml
validate downloaded/4.1/elasticsearches.crd.yaml
validate downloaded/4.1/openshiftansibleservicebroker.v4.1.0.clusterserviceversion.yaml
validate downloaded/4.1/openshifttemplateservicebrokeroperator.v4.1.0.clusterserviceversion.yaml
validate downloaded/4.1/templateservicebroker.crd.yaml
validate downloaded/art.yaml
validate downloaded/cluster-logging.package.yaml
validate downloaded/elasticsearch-operator.package.yaml
validate downloaded/openshifttemplateservicebroker.package.yaml
validate downloaded/package.yaml
time="2019-07-29T04:59:28Z" level=info msg="loading Bundles" dir=downloaded
time="2019-07-29T04:59:28Z" level=info msg=directory dir=downloaded file=downloaded load=bundles
time="2019-07-29T04:59:28Z" level=info msg=directory dir=downloaded file=4.1 load=bundles
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=automationbroker.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="could not decode contents of file downloaded/4.1/automationbroker.crd.yaml into package: error unmarshaling JSON: v1 is not in dotted-tri format" dir=downloaded file=automationbroker.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundle.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="could not decode contents of file downloaded/4.1/bundle.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundle.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundlebindings.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="could not decode contents of file downloaded/4.1/bundlebindings.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundlebindings.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundleinstances.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="could not decode contents of file downloaded/4.1/bundleinstances.crd.yaml into package: error unmarshaling JSON: v1alpha1 is not in dotted-tri format" dir=downloaded file=bundleinstances.crd.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundles
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=automationbroker.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=automationbroker.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=bundle.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundle.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=bundlebindings.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundlebindings.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=bundleinstances.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=bundleinstances.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-logging.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=cluster-loggings.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=cluster-loggings.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=elasticsearch-operator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=elasticsearch-operator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=elasticsearches.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=elasticsearches.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=image-references load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=image-references load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=openshiftansibleservicebroker.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=openshiftansibleservicebroker.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=openshifttemplateservicebrokeroperator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=openshifttemplateservicebrokeroperator.v4.1.0.clusterserviceversion.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="loading bundle file" dir=downloaded file=templateservicebroker.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=info msg="found csv, loading bundle" dir=downloaded file=templateservicebroker.crd.yaml load=bundle
time="2019-07-29T04:59:28Z" level=fatal msg="error loading manifest from remote registry - two csvs found in one bundle" port=50051 type=appregistry

Comment 2 Cuiping HUO 2019-07-30 04:53:03 UTC
*** Bug 1733889 has been marked as a duplicate of this bug. ***

Comment 12 Cuiping HUO 2019-08-26 08:56:38 UTC
Didn't find any v4.2 packagemanifest in registry redhat-operators-stage
Move back to modified.

Comment 15 Cuiping HUO 2019-08-28 10:09:05 UTC
Verified.
cluster version: 4.2.0-0.nightly-2019-08-28-004049

$ oc get opsrc -n openshift-marketplace redhat-operators -o yaml
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
  creationTimestamp: "2019-08-28T06:57:22Z"
  finalizers:
  - finalizer.operatorsources.operators.coreos.com
  generation: 4
  labels:
    opsrc-provider: redhat
  name: redhat-operators
  namespace: openshift-marketplace
  resourceVersion: "86878"
  selfLink: /apis/operators.coreos.com/v1/namespaces/openshift-marketplace/operatorsources/redhat-operators
  uid: 159ce7b8-c961-11e9-8eee-0a77b5f90b8e
spec:
  authorizationToken:
    secretName: qesecret
  displayName: Red Hat Operators
  endpoint: https://quay.io/cnr
  publisher: Red Hat
  registryNamespace: redhat-operators-stage
  type: appregistry
status:
  currentPhase:
    lastTransitionTime: "2019-08-28T06:57:23Z"
    lastUpdateTime: "2019-08-28T06:57:23Z"
    phase:
      message: The object has been successfully reconciled
      name: Succeeded
  packages: fuse-online,openshifttemplateservicebroker,datagrid,elasticsearch-operator,jaeger-product,amq-online,amq-streams,amq7-interconnect-operator,apicurito,cluster-logging,openshiftansibleservicebroker,3scale-operator,amq7-cert-manager,businessautomation-operator,codeready-workspaces,kubevirt-hyperconverged

$ oc get packagemanifest openshiftansibleservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-08-28T06:57:23Z"
  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.1.13-201908210601
    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.stage.redhat.io",
          "white_list": [".*-apb$"], "auth_type": "secret", "auth_name": "asb-registry-auth"}]}}]'
        capabilities: Seamless Upgrades
        containerImage: registry.stage.redhat.io/openshift4/ose-ansible-service-broker:v4.1.13-201908210601
        description: OpenShift Ansible Service Broker is an implementation of the
          [Open Service Broker API](https://github.com/openservicebrokerapi/servicebroker)
        olm.skipRange: '>=4.1.0 <4.1.13-201908210601'
      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.1.13-201908210601
    name: stable
  defaultChannel: stable
  packageName: openshiftansibleservicebroker

$ oc get packagemanifest openshifttemplateservicebroker -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2019-08-28T06:57:23Z"
  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.1.13-201908210601
    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: registry.stage.redhat.io/openshift4/ose-template-service-broker:v4.1.13-201908210601
        description: OpenShift Template Service Broker is an implementation of the
          [Open Service Broker API](https://github.com/openservicebrokerapi/servicebroker)
        olm.skipRange: '>=4.1.0 <4.1.13-201908210601'
      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.1.13-201908210601
    name: stable
  defaultChannel: stable
  packageName: openshifttemplateservicebroker
  provider:
    name: Red Hat, Inc.

Comment 16 errata-xmlrpc 2019-10-16 06:33:51 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-2019:2922

Comment 17 Red Hat Bugzilla 2023-09-14 05:32:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days