Skip to content

Comments

chore: add trouble shooting for system cluster status error#276

Merged
medcl merged 1 commit intomainfrom
add_trubleshoot
Jan 15, 2026
Merged

chore: add trouble shooting for system cluster status error#276
medcl merged 1 commit intomainfrom
add_trubleshoot

Conversation

@luohoufu
Copy link
Contributor

What does this PR do

Rationale for this change

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

Copilot AI review requested due to automatic review settings January 15, 2026 03:59
@medcl medcl merged commit c15b3b6 into main Jan 15, 2026
13 checks passed
@medcl medcl deleted the add_trubleshoot branch January 15, 2026 04:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds troubleshooting documentation for a system cluster status error that occurs in INFINI Console versions 1.29.0 and 1.29.1. The documentation is provided in both English and Chinese, and includes a screenshot and a solution using an Elasticsearch update query.

Changes:

  • Added troubleshooting documentation for system cluster status display issue
  • Added screenshot illustrating the problem
  • Updated feature list in English documentation index

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.

File Description
docs/static/img/troubleshooting/cluster_unavilabe.png Screenshot showing the cluster unavailable error (note: filename has spelling error)
docs/content.zh/docs/troubleshooting/_index.md Chinese troubleshooting documentation with solution script
docs/content.en/docs/troubleshooting/_index.md English troubleshooting documentation with solution script
docs/content.en/docs/_index.md Updated feature list with version support details

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


### System cluster status shows as unavailable
as shown below:
{{% load-img "/img/troubleshooting/cluster_unavilabe.png" "System cluster status shows as unavailable" %}}
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image reference contains the same spelling error as the filename. "unavilabe" should be "unavailable". This must match the corrected filename.

Suggested change
{{% load-img "/img/troubleshooting/cluster_unavilabe.png" "System cluster status shows as unavailable" %}}
{{% load-img "/img/troubleshooting/cluster_unavailable.png" "System cluster status shows as unavailable" %}}

Copilot uses AI. Check for mistakes.

Upgrade the Elasticsearch cluster version of the INFINI Console storage data to v7.0+

### System cluster status shows as unavailable
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after the heading. There should be a space between "as" and "shown" to maintain consistent formatting.

Suggested change
### System cluster status shows as unavailable
### System cluster status shows as unavailable

Copilot uses AI. Check for mistakes.
}
},
"script": {
"source": "ctx._source.labels = ['health_status': params.status]",
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Painless script has incorrect syntax. The script is attempting to assign a list with a map-like syntax which is invalid. It should be a map assignment. The correct syntax should be: "ctx._source.labels = ['health_status': params.status]" should be changed to use proper map syntax like "ctx._source.labels = ['health_status': params.status]" or more correctly "ctx._source.labels.health_status = params.status" depending on the data structure.

Suggested change
"source": "ctx._source.labels = ['health_status': params.status]",
"source": "ctx._source.labels.health_status = params.status",

Copilot uses AI. Check for mistakes.
}
},
"script": {
"source": "ctx._source.labels = ['health_status': params.status]",
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Painless script has incorrect syntax. The script is attempting to assign a list with a map-like syntax which is invalid. It should be a map assignment. The correct syntax should be: "ctx._source.labels = ['health_status': params.status]" should be changed to use proper map syntax like "ctx._source.labels = ['health_status': params.status]" or more correctly "ctx._source.labels.health_status = params.status" depending on the data structure.

Suggested change
"source": "ctx._source.labels = ['health_status': params.status]",
"source": "ctx._source.labels.health_status = params.status",

Copilot uses AI. Check for mistakes.
### 系统集群状态显示为不可用

如下如所示:
{{% load-img "/img/troubleshooting/cluster_unavilabe.png" "系统集群状态显示为不可用" %}}
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image reference contains the same spelling error as the filename. "unavilabe" should be "unavailable". This must match the corrected filename.

Suggested change
{{% load-img "/img/troubleshooting/cluster_unavilabe.png" "系统集群状态显示为不可用" %}}
{{% load-img "/img/troubleshooting/cluster_unavailable.png" "系统集群状态显示为不可用" %}}

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants