canonical / bundle-kubeflow

Charmed Kubeflow
Apache License 2.0
97 stars 48 forks source link

Test CKF 1.8 in airgapped environment #889

Open ca-scribner opened 2 months ago

ca-scribner commented 2 months ago

Context

We need to test CKF 1.8 in an airgapped environment after:

What needs to get done

.

Definition of Done

  1. CKF 1.8 is shown to work in airgapped
syncronize-issues-to-jira[bot] commented 2 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5643.

This message was autogenerated

NohaIhab commented 1 month ago

During test CKF in airgapped, it has been discovered that some charms' images were not in the local registry, and are not in the retagged-images.txt. Turns out the new charms in CKF 1.8 do not have the get-images.sh in their repos that is necessary for get-all-images.sh to add the images to the list and pull them. To fix that, I sent PRs for these charms to have the script: https://github.com/canonical/mlmd-operator/pull/83 https://github.com/canonical/pvcviewer-operator/pull/37 https://github.com/canonical/envoy-operator/pull/96

In addition, the mysql-k8s-operator charm was missing the github dependency repo and branch fields in our 1.8 bundle yaml, these are necessary for the get-all-images.sh script to get the mysql image. Sent a fix in #902.

NohaIhab commented 1 month ago

To run the tests, we are using the script in bundle-kubeflow repo to setup the airgapped env. The script did not work out of the box with uk8s 1.25 and juju 3.1, in addition to a bug in py-docker. To address these blockers, I sent #904. See all the details in the PR description.