jcastro | tseliot: got a sec? our team ran into a nvidia/cuda problem that sounds simple but I wanted to ask you your opinion | 14:37 |
---|---|---|
tseliot | jcastro: sure | 14:38 |
jcastro | tseliot: so we're installing the nvidia cuda bits for kubernetes on our nodes, but we're kind of hamfisting it so it's bringing in a ton of ubuntu desktop stuff which obviously fails when trying to install on a server | 14:40 |
jcastro | https://github.com/juju-solutions/layer-nvidia-cuda/blob/master/reactive/cuda.sh | 14:40 |
jcastro | we're not too familiar with packaging, so I think we're just kind of downloading a ton of stuff and splatting it on disk | 14:41 |
jcastro | so the question is, is there a way we can do GPU drivers without dragging in a bunch of desktop bits? | 14:41 |
tseliot | jcastro: what is it exactly that's failing? Seeing the actual error might help me understand things a little better | 14:42 |
jcastro | working on that now | 14:42 |
jcastro | https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/248 | 14:44 |
jcastro | so at some point in the dependency chain it brings in parts of unity | 14:44 |
tseliot | jcastro: err... dpkg: error processing package bluez | 14:48 |
tseliot | what does that have to do with nvidia? | 14:48 |
jcastro | right, by trying to install the cuda stuff it starts to bring in parts of the desktop | 14:48 |
jcastro | so it fails because there's no bluetooth on a server | 14:48 |
jcastro | I was hoping you would know how we can do an nvidia driver installation without bringing in all the other stuff, we're already doing a --no-install-recommends | 14:49 |
tseliot | jcastro: how do I reproduce the problem here? | 14:49 |
mbruzek | tseliot: does your laptop have a GPU | 14:49 |
tseliot | mbruzek: I've never seen one without a GPU ;) | 14:50 |
mbruzek | conjure-up --channel candidate kubernetes-core | 14:51 |
mbruzek | You will have to snap install conjure-up --channel beta | 14:51 |
tseliot | error: snap "conjure-up" requires classic or confinement override | 14:53 |
tseliot | (the output of snap install conjure-up --channel beta) | 14:53 |
jcastro | tack a --classic on the command | 14:53 |
tseliot | ok | 14:54 |
jcastro | http://paste.ubuntu.com/24308435/ | 14:55 |
jcastro | looks like kos was able to get a full log | 14:55 |
tseliot | BTW things failed here http://pastebin.ubuntu.com/24320717/ | 14:58 |
tseliot | jcastro: it is still trying to install both nvidia-prime and nvidia-settings (which are only recommended by nvidia-375) | 15:03 |
tseliot | jcastro: because this is the command that installs nvidia: apt install -yqq --allow-downgrades --allow-remove-essential --allow-change-held-packages cuda | 15:04 |
tseliot | and there's no mention of not installing recommended dependencies there | 15:05 |
jcastro | aha! | 15:05 |
tseliot | it sounds like an easy fix | 15:06 |
jcastro | \o/ ok we'll try that | 15:06 |
jcastro | I was hoping there was just some cuda_headless magical deb somewhere heh. :) | 15:06 |
tseliot | :) | 15:06 |
mbruzek | tseliot: so on 239 use --no-install-recommends ? | 15:09 |
tseliot | mbruzek: I'm not sure if apt supports that | 15:12 |
mbruzek | changing it to apt-get | 15:12 |
tjaalton | I hope everyone is running zesty by now and upgraded to the shiny new xserver 1.19.3 | 15:56 |
alkisg | ...if you backport that to 16.04, we will :P | 16:51 |
tjaalton | later | 16:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!