Skip to content

OLS-3681: Install or update Lightspeed Operator in quickstart#352

Open
blublinsky wants to merge 1 commit into
openshift:mainfrom
blublinsky:ols-quickstart
Open

OLS-3681: Install or update Lightspeed Operator in quickstart#352
blublinsky wants to merge 1 commit into
openshift:mainfrom
blublinsky:ols-quickstart

Conversation

@blublinsky

Copy link
Copy Markdown
Contributor

Summary

  • Quickstart optionally detects Lightspeed Operator (OLSConfig CRD) and prompts to install or update it from openshift/lightspeed-operator related_images.json via operator-sdk run bundle / bundle-upgrade.
  • After install/update, guides OLSConfig edit/apply until status.overallStatus=Ready, then deploys the agentic operator.
  • Download-then-run only (no curl | bash) so interactive prompts work; declining a fresh OLS install creates an empty lightspeed-otel-collector-client ConfigMap.

Important
Use the latest Lightspeed Operator bundle that includes the OTEL collector (and creates lightspeed-otel-collector-client). Older related_images.json bundles without OTEL leave the agentic operator stuck waiting for that ConfigMap.
Current operator main needs to be updated

@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 20, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 20, 2026

Copy link
Copy Markdown

@blublinsky: This pull request references OLS-3681 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

  • Quickstart optionally detects Lightspeed Operator (OLSConfig CRD) and prompts to install or update it from openshift/lightspeed-operator related_images.json via operator-sdk run bundle / bundle-upgrade.
  • After install/update, guides OLSConfig edit/apply until status.overallStatus=Ready, then deploys the agentic operator.
  • Download-then-run only (no curl | bash) so interactive prompts work; declining a fresh OLS install creates an empty lightspeed-otel-collector-client ConfigMap.

Important
Use the latest Lightspeed Operator bundle that includes the OTEL collector (and creates lightspeed-otel-collector-client). Older related_images.json bundles without OTEL leave the agentic operator stuck waiting for that ConfigMap.
Current operator main needs to be updated

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
openshift-ci Bot requested review from joshuawilson and xrajesh July 20, 2026 20:18
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@blublinsky, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 35 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: fd82fb2b-cd6f-4bae-a1a1-80628305fee8

📥 Commits

Reviewing files that changed from the base of the PR and between 0743fe6 and 3c2415a.

📒 Files selected for processing (3)
  • hack/quickstart/README.md
  • hack/quickstart/install.sh
  • hack/quickstart/uninstall.sh
📝 Walkthrough

Walkthrough

Changes

The quickstart now uses a downloaded interactive installer that can optionally install Lightspeed Operator through OLM, configure OLSConfig, and deploy Agentic Operator resources with configurable timeouts and diagnostics.

Quickstart installer workflow

Layer / File(s) Summary
Lightspeed Operator and OLSConfig setup
hack/quickstart/install.sh, hack/quickstart/README.md
Adds operator bundle sourcing, operator-sdk bootstrapping, optional installation/update prompts, OLSConfig export/template/editing, readiness polling, diagnostics, and related environment-variable documentation.
Agentic Operator deployment and completion
hack/quickstart/install.sh, hack/quickstart/README.md
Reorganizes installation into numbered namespace, CRD, deployment, RBAC, policy, webhook, rollout, and completion steps, with configurable rollout timeout and updated invocation examples.

Sequence Diagram(s)

