Skip to content

Adding missing IAM images for airgap mode deployment - #874

Merged
rodrodsilo merged 6 commits into
mainfrom
EAI-7091-support-air-gapped-deployments-for-ai-workbench
Nov 16, 2026
Merged

rodrodsilo merged 6 commits into
mainfrom
EAI-7091-support-air-gapped-deployments-for-ai-workbench

Conversation

@rodrodsilo

Copy link
Copy Markdown
Contributor

No description provided.

@rodrodsilo
rodrodsilo requested a review from a team as a code owner October 28, 2026 11:34
@rodrodsilo
rodrodsilo requested a review from brownzebra October 28, 2026 13:07
@brownzebra

Copy link
Copy Markdown
Contributor

AI Workbench runs a liquibase-migrate init container (liquibase/liquibase:4.31) before aiwb-api starts, to apply the database schema
migrations. Recent Liquibase versions have usage analytics turned on by default. On every run, Liquibase contacts config.liquibase.com to fetch its analytics settings, then
sends usage data to Liquibase's servers.

On a connected cluster you never notice it. In an air gap that host can't be reached. According to the PR's code comment and commit 6bcd1e2 ("Adding fixes for liquibase
container on airgap mode"), this breaks the migration, and aiwb-api never starts. The PR doesn't say whether the container fails outright or stalls on a network timeout. I
haven't reproduced it.

The fix is one environment variable on that init container, added in sources/aiwb/1.0.32/templates/app-backend.yaml:

  • name: LIQUIBASE_ANALYTICS_ENABLED
    value: "false"

The problem from the review is that the fix only exists in the new sources/aiwb/1.0.32 chart, and nothing uses that chart:

  • The online install (root/values.yaml) uses OCI aiwb-chart 2.1.0.
  • The full-stack air-gap haul (hauler.sh) packs OCI aiwb-chart 2.0.0.
  • The Spur profiles (spur/packages/aiwb) use OCI aiwb-chart 2.1.0.
  • The standalone install script still points to sources/aiwb/1.0.31.

I rendered OCI aiwb-chart 2.0.0 and 2.1.0, and both run liquibase/liquibase:4.31 without the variable. So as the PR stands, an air-gapped install still runs Liquibase with
analytics on. The fix needs to go into the upstream aiwb-chart, or the air-gap path needs to switch to the patched chart.

@rodrodsilo

Copy link
Copy Markdown
Contributor Author

@brownzebra Liquibase change requested at https://github.com/AMD-SiloAI/core/pull/292

@blankdots blankdots 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.

lgtm

@rodrodsilo
rodrodsilo enabled auto-merge November 16, 2026 07:08
@rodrodsilo
rodrodsilo merged commit 2927cc6 into main Nov 16, 2026
10 checks passed
@rodrodsilo
rodrodsilo deleted the EAI-7091-support-air-gapped-deployments-for-ai-workbench branch November 16, 2026 07:08
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