Skip to content

Commit 5337ff9

Browse files
authored
Merge pull request #66848 from bhardesty/add-operator-troubleshooting
OSDOCS-3991: Add Operator troubleshooting assembly to Operator book
2 parents 2f890fd + 679faf4 commit 5337ff9

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,6 +1758,9 @@ Topics:
17581758
- Name: Managing platform Operators
17591759
File: olm-managing-po
17601760
Distros: openshift-enterprise,openshift-origin
1761+
- Name: Troubleshooting Operator issues
1762+
File: olm-troubleshooting-operator-issues
1763+
Distros: openshift-enterprise,openshift-origin
17611764
- Name: Developing Operators
17621765
Dir: operator_sdk
17631766
Distros: openshift-origin,openshift-enterprise

_topic_maps/_topic_map_osd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ Topics:
460460
File: olm-cs-podsched
461461
# - Name: Managing platform Operators <= Tech Preview
462462
# File: olm-managing-po
463+
- Name: Troubleshooting Operator issues
464+
File: olm-troubleshooting-operator-issues
463465
- Name: Developing Operators
464466
Dir: operator_sdk
465467
Topics:

_topic_maps/_topic_map_rosa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,8 @@ Topics:
607607
File: olm-cs-podsched
608608
# - Name: Managing platform Operators <= Tech Preview
609609
# File: olm-managing-po
610+
- Name: Troubleshooting Operator issues
611+
File: olm-troubleshooting-operator-issues
610612
- Name: Developing Operators
611613
Dir: operator_sdk
612614
Topics:
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
:_content-type: ASSEMBLY
2+
[id="olm-troubleshooting-operator-issues"]
3+
= Troubleshooting Operator issues
4+
include::_attributes/common-attributes.adoc[]
5+
:context: olm-troubleshooting-operator-issues
6+
7+
// This assembly is a duplicate of support/troubleshooting-operator-issues.adoc. Most of the intro text is unnecessary in this context and has been removed.
8+
9+
toc::[]
10+
11+
If you experience Operator issues, verify Operator subscription status. Check Operator pod health across the cluster and gather Operator logs for diagnosis.
12+
13+
// Operator subscription condition types
14+
include::modules/olm-status-conditions.adoc[leveloffset=+1]
15+
[role="_additional-resources"]
16+
.Additional resources
17+
18+
* xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-cs-health_olm-understanding-olm[Catalog health requirements]
19+
20+
// Viewing Operator subscription status by using the CLI
21+
include::modules/olm-status-viewing-cli.adoc[leveloffset=+1]
22+
23+
// Viewing Operator catalog source status by using the CLI
24+
include::modules/olm-cs-status-cli.adoc[leveloffset=+1]
25+
26+
[role="_additional-resources"]
27+
.Additional resources
28+
29+
ifndef::openshift-rosa,openshift-dedicated[]
30+
* xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-catalogsource_olm-understanding-olm[Operator Lifecycle Manager concepts and resources -> Catalog source]
31+
endif::openshift-rosa,openshift-dedicated[]
32+
* gRPC documentation: link:https://grpc.github.io/grpc/core/md_doc_connectivity-semantics-and-api.html[States of Connectivity]
33+
ifndef::openshift-rosa,openshift-dedicated[]
34+
* xref:../../operators/admin/olm-managing-custom-catalogs.adoc#olm-accessing-images-private-registries_olm-managing-custom-catalogs[Accessing images for Operators from private registries]
35+
endif::openshift-rosa,openshift-dedicated[]
36+
37+
// Querying Operator Pod status
38+
include::modules/querying-operator-pod-status.adoc[leveloffset=+1]
39+
40+
// Gathering Operator logs
41+
include::modules/gathering-operator-logs.adoc[leveloffset=+1]
42+
43+
// cannot patch resource "machineconfigpools"
44+
ifndef::openshift-rosa,openshift-dedicated[]
45+
// Disabling Machine Config Operator from autorebooting
46+
include::modules/troubleshooting-disabling-autoreboot-mco.adoc[leveloffset=+1]
47+
include::modules/troubleshooting-disabling-autoreboot-mco-console.adoc[leveloffset=+2]
48+
include::modules/troubleshooting-disabling-autoreboot-mco-cli.adoc[leveloffset=+2]
49+
endif::openshift-rosa,openshift-dedicated[]
50+
51+
// Refreshing failing subscriptions
52+
// OSD/ROSA cannot delete resource "clusterserviceversions", "jobs" in API group "operators.coreos.com" in the namespace "openshift-apiserver"
53+
ifndef::openshift-rosa,openshift-dedicated[]
54+
include::modules/olm-refresh-subs.adoc[leveloffset=+1]
55+
endif::openshift-rosa,openshift-dedicated[]
56+
57+
// Reinstalling Operators after failed uninstallation
58+
// OSD/ROSA gitcannot delete resource "customresourcedefinitions"
59+
ifndef::openshift-rosa,openshift-dedicated[]
60+
include::modules/olm-reinstall.adoc[leveloffset=+1]
61+
endif::openshift-rosa,openshift-dedicated[]
62+
63+
ifndef::openshift-rosa,openshift-dedicated[]
64+
[role="_additional-resources"]
65+
.Additional resources
66+
67+
* xref:../../operators/admin/olm-deleting-operators-from-cluster.adoc#olm-deleting-operators-from-a-cluster[Deleting Operators from a cluster]
68+
* xref:../../operators/admin/olm-adding-operators-to-cluster.adoc#olm-adding-operators-to-a-cluster[Adding Operators to a cluster]
69+
endif::openshift-rosa,openshift-dedicated[]

support/troubleshooting/troubleshooting-operator-issues.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
include::_attributes/common-attributes.adoc[]
55
:context: troubleshooting-operator-issues
66

7+
// This assembly is duplicated in operators/admin/olm-troubleshooting-operator-issues.adoc.
8+
79
toc::[]
810

911
Operators are a method of packaging, deploying, and managing an {product-title} application. They act like an extension of the software vendor's engineering team, watching over an {product-title} environment and using its current state to make decisions in real time. Operators are designed to handle upgrades seamlessly, react to failures automatically, and not take shortcuts, such as skipping a software backup process to save time.

0 commit comments

Comments
 (0)