Bug 1914723

Summary: SamplesTBRInaccessibleOnBoot Alert has a misspelling
Product: OpenShift Container Platform Reporter: Palash Khaire <pkhaire>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: SamplesTBRInaccessibleOnBoot Alert description has a misspelling. Consequence: Alert name might be confusing since its has a misspelleing, "boostrapped" should be "bootstrapped". Fix: Change "boostrapped" to "bootstrapped" Result: SamplesTBRInaccessibleOnBoot Alert description is correct.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:51:26 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:
Description Flags
Console Snapshot. none

Description Palash Khaire 2021-01-11 02:12:37 UTC
Created attachment 1746133 [details]
Console Snapshot.

Description of problem:  SamplesTBRInaccessibleOnBoot Alert has a misspelling.

Additional info: Using the console, there is a misspelling with the SamplesTBRInaccessibleOnBoot Alert.

"boostrapped" should be "bootstrapped".   Attaching an image for reference.

Comment 2 Yadan Pei 2021-01-14 06:51:26 UTC
# oc -n openshift-monitoring get cm prometheus-k8s-rulefiles-0 -o yaml | grep SamplesTBRInaccessibleOnBoot -A15
      - alert: SamplesTBRInaccessibleOnBoot
          message: |
            Samples operator could not access 'registry.redhat.io' during its initial installation and it bootstrapped as removed.
            If this is expected, and stems from installing in a restricted network environment, please note that if you
            plan on mirroring images associated with sample imagestreams into a registry available in your restricted
            network environment, and subsequently moving samples operator back to 'Managed' state, a list of the images
            associated with each image stream tag from the samples catalog is
            provided in the 'imagestreamtag-to-image' config map in the 'openshift-cluster-samples-operator' namespace to
            assist the mirroring process.

We can see the text was updated, verified on 4.7.0-0.nightly-2021-01-13-124141

Comment 3 Yadan Pei 2021-01-14 07:04:47 UTC
#  oc -n openshift-cluster-samples-operator get pod
NAME                                        READY   STATUS    RESTARTS   AGE
cluster-samples-operator-76f8bc5d86-vmc88   2/2     Running   0          4h2m
#  oc -n openshift-cluster-samples-operator get ep
NAME      ENDPOINTS           AGE
metrics   4h23m
# oc -n openshift-cluster-samples-operator exec -c cluster-samples-operator cluster-samples-operator-76f8bc5d86-vmc88 -- curl -k | grep openshift_samples_tbr_inaccessible_info | grep bootstrapped
# HELP openshift_samples_tbr_inaccessible_info Indicates that during its initial installation the samples operator could not access registry.redhat.io and it bootstrapped as removed.

HELP info also updated

Comment 6 errata-xmlrpc 2021-02-24 15:51:26 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.