Git Product home page Git Product logo

Comments (10)

jianzhangbjz avatar jianzhangbjz commented on July 28, 2024

/assign @camilamacedo86 @mvalarh

from community-operators-prod.

openshift-ci avatar openshift-ci commented on July 28, 2024

@jianzhangbjz: GitHub didn't allow me to assign the following users: camilamacedo86.

Note that only redhat-openshift-ecosystem members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @camilamacedo86 @mvalarh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from community-operators-prod.

camilamacedo86 avatar camilamacedo86 commented on July 28, 2024

Hi @jianzhangbjz,

Community operators do have not the 4.9 indexes yet. We have only a mock to not unblock you, folks. (Tue you will be able to check it)

Also, note that solutions published on 4.8 might not be on 4.9. Why? Not compatible or configure to not be via the OCP label annotations.

from community-operators-prod.

camilamacedo86 avatar camilamacedo86 commented on July 28, 2024

Hi @jianzhangbjz,

Could you please check it now? The 4.9 indexes were generated successfully.
Please, let us know if you find any issues.

from community-operators-prod.

camilamacedo86 avatar camilamacedo86 commented on July 28, 2024

Could we close this one?

from community-operators-prod.

jianzhangbjz avatar jianzhangbjz commented on July 28, 2024

@camilamacedo86 Sorry for the late reply. I check it with the latest 4.9 community index image: registry.redhat.io/redhat/community-operator-index:v4.9, but still get this issue.

mac:openshift-tests-private jianzhang$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.nightly-2021-10-25-190146   True        False         4h6m    Cluster version is 4.10.0-0.nightly-2021-10-25-190146
mac:openshift-tests-private jianzhang$ oc get catalogsource
NAME                  DISPLAY               TYPE   PUBLISHER   AGE
certified-operators   Certified Operators   grpc   Red Hat     4h20m
community-operators   Community Operators   grpc   Red Hat     4h20m
redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     4h20m
redhat-operators      Red Hat Operators     grpc   Red Hat     4h20m
mac:openshift-tests-private jianzhang$ oc get catalogsource community-operators -o yaml
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  annotations:
    operatorframework.io/managed-by: marketplace-operator
    operatorframework.io/priorityclass: system-cluster-critical
    target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
  creationTimestamp: "2021-10-27T01:25:46Z"
  generation: 1
  name: community-operators
  namespace: openshift-marketplace
  resourceVersion: "92589"
  uid: 2f200385-80db-4957-a369-efd04e86c50d
spec:
  displayName: Community Operators
  icon:
    base64data: ""
    mediatype: ""
  image: registry.redhat.io/redhat/community-operator-index:v4.9
  priority: -400
  publisher: Red Hat
  sourceType: grpc
  updateStrategy:
    registryPoll:
      interval: 10m0s
...
mac:openshift-tests-private jianzhang$ oc get pods
NAME                                    READY   STATUS    RESTARTS        AGE
certified-operators-w6hqd               1/1     Running   0               4h17m
community-operators-r9nfn               1/1     Running   0               4h17m
marketplace-operator-68fbd8d64c-c96r5   1/1     Running   2 (4h12m ago)   4h20m
redhat-marketplace-qvdbc                1/1     Running   0               4h17m
redhat-operators-v592n                  1/1     Running   0               4h17m
mac:openshift-tests-private jianzhang$ oc port-forward community-operators-r9nfn 50051
Forwarding from 127.0.0.1:50051 -> 50051
Forwarding from [::1]:50051 -> 50051
Handling connection for 50051

Still no v0.9.2, 0.9.2-clusterwide version, as follows, but in the community etcd operator source code, they are there.

mac:openshift-tests-private jianzhang$ grpcurl -plaintext -d '{"name":"etcd"}' localhost:50051 api.Registry/GetPackage
{
  "name": "etcd",
  "channels": [
    {
      "name": "alpha",
      "csvName": "etcdoperator.v0.6.1"
    },
    {
      "name": "clusterwide-alpha",
      "csvName": "etcdoperator.v0.9.4-clusterwide"
    },
    {
      "name": "singlenamespace-alpha",
      "csvName": "etcdoperator.v0.9.4"
    }
  ],
  "defaultChannelName": "singlenamespace-alpha"
}

from community-operators-prod.

jianzhangbjz avatar jianzhangbjz commented on July 28, 2024

Details info this index image:

