Skip to content

Test latest hyperfleet versions#596

Open
typeid wants to merge 9 commits into
openshift-online:mainfrom
typeid:hyperfleet_test
Open

Test latest hyperfleet versions#596
typeid wants to merge 9 commits into
openshift-online:mainfrom
typeid:hyperfleet_test

Conversation

@typeid

@typeid typeid commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added RabbitMQ routing settings for Hyperfleet messaging (queue, exchange, routing key) to enable cluster-oriented message routing.
  • Chores

    • Updated Hyperfleet container image registries and standardized image tags to "latest".
    • Aligned Helm chart target revisions and chart sources across regional cluster deployments to a new release.
    • Removed/disabled an explicit adapter version setting in adapter configuration.

@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jmelis for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@typeid

typeid commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 9, 2026
@typeid

typeid commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

/test on-demand-e2e

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Bumps Hyperfleet charts to v0.3.0, switches container images to quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet:latest, changes sentinel repo, comments out adapter version, and adds RabbitMQ routing (queue/exchange/routingKey) for adapter1 and sentinel.

Changes

Hyperfleet Components Upgrade

Layer / File(s) Summary
hyperfleet-adapter1: values + application template + runtime
argocd/config/regional-cluster/hyperfleet-adapter1-chart/values.yaml, argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml, argocd/config/regional-cluster/hyperfleet-adapter1-chart/adapter-config.yaml
Chart source.targetRevision bumped to v0.3.0; template image registry updated to quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet with tag latest; RabbitMQ broker config gained queue: "clusters", exchange: "hyperfleet", and routingKey: "clusters"; adapter.version: "0.2.1" was commented out.
hyperfleet-api: values
argocd/config/regional-cluster/hyperfleet-api-chart/values.yaml
Chart source.targetRevision bumped to v0.3.0; container image registry changed to quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet and tag set to latest.
hyperfleet-sentinel: values
argocd/config/regional-cluster/hyperfleet-sentinel-chart/values.yaml
ArgoCD repoURL switched to openshift-hyperfleet/hyperfleet-sentinel, targetRevision bumped to v0.3.0; values.image.registry changed to quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet and tag set to latest; RabbitMQ queue: "clusters" added.

Estimated Code Review Effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly Related PRs

Suggested labels

ok-to-test, review-ready

Suggested Reviewers

  • cdoan1
  • psav
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Test latest hyperfleet versions' accurately describes the main changes, which update multiple hyperfleet components to newer versions (v0.3.0 and latest tags) across adapter, API, and sentinel configurations.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Switch all three hyperfleet components to v0.3.0 charts and use
production image registry. Also moves sentinel chart source from
personal fork to the upstream openshift-hyperfleet org repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@typeid

typeid commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

/test on-demand-e2e

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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
`@argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml`:
- Around line 18-20: The image tag is pinned to "latest" and pullPolicy is set
to Always; update the template values for registry/repository/tag and the
container pullPolicy used by the hyperfleet-adapter so deployments are
reproducible: replace tag: latest with a specific version tag or digest that
aligns with the ArgoCD targetRevision (e.g., the v0.3.0 image tag or
image@sha256:...), and change pullPolicy from Always to a stability-oriented
policy such as IfNotPresent (ensure you update any values.yaml entry and the
template references that render registry, repository, tag, and pullPolicy so the
chart uses the new pinned tag/digest).

In `@argocd/config/regional-cluster/hyperfleet-api-chart/values.yaml`:
- Around line 39-41: The values currently set image.tag: latest
(registry/repository/tag) with pullPolicy: Always makes deployments
non-deterministic; change image.tag from "latest" to a fixed immutable
identifier (a semantic version like "v1.2.3" or an image digest "sha256:...")
and set pullPolicy to IfNotPresent (or keep Always only when using digests) so
restarts use the pinned image; after updating tag, verify the image exists and
is accessible in the configured registry/repository
(quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet) from the
cluster/namespace and update any deployment docs or CI/image promotion steps
that reference image.tag.

