/srv/irclogs.ubuntu.com/2020/08/18/#smooth-operator.txt

axinohi07:46
axinohttps://github.com/canonical/charmcraft/blob/12ceda1ecfa64be5d2636e453e968d574e952324/charmcraft/templates/init/.jujuignore.j207:46
axinowhat is /env for ?07:46
bthomasIf I try to deploy the prometheus charm with a microk8s controller I get the error : "ERROR local charm missing OCI images for: nginx-image, prometheus-image"10:30
bthomasIf I try to supply the "--to lxd" option to "juju deploy" I still get an error : "ERROR --to cannot be used on k8s models"10:30
bthomasIs there any way to deploy a charm locally using microk8s ?10:31
Chipacabthomas: with microk8s, yes10:31
Chipacabthomas: but I don't know how to tell microk8s about an oci image10:32
* Chipaca googles10:32
* bthomas googles10:33
bthomasChipaca: Let me try and change the yaml config to use lxc/lxd images. It may simplify things. I see no reason why we should insist in oci images, and spend the time to deal with this complexity. I will google a bit though.10:34
Chipacabthomas: but lxc/lxd isn't k8s10:35
Chipacabthomas: 1 sec10:36
Chipacajuju deploy /path/to/mycharm --resource workload_image=myimage:latest10:36
Chipacabthomas: ^10:36
Chipacabthomas: similarly,10:36
Chipacajuju upgrade-charm myapp --path /path/to/charm --resource my_image=imagename10:36
Chipacaall this from https://discourse.juju.is/t/error-attaching-oci-resource-to-juju-charm-using-containerd/1354/6?u=chipaca10:37
bthomasChipaca: thanks. Let me read that and try.10:37
bthomasYep "--resource" option did work. There are other issue but that is with my charm and for me to dig.10:41
Chipaca:) huzzah10:41
facubatista¡Muy buenos días a todos!11:19
Chipacafacubatista: 👋❗11:20
facubatistaHola Chipaca!11:20
bthomasMorning facubatista : Hope you had a good break .11:25
facubatistahello bthomas!11:25
facubatistathanks11:25
bthomasState handling in my refactored prometheus charm is buggy (throws an exception). I am stuck with unable to destroy the model into which I deployed this prometheus charm. juju destroy times out after 30m. Send attempt has been running for 25. Help I am drowning.11:53
* bthomas prays to the gods of charmcraft to protect himself from his own stupidity11:53
Chipacabthomas: does your last mean you figured it out?12:04
bthomasChipaca: just added --no-wait and --force options to juju destroy-model and trying again12:04
bthomasthis worked12:04
Chipacak12:04
bthomasIn ops.model.status_get() a subprocess call (from _run) is made to execute the command "status-get". Where is "status-get" coming from ?13:34
Chipacabthomas: hook tools13:36
Chipacabthomas: https://discourse.juju.is/t/hook-tools/1163#heading--status-get13:36
bthomasChipaca: thank you13:36
narinderguptamacChipaca, Thankyou for your help I have Cassandra status working currently and I can create Cassandra cluster.14:04
narinderguptamac juju status14:05
narinderguptamacModel           Controller  Cloud/Region        Version  SLA          Timestamp14:05
narinderguptamaccassandramodel  k8s-cloud   microk8s/localhost  2.8.1    unsupported  14:05:18Z14:05
narinderguptamacApp        Version                         Status  Scale  Charm      Store  Rev  OS          Address         Notes14:05
narinderguptamaccassandra  gcr.io/google-samples/cassa...  active      3  cassandra  local    0  kubernetes  10.152.183.23714:05
narinderguptamacUnit          Workload  Agent  Address      Ports                       Message14:05
narinderguptamaccassandra/0*  active    idle   10.1.16.254  7000/TCP,7001/TCP,9042/TCP  Pod is Ready14:05
narinderguptamaccassandra/1   active    idle   10.1.16.3    7000/TCP,7001/TCP,9042/TCP  Pod is Ready14:05
narinderguptamaccassandra/2   active    idle   10.1.16.2    7000/TCP,7001/TCP,9042/TCP  Pod is Ready14:05
facubatistaChipaca, standup?15:31
Chipacafacubatista: and dance!15:36
bthomasChipaca: could you kindly check mattermost16:10
bthomasWhew! Am going to call it a day.17:02
bthomasI will try and refactor prometheus charm to opslib tomorrow.17:02
* facubatista eods20:43
ChipacaEODing sounds like a Good Idea21:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!