[cloud-user@preserve-olm-env jian]$ podman inspect registry.redhat.io/redhat/redhat-operator-index:v4.9
[
    {
        "Id": "3e4d38f8fb389e371c664abff78da65a5632d8ad3793c3ef96b713c4a9ce43d2",
        "Digest": "sha256:ff791bc889e9872a02c704d9905521d7bc3086b1785d8e272f499a2090f68629",
        "RepoTags": [
            "registry.redhat.io/redhat/redhat-operator-index:v4.9"
        ],
        "RepoDigests": [
            "registry.redhat.io/redhat/redhat-operator-index@sha256:4975a736b5e17ecb762a4cd4091711858f5fc959404ada3a25eb7756bb3f69f9",
            "registry.redhat.io/redhat/redhat-operator-index@sha256:ff791bc889e9872a02c704d9905521d7bc3086b1785d8e272f499a2090f68629"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2021-10-27T06:19:25.478552817Z",
        "Config": {
            "User": "1001",
            "ExposedPorts": {
                "50051/tcp": {}
            },
            "Env": [
                "__doozer=merge",
                "BUILD_RELEASE=202110121407.p0.git.5649248.assembly.stream",
                "BUILD_VERSION=v4.8.0",
                "OS_GIT_MAJOR=4",
                "OS_GIT_MINOR=8",
                "OS_GIT_PATCH=0",
                "OS_GIT_TREE_STATE=clean",
                "OS_GIT_VERSION=4.8.0-202110121407.p0.git.5649248.assembly.stream-5649248",
                "SOURCE_GIT_TREE_STATE=clean",
                "KUBE_GIT_COMMIT=5649248e3d41134d2f0af130b5d00bcd588e7d3d",
                "KUBE_GIT_MAJOR=1",
                "KUBE_GIT_MINOR=13+",
                "KUBE_GIT_TREE_STATE=clean",
                "KUBE_GIT_VERSION=v1.13.0+5649248",
                "OS_GIT_COMMIT=5649248",
                "SOURCE_DATE_EPOCH=1633653046",
                "SOURCE_GIT_COMMIT=5649248e3d41134d2f0af130b5d00bcd588e7d3d",
                "SOURCE_GIT_TAG=5649248e3",
                "SOURCE_GIT_URL=https://github.com/openshift/operator-framework-olm",
                "GODEBUG=x509ignoreCN=0,madvdontneed=1",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "container=oci"
            ],
            "Entrypoint": [
                "/bin/opm"
            ],
            "Cmd": [
                "registry",
                "serve",
                "--database",
                "/database/index.db"
            ],
            "WorkingDir": "/registry",
            "Labels": {
                "License": "GPLv2+",
                "architecture": "x86_64",
                "build-date": "2021-10-12T17:56:46.221130",
                "com.redhat.build-host": "cpt-1008.osbs.prod.upshift.rdu2.redhat.com",
                "com.redhat.component": "operator-registry-container",
                "com.redhat.index.delivery.distribution_scope": "prod",
                "com.redhat.index.delivery.version": "v4.8",
                "com.redhat.license_terms": "https://www.redhat.com/agreements",
                "description": "This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers.",
                "distribution-scope": "public",
                "io.buildah.version": "1.16.7",
                "io.k8s.description": "This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers.",
                "io.k8s.display-name": "OpenShift Operator Registry",
                "io.openshift.build.commit.id": "5649248e3d41134d2f0af130b5d00bcd588e7d3d",
                "io.openshift.build.commit.url": "https://github.com/openshift/operator-framework-olm/commit/5649248e3d41134d2f0af130b5d00bcd588e7d3d",
                "io.openshift.build.source-location": "https://github.com/openshift/operator-framework-olm",
                "io.openshift.expose-services": "",
                "io.openshift.maintainer.component": "OLM",
                "io.openshift.maintainer.product": "OpenShift Container Platform",
                "io.openshift.tags": "openshift,base",
                "maintainer": "Odin Team \u003c[email protected]\u003e",
                "name": "openshift/ose-operator-registry",
                "operators.operatorframework.io.index.database.v1": "/database/index.db",
                "release": "202110121407.p0.git.5649248.assembly.stream",
                "summary": "Operator Registry runs in a Kubernetes or OpenShift cluster to provide operator catalog data to Operator Lifecycle Manager.",
                "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-operator-registry/images/v4.8.0-202110121407.p0.git.5649248.assembly.stream",
                "vcs-ref": "a7eb96f2e4e398868ea5b2223f3a13cddac17984",
                "vcs-type": "git",
                "vendor": "Red Hat, Inc.",
                "version": "v4.8.0"
            }
        },
        "Version": "",
        "Author": "",
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 646613240,
        "VirtualSize": 646613240,
        "GraphDriver": {
            "Name": "overlay",
            "Data": {
                "LowerDir": "/home/cloud-user/.local/share/containers/storage/overlay/5fa1e97754b9379fdfaba76a5179e7e7cca872b7587cbbcf4eef8734635bcffe/diff:/home/cloud-user/.local/share/containers/storage/overlay/fb352c448f19cd1af7b0c368a1b08d65ec7c1de64fb9d8d1a2d2d8f00b6060d0/diff:/home/cloud-user/.local/share/containers/storage/overlay/6159e4cc4460173d6c2abb41fa013b0bf062fe3ef5e0db763d0e36e08bb5ec8a/diff:/home/cloud-user/.local/share/containers/storage/overlay/44bd91cea12d241ad83db47cbbe5b11b6b17d47ac64d17097cdea877eb04c59b/diff:/home/cloud-user/.local/share/containers/storage/overlay/1733579794674bb13464023e8b7839ad924216064387c3bc9f53c33a4b3cd3c1/diff",
                "UpperDir": "/home/cloud-user/.local/share/containers/storage/overlay/edfadb147e79119cf36d6a609bfb40093d9289f8dfe44f36f1f40f3498684e3b/diff",
                "WorkDir": "/home/cloud-user/.local/share/containers/storage/overlay/edfadb147e79119cf36d6a609bfb40093d9289f8dfe44f36f1f40f3498684e3b/work"
            }
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:1733579794674bb13464023e8b7839ad924216064387c3bc9f53c33a4b3cd3c1",
                "sha256:47f871cfc125200d9264414fdf234fb7c57beea52683c16fc73a115463ed1454",
                "sha256:a22168df75f0c2d23a9fac0db57102bef28dec2a9478facf78f44daebedd30b9",
                "sha256:7e64f3b0cfaf70972a205878aa4dbc606a9fc62aa88fd7fab971d65f52000b69",
                "sha256:7ff23e9eca944847464802abc0314da9211075f04deecb8c9fbef87c255a8b0b",
                "sha256:171fab2dd3a72025f293cd8ced981f9535d7b07a5057b5b7edec4db5928777ed"
            ]
        },
        "Labels": {
            "License": "GPLv2+",
            "architecture": "x86_64",
            "build-date": "2021-10-12T17:56:46.221130",
            "com.redhat.build-host": "cpt-1008.osbs.prod.upshift.rdu2.redhat.com",
            "com.redhat.component": "operator-registry-container",
            "com.redhat.index.delivery.distribution_scope": "prod",
            "com.redhat.index.delivery.version": "v4.8",
            "com.redhat.license_terms": "https://www.redhat.com/agreements",
            "description": "This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers.",
            "distribution-scope": "public",
            "io.buildah.version": "1.16.7",
            "io.k8s.description": "This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers.",
            "io.k8s.display-name": "OpenShift Operator Registry",
            "io.openshift.build.commit.id": "5649248e3d41134d2f0af130b5d00bcd588e7d3d",
            "io.openshift.build.commit.url": "https://github.com/openshift/operator-framework-olm/commit/5649248e3d41134d2f0af130b5d00bcd588e7d3d",
            "io.openshift.build.source-location": "https://github.com/openshift/operator-framework-olm",
            "io.openshift.expose-services": "",
            "io.openshift.maintainer.component": "OLM",
            "io.openshift.maintainer.product": "OpenShift Container Platform",
            "io.openshift.tags": "openshift,base",
            "maintainer": "Odin Team \u003c[email protected]\u003e",
            "name": "openshift/ose-operator-registry",
            "operators.operatorframework.io.index.database.v1": "/database/index.db",
            "release": "202110121407.p0.git.5649248.assembly.stream",
            "summary": "Operator Registry runs in a Kubernetes or OpenShift cluster to provide operator catalog data to Operator Lifecycle Manager.",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-operator-registry/images/v4.8.0-202110121407.p0.git.5649248.assembly.stream",
            "vcs-ref": "a7eb96f2e4e398868ea5b2223f3a13cddac17984",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "v4.8.0"
        },
        "Annotations": {},
        "ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
        "User": "1001",
        "History": [
            {
                "created": "2021-09-14T16:38:14.068919073Z",
                "comment": "Imported from -"
            },
            {
                "created": "2021-09-14T16:38:33.614346Z"
            },
            {
                "created": "2021-10-12T16:45:08.154327364Z",
                "created_by": "#(imagebuilder)\nsleep 86400"
            },
            {
                "created": "2021-10-12T17:30:48.394309534Z",
                "created_by": "#(imagebuilder)\nsleep 86400"
            },
            {
                "created": "2021-10-12T18:01:25.931367735Z",
                "created_by": "#(imagebuilder)\nsleep 86400"
            },
            {
                "created": "2021-10-27T02:19:23.914830018-04:00",
                "created_by": "/bin/sh -c #(nop) LABEL operators.operatorframework.io.index.database.v1=/database/index.db",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T02:19:24.851824664-04:00",
                "created_by": "/bin/sh -c #(nop) ADD file:43bd513a1d5186851e5e6944445c944b7e71b833bc14725495f250e35c78d544 in /database/index.db ",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T02:19:24.895032959-04:00",
                "created_by": "/bin/sh -c #(nop) EXPOSE 50051",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T02:19:24.94379898-04:00",
                "created_by": "/bin/sh -c #(nop) ENTRYPOINT [\"/bin/opm\"]",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T02:19:25.002547586-04:00",
                "created_by": "/bin/sh -c #(nop) CMD [\"registry\", \"serve\", \"--database\", \"/database/index.db\"]",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T02:19:25.063393942-04:00",
                "created_by": "/bin/sh -c #(nop) LABEL com.redhat.index.delivery.version=\"v4.8\"",
                "empty_layer": true
            },
            {
                "created": "2021-10-27T06:19:25.478552817Z"
            }
        ],
        "NamesHistory": []
    }
]