In `@argocd/config/regional-cluster/hyperfleet-sentinel-chart/values.yaml`:
- Around line 43-45: The image for hyperfleet-sentinel is using tag: latest
which makes deployments unreproducible; update the values for registry:
quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet, repository:
hyperfleet-sentinel and replace tag: latest with a pinned, immutable tag (a
specific digest or version string) and ensure pullPolicy is adjusted
appropriately (e.g., IfNotPresent) so rollbacks/auditing are deterministic;
locate the image settings where tag: latest is declared for hyperfleet-sentinel
and substitute the concrete tag/digest and update pullPolicy to match.
🪄 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: 58227b4e-d83f-4a5b-b68f-42fa86e68565

📥 Commits

Reviewing files that changed from the base of the PR and between f64135b and ad68a8a.

📒 Files selected for processing (4)
  • argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml
  • argocd/config/regional-cluster/hyperfleet-adapter1-chart/values.yaml
  • argocd/config/regional-cluster/hyperfleet-api-chart/values.yaml
  • argocd/config/regional-cluster/hyperfleet-sentinel-chart/values.yaml

Comment thread argocd/config/regional-cluster/hyperfleet-api-chart/values.yaml
The hyperfleet-adapter v0.3.0 chart introduced a breaking change that
requires broker.rabbitmq.queue when broker.type is rabbitmq.

Without this field, ArgoCD's Helm template generation fails with:
  Error: execution error at (hyperfleet-adapter/templates/configmap-broker.yaml:8:4):
  broker.rabbitmq.queue is required when broker type is rabbitmq

This prevented the hyperfleet-adapter1 deployment from being created,
causing cluster readiness checks to timeout waiting for adapter1 to
report as Available.

The queue name "clusters" matches the topic configured in adapter-config.yaml.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml (1)

18-21: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Pin the hyperfleet-adapter image tag to avoid deployment drift.

The image configuration still uses tag: latest with pullPolicy: Always, which prevents reproducible deployments and makes rollbacks/auditing difficult. A previous review already raised this concern.

Pin the tag to a specific version or digest aligned with the v0.3.0 chart revision, and consider changing pullPolicy to IfNotPresent for stability.

🤖 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
`@argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml`
around lines 18 - 21, Update the image spec to stop using tag: latest and
pullPolicy: Always—replace tag with a specific version or image digest matching
the chart revision v0.3.0 (e.g., the hyperfleet-adapter image tag or SHA digest)
and set pullPolicy to IfNotPresent for stability; modify the
registry/repository/tag/pullPolicy fields in the hyperfleet-adapter image block
so deployments are reproducible and auditable.
🤖 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.

Duplicate comments:
In
`@argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml`:
- Around line 18-21: Update the image spec to stop using tag: latest and
pullPolicy: Always—replace tag with a specific version or image digest matching
the chart revision v0.3.0 (e.g., the hyperfleet-adapter image tag or SHA digest)
and set pullPolicy to IfNotPresent for stability; modify the
registry/repository/tag/pullPolicy fields in the hyperfleet-adapter image block
so deployments are reproducible and auditable.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 24941748-90b8-4e1e-98df-f1804f15227f

📥 Commits

Reviewing files that changed from the base of the PR and between ad68a8a and d047d36.

📒 Files selected for processing (1)
  • argocd/config/regional-cluster/hyperfleet-adapter1-chart/templates/application.yaml

@cdoan1

cdoan1 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

/test on-demand-e2e

… override

- Add exchange and routingKey to RabbitMQ broker config
- Comment out adapter.version to use chart default

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cdoan1

cdoan1 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

/test on-demand-e2e

The enabled: false flag was preventing RabbitMQ broker setup.
Commenting it out allows the default behavior from the chart.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cdoan1

cdoan1 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

/test on-demand-e2e

cdoan1 and others added 2 commits June 10, 2026 12:54
Configure sentinel to publish to the hyperfleet exchange with clusters
routing key, matching the adapter's consumer configuration. Without
these fields, sentinel publishes to the default exchange and events
never reach the adapter.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changes exchange from "hyperfleet" to "clusters" and routingKey from "clusters" to "#" (wildcard) for broader message matching.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 11, 2026
cdoan1 and others added 2 commits June 11, 2026 11:30
Updates the reportClusterStatus action to use PUT method for updating cluster status, aligning with REST conventions for resource updates.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 11, 2026
@cdoan1

cdoan1 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

/test on-demand-e2e

@openshift-ci

openshift-ci Bot commented Jun 11, 2026

Copy link
Copy Markdown

@typeid: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/on-demand-e2e bf6906c link true /test on-demand-e2e

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

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants