Skip to content

Commit 0816f60

Browse files
authored
Merge pull request #34430 from rolfedh/RHDEVDOCS-3018
RHDEVDOCS-3018 Document: [Logging 5.1]EO shouldn't try to upgrade ES …
2 parents 8a9cbf8 + 8cb7f81 commit 0816f60

File tree

1 file changed

+37
-10
lines changed

1 file changed

+37
-10
lines changed

modules/cluster-logging-log-store-status-viewing.adoc

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ status: <1>
100100
shardAllocationEnabled: all
101101
----
102102
<1> In the output, the cluster status fields appear in the `status` stanza.
103-
<2> The status of the log store:
103+
<2> The status of the log store:
104104
+
105105
* The number of active primary shards.
106-
* The number of active shards.
106+
* The number of active shards.
107107
* The number of shards that are initializing.
108108
* The number of log store data nodes.
109109
* The total number of log store nodes.
@@ -114,9 +114,9 @@ status: <1>
114114
* Container Waiting for both the log store and proxy containers.
115115
* Container Terminated for both the log store and proxy containers.
116116
* Pod unschedulable.
117-
Also, a condition is shown for a number of issues, see *Example condition messages*.
118-
<4> The log store nodes in the cluster, with `upgradeStatus`.
119-
<5> The log store client, data, and master pods in the cluster, listed under 'failed`, `notReady` or `ready` state.
117+
Also, a condition is shown for a number of issues; see *Example condition messages*.
118+
<4> The log store nodes in the cluster, with `upgradeStatus`.
119+
<5> The log store client, data, and master pods in the cluster, listed under 'failed`, `notReady`, or `ready` state.
120120

121121
[id="cluster-logging-elasticsearch-status-message_{context}"]
122122
== Example condition messages
@@ -125,7 +125,7 @@ The following are examples of some condition messages from the `Status` section
125125

126126
// https://github.com/openshift/elasticsearch-operator/pull/92
127127

128-
This status message indicates a node has exceeded the configured low watermark and no shard will be allocated to this node.
128+
The following status message indicates that a node has exceeded the configured low watermark, and no shard will be allocated to this node.
129129

130130
[source,yaml]
131131
----
@@ -142,7 +142,7 @@ status:
142142
upgradeStatus: {}
143143
----
144144

145-
This status message indicates a node has exceeded the configured high watermark and shards will be relocated to other nodes.
145+
The following status message indicates that a node has exceeded the configured high watermark, and shards will be relocated to other nodes.
146146

147147
[source,yaml]
148148
----
@@ -159,7 +159,7 @@ status:
159159
upgradeStatus: {}
160160
----
161161

162-
This status message indicates the log store node selector in the CR does not match any nodes in the cluster:
162+
The following status message indicates that the log store node selector in the CR does not match any nodes in the cluster:
163163

164164
[source,yaml]
165165
----
@@ -173,7 +173,7 @@ status:
173173
type: Unschedulable
174174
----
175175

176-
This status message indicates that the log store CR uses a non-existent PVC.
176+
The following status message indicates that the log store CR uses a non-existent persistent volume claim (PVC).
177177

178178
[source,yaml]
179179
----
@@ -187,7 +187,7 @@ status:
187187
type: Unschedulable
188188
----
189189

190-
This status message indicates that your log store cluster does not have enough nodes to support your log store redundancy policy.
190+
The following status message indicates that your log store cluster does not have enough nodes to support the redundancy policy.
191191

192192
[source,yaml]
193193
----
@@ -217,3 +217,30 @@ status:
217217
status: 'True'
218218
type: InvalidMasters
219219
----
220+
221+
222+
The following status message indicates that Elasticsearch storage does not support the change you tried to make.
223+
224+
For example:
225+
[source,yaml]
226+
----
227+
status:
228+
clusterHealth: green
229+
conditions:
230+
- lastTransitionTime: "2021-05-07T01:05:13Z"
231+
message: Changing the storage structure for a custom resource is not supported
232+
reason: StorageStructureChangeIgnored
233+
status: 'True'
234+
type: StorageStructureChangeIgnored
235+
----
236+
237+
The `reason` and `type` fields specify the type of unsupported change:
238+
239+
`StorageClassNameChangeIgnored`:: Unsupported change to the storage class name.
240+
`StorageSizeChangeIgnored`:: Unsupported change the storage size.
241+
`StorageStructureChangeIgnored`:: Unsupported change between ephemeral and persistent storage structures.
242+
+
243+
[IMPORTANT]
244+
====
245+
If you try to configure the `ClusterLogging` custom resource (CR) to switch from ephemeral to persistent storage, the OpenShift Elasticsearch Operator creates a persistent volume claim (PVC) but does not create a persistent volume (PV). To clear the `StorageStructureChangeIgnored` status, you must revert the change to the `ClusterLogging` CR and delete the PVC.
246+
====

0 commit comments

Comments
 (0)