from community-operators-prod.

camilamacedo86 avatar camilamacedo86 commented on July 28, 2024

Hi @jianzhangbjz,

By looking at the audit reports I can see that the following bundles are published on 4.9.
Seems like that the command used in #306 (comment) is only returning the head of channels.

from community-operators-prod.

camilamacedo86 avatar camilamacedo86 commented on July 28, 2024

Hi @jianzhangbjz,

Could you please try to use the endpoint ListBundles? It shows that the GetPackage returns PackageManifest object which only presents the head of the channel. It has been always the case and with ListBundles you can get all the bundles in an image.

Please, let me know if it will solve the problem and if we can close this one.

from community-operators-prod.

jianzhangbjz avatar jianzhangbjz commented on July 28, 2024

Hi @camilamacedo86 Yes, it works well and I can find all etcdoperator versions. Many thanks for your help! Sorry for my mistake, close it.

mac:~ jianzhang$ grpcurl -plaintext localhost:50051  api.Registry/ListBundles |grep etcdoperator -A 3
  "csvName": "etcdoperator.v0.6.1",
  "packageName": "etcd",
  "channelName": "alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:7f689b4d96172a6ee2a7b86d9ca554239e4d51b75e6235fa5a0f359a108877fb",
--
  "csvName": "etcdoperator.v0.9.0",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:a6f69bf73af305f0beabf23b10dbc76efce897468fe21308c0527bc095fd4c66",