sequenceDiagram
  participant Installer
  participant OperatorSDK
  participant Kubernetes
  Installer->>OperatorSDK: Resolve and run Lightspeed Operator bundle
  OperatorSDK->>Kubernetes: Install or update operator resources
  Installer->>Kubernetes: Apply OLSConfig and Agentic Operator resources
  Kubernetes-->>Installer: Report OLSConfig and rollout status
  Installer-->>Installer: Print diagnostics or completion details
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change: quickstart now installs or updates the Lightspeed Operator.
Description check ✅ Passed The description accurately summarizes the quickstart update and OLSConfig-driven install flow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@hack/quickstart/install.sh`:
- Around line 371-376: Update the existing OLS update decision flow around
install_or_update_ols so declining an update still guarantees the
lightspeed-otel-collector-client ConfigMap exists when the CRD is present. Reuse
the established CONFIGURE_OLSCONFIG or CREATE_EMPTY_OTEL_CM fallback used by the
fresh-install decline path, while preserving the current behavior for accepted
updates and unchanged installations.
- Around line 123-128: Update the operator-sdk download flow around the URL and
destination assignment to fetch the release’s checksums.txt for
${OPERATOR_SDK_VERSION}, verify the downloaded ${dest} against the entry
matching ${os}_${arch} before chmod or execution, and exit on any missing or
mismatched checksum. Keep the existing successful-download setup unchanged after
verification.

In `@hack/quickstart/README.md`:
- Around line 18-20: Update the quickstart download-and-execute commands so bash
install-agentic.sh runs only when curl successfully downloads install.sh, using
command chaining or a temporary-file workflow; preserve the existing installer
URL and execution behavior after a successful transfer.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: f5ab607c-01eb-4ab3-8f5f-a2e3c698f59a

📥 Commits

Reviewing files that changed from the base of the PR and between f277709 and 0743fe6.

📒 Files selected for processing (2)
  • hack/quickstart/README.md
  • hack/quickstart/install.sh
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • openshift/lightspeed-agentic-sandbox (manual)

Comment on lines +123 to +128
url="https://github.com/operator-framework/operator-sdk/releases/download/v${OPERATOR_SDK_VERSION}/operator-sdk_${os}_${arch}"
echo " Downloading operator-sdk v${OPERATOR_SDK_VERSION}..."
curl -fsSL -o "${dest}" "${url}"
chmod +x "${dest}"
OPERATOR_SDK_BIN="${dest}"
info "operator-sdk ready (${OPERATOR_SDK_BIN})"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Confirm checksums.txt is published for this release
curl -fsSL "https://github.com/operator-framework/operator-sdk/releases/download/v1.36.1/checksums.txt" | head -20

Repository: openshift/lightspeed-agentic-operator

Length of output: 1281


🏁 Script executed:

#!/bin/bash
set -euo pipefail

sed -n '110,190p' hack/quickstart/install.sh

Repository: openshift/lightspeed-agentic-operator

Length of output: 3077


🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n "checksum|sha256|gpg|cosign|verify" hack/quickstart/install.sh

Repository: openshift/lightspeed-agentic-operator

Length of output: 175


Verify the operator-sdk download before execution. The script fetches a release binary and chmod +xs it with no checksum or signature check. Use the published checksums.txt for ${OPERATOR_SDK_VERSION} and fail closed on mismatch; otherwise a tampered release asset or MITM can run arbitrary code in the cluster.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@hack/quickstart/install.sh` around lines 123 - 128, Update the operator-sdk
download flow around the URL and destination assignment to fetch the release’s
checksums.txt for ${OPERATOR_SDK_VERSION}, verify the downloaded ${dest} against
the entry matching ${os}_${arch} before chmod or execution, and exit on any
missing or mismatched checksum. Keep the existing successful-download setup
unchanged after verification.

Comment on lines +371 to +376
if prompt_yes_no "Update Lightspeed Operator to the latest related_images bundle?"; then
install_or_update_ols update
CONFIGURE_OLSCONFIG=1
else
warn "Skipping OLS update (leaving current OLS install unchanged)"
fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Declining an OLS update leaves the OTEL ConfigMap gap unhandled.

When the CRD is present and the user declines the update (Lines 374-376), neither CONFIGURE_OLSCONFIG nor CREATE_EMPTY_OTEL_CM is set. If the existing OLS install predates the OTEL bundle, lightspeed-otel-collector-client never gets created, and the agentic rollout blocks and fails at Step 8. The fresh-install decline path guards against this; this path does not. Confirm the ConfigMap is guaranteed to exist here, or add a fallback.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@hack/quickstart/install.sh` around lines 371 - 376, Update the existing OLS
update decision flow around install_or_update_ols so declining an update still
guarantees the lightspeed-otel-collector-client ConfigMap exists when the CRD is
present. Reuse the established CONFIGURE_OLSCONFIG or CREATE_EMPTY_OTEL_CM
fallback used by the fresh-install decline path, while preserving the current
behavior for accepted updates and unchanged installations.

Comment thread hack/quickstart/README.md
Comment on lines +18 to +20
curl -fsSL -o install-agentic.sh \
https://raw.githubusercontent.com/openshift/lightspeed-agentic-operator/main/hack/quickstart/install.sh
bash install-agentic.sh

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Make the download-and-execute step fail closed.

If curl fails, the shell still runs bash install-agentic.sh, potentially executing a stale file from a previous attempt. Chain execution on download success or download to a temporary file and execute only after a successful transfer.

Proposed fix
-curl -fsSL -o install-agentic.sh \
+curl -fsSL -o install-agentic.sh \
   https://raw.githubusercontent.com/openshift/lightspeed-agentic-operator/main/hack/quickstart/install.sh
-bash install-agentic.sh
+&& bash install-agentic.sh
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@hack/quickstart/README.md` around lines 18 - 20, Update the quickstart
download-and-execute commands so bash install-agentic.sh runs only when curl
successfully downloads install.sh, using command chaining or a temporary-file
workflow; preserve the existing installer URL and execution behavior after a
successful transfer.

