Skip to content

docs: fix OpenShift section in sandbox guide and add troubleshooting - #1649

Merged
pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:worktree-fix-sandbox-guide-ocp
May 22, 2026
Merged

pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:worktree-fix-sandbox-guide-ocp

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

  • Rewrites the OpenShift section to provide explicit deploy-shared.sh and deploy-tenant.sh steps instead of incorrectly claiming the OCP installer handles OpenShell deployment
  • Adds troubleshooting entries for two common OCP failures:
    • deploy-tenant.sh hanging because the openshell Keycloak realm doesn't exist
    • deploy-shared.sh hanging due to RHBK bootstrap admin credential mismatch after pod recreation
  • Adds a detailed recovery procedure for the Keycloak credential mismatch

Test plan

  • Verified end-to-end on live OCP cluster (kagenti1.kubestellar.org)
  • Confirmed deploy-shared.sh → deploy-tenant.sh → configure-cli.sh → sandbox create flow works after fixes

Assisted-By: Claude Code

The OpenShift section incorrectly claimed the OCP installer handles
OpenShell deployment. In reality, deploy-shared.sh and deploy-tenant.sh
must be run manually after the platform is installed. Replace the
misleading paragraph with explicit step-by-step instructions.

Also add troubleshooting entries for two common OCP failures:
- deploy-tenant.sh hanging due to missing openshell Keycloak realm
- deploy-shared.sh hanging due to RHBK credential mismatch after
  Keycloak pod recreation

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori force-pushed the worktree-fix-sandbox-guide-ocp branch from 62628a5 to 229a704 Compare May 22, 2026 17:46

@huang195 huang195 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Summary

Useful docs fix — replaces the inaccurate "installer handles OpenShell" line with explicit deploy-shared.sh / deploy-tenant.sh steps, and the new troubleshooting entries match common failure modes (gateway crashloop on missing realm, RHBK admin credential mismatch).

Areas reviewed: Docs, embedded shell/SQL recovery recipe
Commits: 1, signed-off
CI status: passing

Approving — the inline notes are about making the Keycloak recovery procedure less brittle for slightly-different environments. None blocking.

Assisted-By: Claude Code

Comment thread docs/sandbox-guide.md Resolved
Comment thread docs/sandbox-guide.md Resolved
Comment thread docs/sandbox-guide.md Resolved
- Fetch username from secret dynamically instead of hardcoding 'temp-admin'
- Read hashIterations from existing credential row instead of hardcoding 27500
- Use psql -tA for clean output without whitespace stripping hacks
- chmod 600 the temp file and rm -f it after use

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori merged commit c869ab9 into rossoctl:main May 22, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from New /:ToDo to Done in Rossoctl Issue Prioritization May 22, 2026
@pdettori
pdettori deleted the worktree-fix-sandbox-guide-ocp branch May 22, 2026 19:41
pdettori added a commit that referenced this pull request May 22, 2026
docs: fix OpenShift section in sandbox guide and add troubleshooting
(cherry picked from commit c869ab9)
eranra pushed a commit to eranra/kagenti that referenced this pull request May 24, 2026
…uide-ocp

docs: fix OpenShift section in sandbox guide and add troubleshooting
Signed-off-by: Eran Raichstein <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants