Bug 1714969 - [Installation] DOCKER_TAG is set to floating
Summary: [Installation] DOCKER_TAG is set to floating
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.0
Assignee: Ryan Hallisey
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-29 09:55 UTC by Nelly Credi
Modified: 2019-10-22 12:33 UTC (History)
8 users (show)

Fixed In Version: hco-bundle-registry:v2.0.0-23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 12:33:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nelly Credi 2019-05-29 09:55:16 UTC
Description of problem:

DOCKER_TAG is set to floating in hco-bundle-registry

Version-Release number of selected component (if applicable):
hco-bundle-registry:v2.0.0-21


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:
due to issues with storage components versioning, DOCKER_TAG was set to floating

Expected results:
we need to know what we are deploying


Additional info:

Comment 1 Federico Simoncelli 2019-05-29 13:43:11 UTC
(In reply to Nelly Credi from comment #0)
> Actual results:
> due to issues with storage components versioning, DOCKER_TAG was set to
> floating
> 
> Expected results:
> we need to know what we are deploying

Adam does the Storage Team need to provide something here or is it entirely on the Install team?

Comment 18 Ryan Hallisey 2019-07-08 10:21:08 UTC
Correct me if I'm wrong Nelly, but this shouldn't be set to verified until we publish the images to prod.  Is there something I'm missing?

Comment 20 Ryan Hallisey 2019-07-09 12:19:45 UTC
No because 2.0.0 can refer to the latest 2.0.0 build (2.0.0-20) or the ASYNC build 2.0.1 (2.0.0-21).  We need the exact tag.

Comment 21 Ryan Hallisey 2019-07-09 12:20:58 UTC
Comment #9

(In reply to Marek Libra from comment #8)
> Please correct me, but this issue is related to QE-only. Once we release
> 2.0.0, _all_ images will be re-tagged to v2.0.0.
> If we need to spin a new version, we will release v2.0.1.

> Actually we'll release v2.0.1 only if there are CNV changes (fixes or small enhancements), if we rebuild to remediate CVEs in base images we'll release a new v2.0.0-X

Comment 22 Nelly Credi 2019-07-10 13:49:50 UTC
so iiuc we should be using 2.0.0 tag for the published images,
and if we will have a zstream it will switch to 2.0.1
is my understanding correct?

Comment 23 Ryan Hallisey 2019-07-10 14:42:47 UTC
I didn't explain it well in comment #20.  We shouldn't be using the 2.0.0 tag for published images because 2.0.0 can refer to multiple image after we release and we won't know which one.  For example, if there is a CVE on 2.0.0, there's no way for a customer to determine if they have the CVE fixed or not because a new 2.0.0 build will bump the build number from 2.0.0-30 to 2.0.0-31, which both can be pulled by 2.0.0 depending on when they are pulled.  Same goes for z-stream releases.

Comment 24 Nelly Credi 2019-07-17 12:25:57 UTC
ok, moving back to ON QA
we will verify once published

Comment 25 Irina Gulina 2019-07-26 12:42:41 UTC
CSVs contain desired tags. 

On install, : 

$ oc describe catalogsource hco-catalogsource -n openshift-operator-lifecycle-manager
Name:         hco-catalogsource
Namespace:    openshift-operator-lifecycle-manager
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"operators.coreos.com/v1alpha1","kind":"CatalogSource","metadata":{"annotations":{},"imagePullPolicy":"Always","name":"hco-catalogsource"...
API Version:  operators.coreos.com/v1alpha1
Kind:         CatalogSource
Metadata:
  Creation Timestamp:  2019-07-25T13:53:09Z
  Generation:          1
  Resource Version:    21208
  Self Link:           /apis/operators.coreos.com/v1alpha1/namespaces/openshift-operator-lifecycle-manager/catalogsources/hco-catalogsource
  UID:                 8934248e-aee3-11e9-be3d-fa163e79a734
Spec:
  Display Name:  KubeVirt HyperConverged
  Image:         registry.redhat.io/container-native-virtualization/hco-bundle-registry:v2.0.0
  Publisher:     Red Hat
  Source Type:   grpc
Status:
  Last Sync:  2019-07-25T13:53:29Z
  Registry Service:
    Created At:         2019-07-25T13:53:29Z
    Port:               50051
    Protocol:           grpc
    Service Name:       hco-catalogsource
    Service Namespace:  openshift-operator-lifecycle-manager
Events:                 <none>

$ for i in $(oc get pods -n kubevirt-hyperconverged --no-headers -o custom-columns=:metadata.name); do oc describe pod $1 -n kubevirt-hyperconverged; done | awk -F '/' '/Image:/ {print $NF}' | sort -u
cluster-network-addons-operator:v2.0.0-16
hyperconverged-cluster-operator:v2.0.0-32
kubevirt-cpu-model-nfd-plugin:v2.0.0-10
kubevirt-cpu-node-labeller:v2.0.0-7
kubevirt-kvm-info-nfd-plugin:v2.0.0-6
kubevirt-ssp-operator:v2.0.0-26
kubevirt-template-validator:v2.0.0-8
kubevirt-web-ui-operator:v2.0.0-22
node-maintenance-operator:v2.0.0-6
virt-api:v2.0.0-39
virt-cdi-apiserver:v2.0.0-27
virt-cdi-controller:v2.0.0-27
virt-cdi-operator:v2.0.0-27
virt-cdi-uploadproxy:v2.0.0-27
virt-controller:v2.0.0-39
virt-handler:v2.0.0-39
virt-launcher:v2.0.0-39
virt-operator:v2.0.0-39


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