@blublinsky

Copy link
Copy Markdown
Contributor Author

/approve

@openshift-ci

openshift-ci Bot commented Jul 20, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: blublinsky

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 20, 2026
@vimalk78

Copy link
Copy Markdown
Contributor

need to update uninstall script also

@blublinsky

Copy link
Copy Markdown
Contributor Author

uninstall updated

@openshift-ci

openshift-ci Bot commented Jul 21, 2026

Copy link
Copy Markdown

@blublinsky: 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.

@blublinsky

Copy link
Copy Markdown
Contributor Author

/override "CodeRabbit"

@openshift-ci

openshift-ci Bot commented Jul 21, 2026

Copy link
Copy Markdown

@blublinsky: Overrode contexts on behalf of blublinsky: CodeRabbit

Details

In response to this:

/override "CodeRabbit"

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.

@vimalk78

Copy link
Copy Markdown
Contributor

tried the script.
the lightspeed-operator is installed, the agentic-controller is installed, but it waits for otel config map to show up

script invocation

❯ ./hack/quickstart/uninstall.sh
This will delete ALL Agentic OLS resources in namespace openshift-lightspeed,
remove the console plugin, and operator CRDs cluster-wide.
You will be asked separately whether to also uninstall Lightspeed Operator.

Continue? [y/N] y

  Quickstart may also have installed Lightspeed Operator (OLS) via OLM.
  Answer n to leave OLS installed (namespace openshift-lightspeed will be kept).

Uninstall Lightspeed Operator as well? [y/n]: y
[1/8] Deleting Agentic custom resources...
  ✓ AgenticRun resources deleted
  ✓ Agents, LLMProviders, ApprovalPolicy, AgenticOLSConfig deleted
[2/8] Optional Lightspeed Operator uninstall...
  Deleting OLSConfig (if present)...
olsconfig.ols.openshift.io "cluster" deleted
  Running: operator-sdk cleanup lightspeed-operator -n openshift-lightspeed...
INFO[0003] subscription "lightspeed-operator-v1-1-2-sub" deleted
INFO[0003] customresourcedefinition "olsconfigs.ols.openshift.io" deleted
INFO[0003] clusterserviceversion "lightspeed-operator.v1.1.2" deleted
INFO[0004] catalogsource "lightspeed-operator-catalog" deleted
INFO[0005] operatorgroup "operator-sdk-og" deleted
INFO[0005] Operator "lightspeed-operator" uninstalled
  ✓ Lightspeed Operator uninstalled
[3/8] Deleting credential secrets...
  ✓ Credential secrets deleted
[4/8] Removing console plugin...
[console] Deregistering console plugin
  ✓ Plugin not registered in Console — skipping
  ✓ ConsolePlugin CR deleted
[console] Deleting console plugin workload
  ✓ Console plugin workload resources deleted
[5/8] Deleting webhook resources...
  ✓ Webhook resources deleted
[6/8] Deleting agentic operator deployment...
  ✓ Agentic operator removed
[7/8] Deleting Agentic Operator CRDs...
  ✓ Agentic CRDs deleted
[8/8] Namespace openshift-lightspeed...
namespace "openshift-lightspeed" deleted
  ✓ Namespace deleted

  Agentic OLS has been uninstalled.
  Lightspeed Operator was also uninstalled.


