New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql-k8s offline deployment fails "jammy not supported" #321
Comments
I tried again with a Juju bundle rather than from Juju CLI bundle: kubernetes
name: kubeflow
applications:
kfp-db:
charm: ./mysql-k8s_1852a95.charm
scale: 1
trust: true
constraints: mem=2G
resources:
mysql-image: 701143232170.dkr.ecr.eu-west-1.amazonaws.com/canonical/charmed-mysql:3b6a4a63971acec3b71a0178cd093014a695ddf7c31d91d56ebb110eec6cdbe1 Same result -> https://pastebin.ubuntu.com/p/G3QZVjMdXK/ |
Unable to reproduce with
Contents of manifest.yaml in mysql-k8s_1852a95.charm show that charm was built on 22.04 (so juju download is probably working correctly) analysis:
attributes:
- name: language
result: python
- name: framework
result: operator
bases:
- architectures:
- amd64
channel: '22.04'
name: ubuntu
charmcraft-started-at: '2023-09-01T11:54:53.671520Z'
charmcraft-version: 2.3.0 |
@gustavosr98 What's the ubuntu version of the host machine (i.e. the machine with the juju CLI)? |
Only difference in this command is I'm using GHCR instead of |
@carlcsaposs-canonical I suspect the difference is in proxy-in-use due to airgapped env. @jameinel can you hint us something here? It smells like Juju/networking issue here. BTW, I do not like in https://pastebin.ubuntu.com/p/G3QZVjMdXK/:
It is exactly in between:
@gustavosr98 as a shoot in a dark, can you specify |
@taurus-forever Already tried:
|
@gustavosr98 To confirm, is the machine with the juju cli running Ubuntu 22.04? |
@carlcsaposs-canonical It seems adding |
@gustavosr98 can you please post |
Juju Controllers are K8s pods Images $ kubectl describe -n controller-jc-ctrl pod/controller-0 | grep -i image
Image: 701143232170.dkr.ecr.eu-west-1.amazonaws.com/jujusolutions/juju-db:4.4
Image ID: 701143232170.dkr.ecr.eu-west-1.amazonaws.com/jujusolutions/juju-db@sha256:2462e1defdbfe5d649d765ab97d306f08409c501f16e7cd7beeea9c79721a251
Image: 701143232170.dkr.ecr.eu-west-1.amazonaws.com/jujusolutions/jujud-operator:2.9.45
Image ID: 701143232170.dkr.ecr.eu-west-1.amazonaws.com/jujusolutions/jujud-operator@sha256:e281ab108f4b72efffb878c11bc8c3a2dce999a9ef0906274eaa763ece27f2a1 OS $ kubectl exec -n controller-jc-ctrl -it pod/controller-0 bash
root@controller-0:/# $ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal |
@gustavosr98 at the moment we believe it is a Juju issue: https://bugs.launchpad.net/juju/+bug/2037771 (c) Joseph Phillips |
This should confirm it is not MySQL charm related On a different air gapped environment it seems working
|
I am trying to deploy mysql-k8s charm on an air-gapped environment
Steps to reproduce
Expected behavior
To deploy from local charm
Actual behavior
Tried in a couple different ways
Versions
AWS EKS K8s 1.25
Juju 2.9.45
Charm revision: 8.0/stable (local
mysql-k8s_1852a95.charm
)Log output
Additional context
Other charms, specifically from Charmed Kubeflow, do deploy on this air-gapped environment
The text was updated successfully, but these errors were encountered: