Skip to content

Commit d0177d7

Browse files
committed
BZ2212847: Fix mustgather image name
Signed-off-by: Avital Pinnick <[email protected]>
1 parent 69bcc3a commit d0177d7

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

modules/about-must-gather.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ For example:
2727
+
2828
[source,terminal,subs="attributes+"]
2929
----
30-
$ oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{product-version}.0
30+
$ oc adm must-gather \
31+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion}
3132
----
3233
3334
* To collect the audit logs, use the `-- /usr/bin/gather_audit_logs` argument, as described in a following section.
@@ -63,5 +64,6 @@ For example:
6364

6465
[source,terminal,subs="attributes+"]
6566
----
66-
$ oc adm must-gather --run-namespace <namespace> --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{product-version}.0
67+
$ oc adm must-gather --run-namespace <namespace> \
68+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion}
6769
----

modules/gathering-data-specific-features.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ifndef::openshift-origin[]
2525
|===
2626
|Image |Purpose
2727

28-
|`registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion}`
28+
|`registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion}`
2929
|Data collection for {VirtProductName}.
3030

3131
|`registry.redhat.io/openshift-serverless-1/svls-must-gather-rhel8`
@@ -110,7 +110,7 @@ endif::from-main-support-section[]
110110
====
111111
* To collect the default `must-gather` data in addition to specific feature data, add the `--image-stream=openshift/must-gather` argument.
112112
113-
* For information on gathering data about the Custom Metrics Autoscaler, see the Additional resources section that follows.
113+
* For information on gathering data about the Custom Metrics Autoscaler, see the Additional resources section that follows.
114114
====
115115

116116
.Prerequisites
@@ -134,8 +134,8 @@ ifndef::openshift-origin[]
134134
[source,terminal,subs="attributes+"]
135135
----
136136
$ oc adm must-gather \
137-
--image-stream=openshift/must-gather \ <1>
138-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion} <2>
137+
--image-stream=openshift/must-gather \ <1>
138+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion} <2>
139139
----
140140
<1> The default {product-title} `must-gather` image
141141
<2> The must-gather image for {VirtProductName}
@@ -152,7 +152,7 @@ Logging Operator in your cluster. For OpenShift Logging, run the following comma
152152
[source,terminal]
153153
----
154154
$ oc adm must-gather --image=$(oc -n openshift-logging get deployment.apps/cluster-logging-operator \
155-
-o jsonpath='{.spec.template.spec.containers[?(@.name == "cluster-logging-operator")].image}')
155+
-o jsonpath='{.spec.template.spec.containers[?(@.name == "cluster-logging-operator")].image}')
156156
----
157157
+
158158
.Example `must-gather` output for OpenShift Logging

modules/virt-must-gather-options.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To customize the data that `must-gather` collects, you append a double dash (`--
6868
[source,terminal,subs="attributes+"]
6969
----
7070
$ oc adm must-gather \
71-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion} \
71+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion} \
7272
-- <environment_variable_1> <environment_variable_2> <script_name>
7373
----
7474

@@ -79,7 +79,7 @@ The following command collects detailed VM information for the `my-vm` VM in the
7979
[source,terminal,subs="attributes+"]
8080
----
8181
$ oc adm must-gather \
82-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion} \
82+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion} \
8383
-- NS=mynamespace VM=my-vm gather_vms_details <1>
8484
----
8585
<1> The `NS` environment variable is mandatory if you use the `VM` environment variable.
@@ -91,7 +91,7 @@ The following command collects default `must-gather` information by using a maxi
9191
[source,terminal,subs="attributes+"]
9292
----
9393
$ oc adm must-gather \
94-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion} \
94+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion} \
9595
-- PROS=3 gather
9696
----
9797

@@ -102,6 +102,6 @@ The following command collects image and image stream information from the clust
102102
[source,terminal,subs="attributes+"]
103103
----
104104
$ oc adm must-gather \
105-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion} \
105+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion} \
106106
-- gather_images
107107
----

modules/virt-using-virt-must-gather.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ The default data collection includes information about the following resources:
2121

2222
* Run the following command to collect data about {VirtProductName}:
2323
+
24-
[source,terminal]
24+
[source,terminal,subs="attributes+"]
2525
----
2626
$ oc adm must-gather --image-stream=openshift/must-gather \
27-
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v{HCOVersion}
27+
--image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:v{HCOVersion}
2828
----

0 commit comments

Comments
 (0)