Skip to content

OBSDOCS-3671: Activate Troubleshoot category with JTBD-aligned assemblies - #116772

Open
johnwilkins wants to merge 1 commit into
openshift:standalone-logging-docs-mainfrom
johnwilkins:OBSDOCS-3671-Troubleshoot
Open

OBSDOCS-3671: Activate Troubleshoot category with JTBD-aligned assemblies#116772
johnwilkins wants to merge 1 commit into
openshift:standalone-logging-docs-mainfrom
johnwilkins:OBSDOCS-3671-Troubleshoot

Conversation

@johnwilkins

@johnwilkins johnwilkins commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Activates the Troubleshoot category in OpenShift Logging documentation with three focused assemblies aligned with the JTBD (Jobs-to-be-Done) framework.

Changes

Topic Map Updates

  • Category name: "Troubleshoot" (imperative, matches CCS lifecycle categories)
  • 3 assemblies activated:
    1. Troubleshoot the installation
    2. Troubleshoot log forwarding
    3. Troubleshoot logging alerts

New Content

1. Troubleshoot the installation

  • New assembly: troubleshooting/troubleshoot-installation.adoc
  • New module: modules/troubleshoot-installation-symptoms.adoc (definition list structure)
  • Preserves all 5 original symptoms from embedded troubleshooting table
  • Adds 3 new symptoms based on prerequisites analysis:
    • LokiStack pods stuck in Pending (missing StorageClass - common on SNO)
    • LokiStack Ready but logs not stored (missing object storage)
    • Logs silently dropped (missing CA bundle or permissions)
  • Each symptom includes: what user sees, why it happens, how to fix with plain text references to requirement topics
  • Removed embedded troubleshooting from installing/installing-the-red-hat-openshift-logging-operator.adoc
  • Added xref to Troubleshoot category in Installing assembly Additional resources

2. Troubleshoot log forwarding

  • Assembly: troubleshooting/troubleshoot-log-forwarding.adoc
  • Module: modules/troubleshoot-loki-rate-limit-errors.adoc (renamed from loki-rate-limit-errors.adoc)
  • Removed deprecated Fluentd redeployment module reference
  • Fixed DITA compliance (moved include directive, added abstract)

3. Troubleshoot logging alerts

  • Assembly: troubleshooting/troubleshoot-logging-alerts.adoc
  • New module: modules/troubleshoot-lokistack-alerts.adoc
  • Addresses all review feedback from PR OBSDOCS-3625: Add LokiStack alert troubleshooting procedures #116470:
    • Uses environment variable pattern instead of hardcoding LokiStack CR name
    • Replaced grep with PromQL query for discarded samples: sum by (tenant, reason) (irate(loki_discarded_samples_total[2m]))
    • Fixed list formatting (proper AsciiDoc bullets)
    • Links to https://loki-operator.dev/docs/sop.md (Red Hat maintained) instead of GitHub
    • Links in Additional resources section per modular docs standards

Deprecated Content Removed

  • troubleshooting/cluster-logging-cluster-status.adoc (Elasticsearch/Kibana/Fluentd only)
  • Reference to non-existent cluster-logging-log-store-status.adoc
  • redeploying-fluentd-pods.adoc module include (deprecated Fluentd content)

Consistency Updates for DITA Migration

  • Filenames: All use imperative "troubleshoot-" prefix (aligned with titles)
  • IDs: Updated to "troubleshoot-*" pattern with legacy IDs kept as anchors for backward compatibility
  • Topic names: Imperative form without gerunds ("Troubleshoot" not "Troubleshooting")
  • Link standards: Plain text references in procedure steps, xrefs only in Additional resources
  • Context variables: Updated to match new naming

Related File Updates

  • configuring/configuring-the-log-store.adoc: Updated module reference to troubleshoot-loki-rate-limit-errors.adoc
  • configuring/tuning-the-log-store.adoc: Updated module reference to troubleshoot-loki-rate-limit-errors.adoc

TODO - Follow-up Work