--
  "csvName": "etcdoperator.v0.9.0",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:a6f69bf73af305f0beabf23b10dbc76efce897468fe21308c0527bc095fd4c66",
--
  "csvName": "etcdoperator.v0.9.2",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:d976e5a01b20e39c4227bca469cf6c6744e61d1140ac1d4db994154f4b451a81",
--
  "replaces": "etcdoperator.v0.9.0"
}
{
  "csvName": "etcdoperator.v0.9.2-clusterwide",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:80c4690a6c9d2cf533ee5b505e675a572f5b0f96de48e82893a3fe6cce5219be",
--
  "replaces": "etcdoperator.v0.9.0"
}
{
  "csvName": "etcdoperator.v0.9.4",
  "packageName": "etcd",
  "channelName": "singlenamespace-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:94346b5ee6149d1411b2f37f815526db3b86e62a03879337f6194428d52c336e",
--
  "replaces": "etcdoperator.v0.9.2"
}
{
  "csvName": "etcdoperator.v0.9.4-clusterwide",
  "packageName": "etcd",
  "channelName": "clusterwide-alpha",
  "bundlePath": "quay.io/openshift-community-operators/etcd@sha256:3bc855e2b0eb9950854f6e36f4d697eb424a9dbe6e331ff3cf7924a0d8e3ecab",
--
  "replaces": "etcdoperator.v0.9.2-clusterwide"
}
{
  "csvName": "flux.v0.13.4",

from community-operators-prod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.