pr-352 on  pr-352                                                                                                                                      v1.25.7 1m5s
❯ ./hack/quickstart/install.sh
[1/9] Checking prerequisites...
  ✓ oc CLI found
  ✓ python3 found
  ✓ Logged in as cluster-admin
  ✓ cluster-admin privileges confirmed
[2/9] Ensuring namespace openshift-lightspeed...
namespace/openshift-lightspeed created
  ✓ Namespace created
[3/9] Optional Lightspeed Operator...

  Lightspeed Operator is not installed (OLSConfig CRD not found).
  Installing it deploys OLS from the related_images.json bundle on git:
    https://raw.githubusercontent.com/openshift/lightspeed-operator/main/related_images.json

  OLS creates all required operands and ConfigMaps for communicating between operators.

Install Lightspeed Operator now? [y/n]: y
  Fetching related_images.json from https://raw.githubusercontent.com/openshift/lightspeed-operator/main/related_images.json
  ✓ OLS bundle image: quay.io/redhat-user-workloads/crt-nshift-lightspeed-tenant/ols-bundle@sha256:2fe89ecff69893e25d8c8a3af6c4ad138286daaa1ad4582d0c390f21ba7aa57e
  Installing Lightspeed Operator via operator-sdk run bundle...
WARN[0008] reference for unknown type: application/vnd.in-toto+json  digest="sha256:ff5170534ebc765cab96ddb2cce63482df2e0fbe27232c554525b42f414604c0" mediatype=application/vnd.in-toto+json size=12161
WARN[0008] reference for unknown type: application/vnd.in-toto+json  digest="sha256:f74c19b89ee352e21ca904cde9ff1caa6ccf3abfc740869cf5d9faf50669ef0e" mediatype=application/vnd.in-toto+json size=911533
WARN[0008] reference for unknown type: application/vnd.in-toto+json  digest="sha256:6387607d9949df2b0aa5a742d534f005f2493a30b75437d6f60e6d1ed2f1bad0" mediatype=application/vnd.in-toto+json size=12161
WARN[0008] reference for unknown type: application/vnd.in-toto+json  digest="sha256:2788bcabfaa509a64cf5f30ff81cfcf5507837838388a3cfe1b20045469fc734" mediatype=application/vnd.in-toto+json size=911533
WARN[0009] reference for unknown type: application/vnd.in-toto+json  digest="sha256:c8876913e97dd2c1746abb0a79f9e479c1d3f6fad2c162e421b4a4ed3c47d762" mediatype=application/vnd.in-toto+json size=12169
WARN[0009] reference for unknown type: application/vnd.in-toto+json  digest="sha256:624c38773adfd9a3b7d66ac00b884a1ed313c5451a3af837f0069a6ea95696c0" mediatype=application/vnd.in-toto+json size=912529
WARN[0010] reference for unknown type: application/vnd.in-toto+json  digest="sha256:12f39657cb2b425ace322c3ddd89ad3b040b155340dfd5c9caea1090ace41fcd" mediatype=application/vnd.in-toto+json size=12161
WARN[0010] reference for unknown type: application/vnd.in-toto+json  digest="sha256:4068d953cff56b1bcc57e49f3ef339aa6c6a7c9217a2a4e56408fdf613690ad6" mediatype=application/vnd.in-toto+json size=911533
INFO[0019] Creating a File-Based Catalog of the bundle "quay.io/redhat-user-workloads/crt-nshift-lightspeed-tenant/ols-bundle@sha256:2fe89ecff69893e25d8c8a3af6c4ad138286daaa1ad4582d0c390f21ba7aa57e"
INFO[0023] Generated a valid File-Based Catalog
INFO[0027] Created registry pod: fe89ecff69893e25d8c8a3af6c4ad138286daaa1ad4582d0c390f21ba7aa57e
INFO[0028] Created CatalogSource: lightspeed-operator-catalog
INFO[0028] OperatorGroup "operator-sdk-og" created
INFO[0029] Created Subscription: lightspeed-operator-v1-1-2-sub
INFO[0035] Approved InstallPlan install-9mgsk for the Subscription: lightspeed-operator-v1-1-2-sub
INFO[0035] Waiting for ClusterServiceVersion "openshift-lightspeed/lightspeed-operator.v1.1.2" to reach 'Succeeded' phase
INFO[0035]   Waiting for ClusterServiceVersion "openshift-lightspeed/lightspeed-operator.v1.1.2" to appear
INFO[0037]   Found ClusterServiceVersion "openshift-lightspeed/lightspeed-operator.v1.1.2" phase: Pending
INFO[0039]   Found ClusterServiceVersion "openshift-lightspeed/lightspeed-operator.v1.1.2" phase: Installing
INFO[0052]   Found ClusterServiceVersion "openshift-lightspeed/lightspeed-operator.v1.1.2" phase: Succeeded
INFO[0052] OLM has successfully installed "lightspeed-operator.v1.1.2"
  ✓ Lightspeed Operator installed
  ✓ Wrote starter OLSConfig to /tmp/olsconfig-quickstart.yaml

  OLSConfig file: /tmp/olsconfig-quickstart.yaml

  Before applying, you must:
    1. Create a Secret in openshift-lightspeed with your LLM API key, for example (OpenAI):
         oc create secret generic llm-creds -n openshift-lightspeed \
           --from-literal=apitoken=sk-...
    2. Edit /tmp/olsconfig-quickstart.yaml and set provider information to match:
         - spec.llm.providers[].type / name / url / models
         - spec.llm.providers[].credentialsSecretRef.name (must match the Secret)
         - spec.ols.defaultProvider and spec.ols.defaultModel

  Open the file in another terminal to accept the starter values or customize them.
  OLS will stay NotReady until the Secret and provider config are correct.