Related to PR #116570 (Configure category restructure):

  1. Loki rate limit troubleshooting duplication:

  2. Other embedded troubleshooting in Configure:

    • configuring/configuring-log-forwarding.adoc:
      • troubleshooting-log-collection.adoc (TLS cert, 429 rate limit, collector not running, debug logging)
      • cross-account-log-forwarding-troubleshooting.adoc (AWS cross-account issues)
    • configuring/cluster-logging-collector.adoc:
      • troubleshooting-collector-metrics-cardinality.adoc (advanced cardinality diagnostic)
    • configuring/loki-query-performance-troubleshooting.adoc:
      • Entire assembly for query performance troubleshooting

Recommendation: Address Configure embedded troubleshooting consolidation after PR #116570 merges to avoid conflicts.

Testing

  • Build: bash scripts/prow-smoke-test.sh --validate openshift-logging - All Successful
  • DITA compliance: All assemblies and modules follow modular docs standards
  • Vale: 0 errors, 0 warnings on new troubleshooting content
  • Cross-references: All xrefs validated against actual file paths

Related PRs

JIRA

Ticket: OBSDOCS-3671

Version: 6.6

Activates Troubleshoot category per ideal hierarchy guidance.

Signed-off-by: John Wilkins jowilkin@redhat.com

- Activate Troubleshoot category in topic map (renamed from "Troubleshooting logging" to "Troubleshoot")
- Create 3 focused assemblies:
  - Troubleshoot the installation (symptom-based with prerequisites integration)
  - Troubleshoot log forwarding (Loki rate limit errors)
  - Troubleshoot logging alerts (LokiStack alert diagnostic procedures)

New content:
- modules/troubleshoot-installation-symptoms.adoc: Comprehensive symptom reference (definition lists)
  - Preserves all 5 symptoms from embedded table
  - Adds 3 new symptoms based on prerequisites (StorageClass, object storage, CA bundle)
- modules/troubleshoot-lokistack-alerts.adoc: LokiStack alert troubleshooting procedures
  - Addresses all review feedback from PR openshift#116470
  - Uses environment variable pattern for CR names
  - PromQL query for discarded samples analysis
  - Links to loki-operator.dev runbook
- modules/troubleshoot-loki-rate-limit-errors.adoc: Renamed from loki-rate-limit-errors.adoc

Deprecated content removed:
- troubleshooting/cluster-logging-cluster-status.adoc (Elasticsearch/Kibana/Fluentd only)
- Fluentd redeployment module reference

Consistency updates:
- All filenames use imperative "troubleshoot-" prefix (aligned with titles for DITA migration)
- All IDs updated to "troubleshoot-*" pattern with legacy IDs as anchors
- Topic map names use imperative form without gerunds
- Plain text references in procedure steps, xrefs in Additional resources per modular docs standards
- Removed embedded troubleshooting from installing/installing-the-red-hat-openshift-logging-operator.adoc
- Updated configuring/configuring-the-log-store.adoc and configuring/tuning-the-log-store.adoc to reference renamed module

Testing:
- Build: All Successful (bash scripts/prow-smoke-test.sh --validate openshift-logging)
- Vale: 0 errors, 0 warnings on new troubleshooting content

Closes PR openshift#116470 (content ported with review feedback addressed)

Addresses: https://redhat.atlassian.net/browse/OBSDOCS-3671

Signed-off-by: John Wilkins <jowilkin@redhat.com>
@openshift-ci-robot

openshift-ci-robot commented Jul 28, 2026

Copy link
Copy Markdown

@johnwilkins: This pull request references OBSDOCS-3671 which is a valid jira issue.

Details

In response to this:

Summary

Activates the Troubleshoot category in OpenShift Logging documentation with three focused assemblies aligned with the JTBD (Jobs-to-be-Done) framework.

Changes

Topic Map Updates

  • Category name: "Troubleshoot" (imperative, matches CCS lifecycle categories)
  • 3 assemblies activated:
  1. Troubleshoot the installation
  2. Troubleshoot log forwarding
  3. Troubleshoot logging alerts

New Content

