Skip to content

[minor] ODH to RHOAI migration for Maximo AI Service#2153

Merged
sanjayprab merged 30 commits into
masterfrom
migr
Apr 10, 2026
Merged

[minor] ODH to RHOAI migration for Maximo AI Service#2153
sanjayprab merged 30 commits into
masterfrom
migr

Conversation

@Divyesh-Khokhar
Copy link
Copy Markdown
Contributor

@Divyesh-Khokhar Divyesh-Khokhar commented Mar 10, 2026

Description

Refactor aiservice_odh and aiservice_rhoai roles to use action-based dispatching pattern (install/uninstall) instead of separate migration role. This consolidates migration logic into RHOAI installation and enables platform switching scenarios.

Architecture Refactoring

  • Action-Based Pattern: Restructured both aiservice_odh and aiservice_rhoai roles to support install/uninstall actions.
  • Self-Contained Migration: RHOAI role's install action automatically detects ODH and performs migration

This PR is a prerequisite for these two PRs.

Test Results

  • Tested this role in Ai service installed cluster with ODH.
    After migration:
Screenshot 2026-03-05 at 4 58 33 PM
  • Action based:
Screenshot 2026-04-02 at 7 06 52 PM
  • ODH Detection/Uninstall:
Screenshot 2026-04-02 at 7 07 27 PM
  • RHOAI Install:
Screenshot 2026-04-02 at 7 07 47 PM

Related Jira


⚠️ Notes for Reviewers

  • Ensure you have understood the PR guidelines in the Playbook before proceeding with a review.
  • Ensure all sections in the PR template are appropriately completed.

@Divyesh-Khokhar Divyesh-Khokhar requested a review from a team as a code owner March 10, 2026 17:22
@Divyesh-Khokhar Divyesh-Khokhar requested a review from durera March 10, 2026 17:59
Copy link
Copy Markdown
Contributor

@karol-czarnecki karol-czarnecki left a comment

Choose a reason for hiding this comment

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

lgtm

@Divyesh-Khokhar Divyesh-Khokhar requested a review from whitfiea April 6, 2026 10:27
@Divyesh-Khokhar Divyesh-Khokhar changed the title [minor] ODH to RHOAI migration for Maximo AI Service [patch] ODH to RHOAI migration for Maximo AI Service Apr 10, 2026
@sanjayprab sanjayprab changed the title [patch] ODH to RHOAI migration for Maximo AI Service [minor] ODH to RHOAI migration for Maximo AI Service Apr 10, 2026
@sanjayprab sanjayprab added this pull request to the merge queue Apr 10, 2026
Merged via the queue into master with commit fa79191 Apr 10, 2026
5 checks passed
@sanjayprab sanjayprab deleted the migr branch April 10, 2026 12:50
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