Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1738256

Summary: samples operator needs to report degraded if imagestream imports continue to fail after 2 hours
Product: OpenShift Container Platform Reporter: Gabe Montero <gmontero>
Component: ImageStreamsAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, jokerman, wzheng, xtian
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:
Feature: Expose image import issues lasting more than 2 hours in the samples operator clusteroperator Degrading condition Reason: While there is exposure of failed imports in the Progressing condition, exposing it in Degraded provides more explicit exposure to administrators. Also, the 2 hour delay allows intall/upgrade to complete successfully, and failed imagestream import is not a condition that should fail an install/upgrade. Result: Better exposure of possible cluster substandard operation status.
Story Points: ---
Clone Of:
: 1738646 (view as bug list) Environment:
Last Closed: 2019-10-16 06:34: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:
Bug Depends On:    
Bug Blocks: 1738646    

Description Gabe Montero 2019-08-06 15:39:17 UTC
https://docs.google.com/document/d/1LopVzuX2nPVlS4IHkOsUNBuVOeAdkBQ92wkaVB2kTwU/edit#heading=h.sr1qkxck5lv0

We do have indication in progressing reason field even though it is kept at false when import failures occur.

Comment 2 XiuJuan Wang 2019-08-08 08:38:27 UTC
When ImportImageErrorsExist keeps true 2 hours later, the `Degraded` change to True.

Status:
  Conditions:
    Last Transition Time:  2019-08-08T02:46:54Z
    Message:               Samples installation successful at 4.2.0-0.nightly-2019-08-08-002434
    Status:                True
    Type:                  Available
    Last Transition Time:  2019-08-08T08:22:07Z
    Message:               Samples installation in error at 4.2.0-0.nightly-2019-08-08-002434: FailedImageImports
    Status:                True
    Type:                  Progressing
    Last Transition Time:  2019-08-08T08:22:07Z
    Message:               Samples installed at 4.2.0-0.nightly-2019-08-08-002434, with image import failures, see samples operator config object
    Status:                True
    Type:                  Degraded
  Extension:               <nil>

Check in 4.2.0-0.nightly-2019-08-08-002434 payload.

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