Skip to content

Commit da1bf2e

Browse files
committed
Gathering and interpreting cv history
1 parent 9b7a7eb commit da1bf2e

File tree

4 files changed

+102
-0
lines changed

4 files changed

+102
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * updating/troubleshooting_updates/gathering-data-cluster-update.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="gathering-clusterversion-history-cli_{context}"]
7+
= Gathering ClusterVersion history using the {oc-first}
8+
9+
You can view the ClusterVersion history using the {oc-first}.
10+
11+
.Prerequisites
12+
* You have access to the cluster as a user with the `cluster-admin` role.
13+
* You have installed the {oc-first}.
14+
15+
.Procedure
16+
17+
. View the cluster update history by entering the following command:
18+
+
19+
[source,terminal]
20+
----
21+
$ oc describe clusterversions/version
22+
----
23+
+
24+
.Example output
25+
[source,terminal]
26+
----
27+
Desired:
28+
Channels:
29+
candidate-4.13
30+
candidate-4.14
31+
fast-4.13
32+
fast-4.14
33+
stable-4.13
34+
Image: quay.io/openshift-release-dev/ocp-release@sha256:a148b19231e4634196717c3597001b7d0af91bf3a887c03c444f59d9582864f4
35+
URL: https://access.redhat.com/errata/RHSA-2023:6130
36+
Version: 4.13.19
37+
History:
38+
Completion Time: 2023-11-07T20:26:04Z
39+
Image: quay.io/openshift-release-dev/ocp-release@sha256:a148b19231e4634196717c3597001b7d0af91bf3a887c03c444f59d9582864f4
40+
Started Time: 2023-11-07T19:11:36Z
41+
State: Completed
42+
Verified: true
43+
Version: 4.13.19
44+
Completion Time: 2023-10-04T18:53:29Z
45+
Image: quay.io/openshift-release-dev/ocp-release@sha256:eac141144d2ecd6cf27d24efe9209358ba516da22becc5f0abc199d25a9cfcec
46+
Started Time: 2023-10-04T17:26:31Z
47+
State: Completed
48+
Verified: true
49+
Version: 4.13.13
50+
Completion Time: 2023-09-26T14:21:43Z
51+
Image: quay.io/openshift-release-dev/ocp-release@sha256:371328736411972e9640a9b24a07be0af16880863e1c1ab8b013f9984b4ef727
52+
Started Time: 2023-09-26T14:02:33Z
53+
State: Completed
54+
Verified: false
55+
Version: 4.13.12
56+
Observed Generation: 4
57+
Version Hash: CMLl3sLq-EA=
58+
Events: <none>
59+
----
60+
61+
62+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * updating/troubleshooting_updates/gathering-data-cluster-update.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="gathering-clusterversion-history-console_{context}"]
7+
= Gathering ClusterVersion history in the {product-title} web console
8+
9+
You can view the ClusterVersion history in the {product-title} web console.
10+
11+
.Prerequisites
12+
* You have access to the cluster as a user with the `cluster-admin` role.
13+
* You have access to the {product-title} web console.
14+
15+
.Procedure
16+
17+
* From the web console, click *Administration* -> *Cluster Settings* and review the contents of the *Details* tab.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * updating/troubleshooting_updates/gathering-data-cluster-update.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="gathering-clusterversion-history_{context}"]
7+
= Gathering ClusterVersion history
8+
9+
The Cluster Version Operator (CVO) records updates made to a cluster, known as the ClusterVersion history. The entries can reveal correlation between changes in cluster behavior with potential triggers, although correlation does not imply causation.
10+
11+
[NOTE]
12+
====
13+
The initial, minor, and z-stream version updates are stored by the ClusterVersion history. However, the ClusterVersion history has a size limit. If the limit is reached, the oldest z-stream updates in previous minor versions are pruned to accommodate the limit.
14+
====
15+
16+
You can view the ClusterVersion history by using the {product-title} web console or by using the {oc-first}.
17+

updating/troubleshooting_updates/gathering-data-cluster-update.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ endif::openshift-origin[]
1515

1616
include::modules/gathering-log-data.adoc[leveloffset=+1]
1717

18+
include::modules/gathering-clusterversion-history.adoc[leveloffset=+1]
19+
20+
include::modules/gathering-clusterversion-history-console.adoc[leveloffset=+2]
21+
22+
include::modules/gathering-clusterversion-history-cli.adoc[leveloffset=+2]
23+
1824
[role="_additional-resources"]
1925
[id="additional-resources_gathering-cluster-data"]
2026
.Additional resources

0 commit comments

Comments
 (0)