canonical / bundle-kubeflow

Charmed Kubeflow
Apache License 2.0
103 stars 49 forks source link

Error installing microk8s with juju 2.8 #219

Closed amr-elsehemy closed 3 years ago

amr-elsehemy commented 4 years ago

Hello, I've been attempting the installation in the past few days again and it seems like there are new unaddressed issues between juju 2.8 and microk8s

here's what happens when I run this line sudo snap install microk8s --classic

after installing juju and cd into bundle-kubeflow dir

error: cannot perform the following tasks Run hook connect-plug-peers of snap "juju" (run hook "connect-plug-peers": error: error running snapctl: cannot perform the following tasks: start of [juju.fetch-oci] (# systemctl start snap.juju.fetch-oci.service Job for snap.juju.fetch-oci.service failed because the control process exited with error code. See "systemctl status snap.juju.fetch-oci.service" and "journalctl -xe" for details. ) start of [juju.fetch-oci] (exit status 1) )

I tried falling back to juju 2.7 but I'm facing other issues with cert-manager-webhook-operator pod can't be located ..

attached a photo to show the problem,

is there any solution to these problems either for v2.7 or v2.8

juju-issue

knkski commented 4 years ago

@amr-elsehemy: This is due to this issue: https://bugs.launchpad.net/juju/+bug/1881769

That should be fixed in the Juju 2.8.1 snap, but in the meantime, downgrading the juju snap (or uninstalling it) will fix the problem:

sudo snap switch juju --channel 2.7/stable
sudo snap refresh
knkski commented 4 years ago

As far as the issue with cert-manager goes, it looks like you're deploying with the scripts/cli.py script from this repo. You'll want to make sure you're using the latest version (git checkout master && git pull), as cert-manager has been moved to a separate bundle: https://github.com/juju-solutions/bundle-cert-manager

DomFleischmann commented 3 years ago

Wit this issue being almost 1 year old and juju being now on 2.9 we can close this issue.

If you are able to reproduce this in the latest kubeflow bundle and the issue is still relevant feel free to reopen it.