1. Troubleshoot the installation

  • New assembly: troubleshooting/troubleshoot-installation.adoc
  • New module: modules/troubleshoot-installation-symptoms.adoc (definition list structure)
  • Preserves all 5 original symptoms from embedded troubleshooting table
  • Adds 3 new symptoms based on prerequisites analysis:
  • LokiStack pods stuck in Pending (missing StorageClass - common on SNO)
  • LokiStack Ready but logs not stored (missing object storage)
  • Logs silently dropped (missing CA bundle or permissions)
  • Each symptom includes: what user sees, why it happens, how to fix with plain text references to requirement topics
  • Removed embedded troubleshooting from installing/installing-the-red-hat-openshift-logging-operator.adoc
  • Added xref to Troubleshoot category in Installing assembly Additional resources

2. Troubleshoot log forwarding

  • Assembly: troubleshooting/troubleshoot-log-forwarding.adoc
  • Module: modules/troubleshoot-loki-rate-limit-errors.adoc (renamed from loki-rate-limit-errors.adoc)
  • Removed deprecated Fluentd redeployment module reference
  • Fixed DITA compliance (moved include directive, added abstract)

3. Troubleshoot logging alerts

  • Assembly: troubleshooting/troubleshoot-logging-alerts.adoc
  • New module: modules/troubleshoot-lokistack-alerts.adoc
  • Addresses all review feedback from PR OBSDOCS-3625: Add LokiStack alert troubleshooting procedures #116470:
  • Uses environment variable pattern instead of hardcoding LokiStack CR name
  • Replaced grep with PromQL query for discarded samples: sum by (tenant, reason) (irate(loki_discarded_samples_total[2m]))
  • Fixed list formatting (proper AsciiDoc bullets)
  • Links to https://loki-operator.dev/docs/sop.md (Red Hat maintained) instead of GitHub
  • Links in Additional resources section per modular docs standards

Deprecated Content Removed

  • troubleshooting/cluster-logging-cluster-status.adoc (Elasticsearch/Kibana/Fluentd only)
  • Reference to non-existent cluster-logging-log-store-status.adoc
  • redeploying-fluentd-pods.adoc module include (deprecated Fluentd content)

Consistency Updates for DITA Migration

  • Filenames: All use imperative "troubleshoot-" prefix (aligned with titles)
  • IDs: Updated to "troubleshoot-*" pattern with legacy IDs kept as anchors for backward compatibility
  • Topic names: Imperative form without gerunds ("Troubleshoot" not "Troubleshooting")
  • Link standards: Plain text references in procedure steps, xrefs only in Additional resources
  • Context variables: Updated to match new naming

Related File Updates

  • configuring/configuring-the-log-store.adoc: Updated module reference to troubleshoot-loki-rate-limit-errors.adoc
  • configuring/tuning-the-log-store.adoc: Updated module reference to troubleshoot-loki-rate-limit-errors.adoc

TODO - Follow-up Work

Related to PR #116570 (Configure category restructure):

  1. Loki rate limit troubleshooting duplication:
  1. Other embedded troubleshooting in Configure:
  • configuring/configuring-log-forwarding.adoc:
    • troubleshooting-log-collection.adoc (TLS cert, 429 rate limit, collector not running, debug logging)
    • cross-account-log-forwarding-troubleshooting.adoc (AWS cross-account issues)
  • configuring/cluster-logging-collector.adoc:
    • troubleshooting-collector-metrics-cardinality.adoc (advanced cardinality diagnostic)
  • configuring/loki-query-performance-troubleshooting.adoc:
    • Entire assembly for query performance troubleshooting

Recommendation: Address Configure embedded troubleshooting consolidation after PR #116570 merges to avoid conflicts.

Testing

  • Build: bash scripts/prow-smoke-test.sh --validate openshift-logging - All Successful
  • DITA compliance: All assemblies and modules follow modular docs standards
  • Vale: 0 errors, 0 warnings on new troubleshooting content
  • Cross-references: All xrefs validated against actual file paths

Related PRs

JIRA

Ticket: OBSDOCS-3671

Version: 6.6

Activates Troubleshoot category per ideal hierarchy guidance.

🤖 Generated with Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 28, 2026
@openshift-ci openshift-ci Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 28, 2026
@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown

@johnwilkins: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants