Bug 1686707 - [marketplace]The csc won't update if the package is deleted in the remote registory
Summary: [marketplace]The csc won't update if the package is deleted in the remote reg...
Keywords:
Status: CLOSED DUPLICATE of bug 1686668
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.1.0
Assignee: Aravindh Puthiyaparambil
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-08 05:02 UTC by Fan Jia
Modified: 2019-03-12 14:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-08 05:13:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Fan Jia 2019-03-08 05:02:54 UTC
Description of problem:
The csc won't update if the CSC's package is deleted in remote registory.

Version-Release number of the following components:
cv:4.0.0-0.nightly-2019-03-06-074438
marketplace image:quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:77893a9582ba7b8875ed2eb4cffdb0eb9734dd38eb3342fe70a21d569fb38f76
marketplace commit:aabac93da42773f29c4230bd8b7906facc6c42f9

How reproducible:
always

Steps to Reproduce:
1.create a customer operatorsource with package like "etcd-test"
####
apiVersion: "marketplace.redhat.com/v1alpha1"
kind: "OperatorSource"
metadata:
  name: "test"
  namespace: "openshift-marketplace"
  labels:
    opsrc-provider: dddd
spec:
  type: appregistry
  endpoint: "https://quay.io/cnr"
  registryNamespace: "jfan"
  displayName: "dddd"
  publisher: "dddd"
####
2.create a csc with the package "etcd-test" from customer operatorsource
####
apiVersion: v1
items:
- apiVersion: marketplace.redhat.com/v1alpha1
  kind: CatalogSourceConfig
  metadata:
    name: mongotest
    namespace: openshift-marketplace
  spec:
    packages: etcd-test
    targetNamespace: openshift-operators
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""
####
3.delete the package "etcd-test" from the registory
4.wait for one hour

Actual results:
1.after step 4 the csc has no action

Expected results:
1.the csc should delete the package "etcd-test" from its' config, and if the csc only has this package it should be deleted.

Additional info:

Comment 1 Fan Jia 2019-03-08 05:13:39 UTC

*** This bug has been marked as a duplicate of bug 1686668 ***


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