Apply OLSConfig from this file now? [y=apply / e=edit first / a=abort]: y
  Applying /tmp/olsconfig-quickstart.yaml...
olsconfig.ols.openshift.io/cluster created
  ✓ OLSConfig applied
  Waiting up to 900s for OLSConfig status.overallStatus=Ready...
  … still waiting (overallStatus=NotReady, 60s/900s)
  … still waiting (overallStatus=NotReady, 120s/900s)
  … still waiting (overallStatus=NotReady, 180s/900s)
  … still waiting (overallStatus=NotReady, 240s/900s)
  … still waiting (overallStatus=NotReady, 300s/900s)
  … still waiting (overallStatus=NotReady, 360s/900s)
  … still waiting (overallStatus=NotReady, 420s/900s)
  … still waiting (overallStatus=NotReady, 480s/900s)
  ✓ OLS is ready (overallStatus=Ready)
[4/9] Installing Agentic Operator CRDs...
customresourcedefinition.apiextensions.k8s.io/agenticolsconfigs.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/agents.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/analysisresults.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/approvalpolicies.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/escalationresults.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/executionresults.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/llmproviders.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/agenticrunapprovals.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/agenticruns.agentic.openshift.io created
customresourcedefinition.apiextensions.k8s.io/verificationresults.agentic.openshift.io created
  ✓ 10 CRDs applied (from local checkout)
[5/9] Deploying agentic operator to openshift-lightspeed (sandbox-mode=bare-pod)...
serviceaccount/lightspeed-agentic-operator created
clusterrolebinding.rbac.authorization.k8s.io/lightspeed-agentic-operator created
deployment.apps/lightspeed-agentic-operator created
  ✓ Operator deployment applied
  ✓ Binding read permissions to lightspeed-agent SA...
clusterrolebinding.rbac.authorization.k8s.io/lightspeed-agent-cluster-reader created
clusterrolebinding.rbac.authorization.k8s.io/lightspeed-agent-monitoring-view created
  ✓ Agent read RBAC applied (cluster-reader + cluster-monitoring-view)
[6/9] Creating ApprovalPolicy...
approvalpolicy.agentic.openshift.io/cluster created
  ✓ ApprovalPolicy created
[7/9] Creating webhook Service...
service/agentic-operator-webhook-service created
  ✓ Webhook Service created
[8/9] Waiting for agentic operator to become ready...
  ✗ Agentic operator did not become ready within 300s.

  Check:
    oc logs deployment/lightspeed-agentic-operator -n openshift-lightspeed
    oc get configmap lightspeed-otel-collector-client -n openshift-lightspeed
    oc get olsconfig cluster -o yaml

Logs(openshift-lightspeed/lightspeed-agentic-operator-56dd8f8b9b-4pgsr:manager)

2026-07-22T07:39:36Z    INFO    Waiting for ConfigMap    {"name": "lightspeed-otel-collector-client", "timeout": "5m0s"}

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants