/srv/irclogs.ubuntu.com/2020/03/20/#juju.txt

kelvinliuwallyworld: I just had a test, juju bootstrap to microk8s, we have rbac resource created. and https://pastebin.ubuntu.com/p/5m5Bj9Ytg2/00:03
wallyworldkelvinliu: did you clear out your local clouds.yaml first?00:03
kelvinliubut the rbac resources won't be deleted if the ctrl is killed/destroyed. there is card for this https://trello.com/c/KrqgRMeH/951-remove-mcirok8s-credential-in-destroy-kill-controller00:04
wallyworldand credentials.yaml00:04
kelvinliuyes, I did00:04
wallyworldand your cred.yaml is missing the rbac-id?00:04
kelvinliuthe rbac-id for microk8s is `microk8s`00:06
kelvinliuit's not a uid00:06
kelvinliubecause we have only one buildin k8s cloud00:06
wallyworldand yet when i run cat microk8s.config | juju add-k8s foo it does put in a rbac-id00:07
wallyworldso it's not consistent00:07
wallyworldand there's also now microk8s clusters00:07
kelvinliuif it's add-k8s, then u can have many microk8s cloud but it's not a buildin cloud anymore00:07
wallyworldso you could access externally like any other k8s cloud00:07
wallyworldthat is true00:08
kelvinliuthe `juju-credential-microk8s` rbac resources are not cleared after controller is destroyed because the credential is not deleted which is a todo as the card said00:10
thumperwallyworld: sorry, was out having lunch00:27
thumperquick k8s questions with units00:28
wallyworldno worries, just wanted to touch base on a charm issue00:28
thumperdo we call hostDestroyOps?00:28
wallyworldin standup now for reals00:28
thumpersorry00:28
thumperdestroyHostOps00:28
wallyworldi'll check after standup00:28
thumperack00:28
thumperwallyworld: actually when you're done I should talk with you about k8s models and the all watcher00:32
thumperI'm in the code now, and I'm worried00:32
thumperactually less worried now00:35
* thumper keeps reading00:35
babbageclunkphew00:35
tlm[m]?00:36
wallyworldthumper: wanna jump in standup?00:37
thumperyeah00:37
thumperomw00:37
thumperugh... some of our tests are awful03:35
thumperwho would have thought that a simple denormalisation would trigger so many bad tests03:38
thumperok... I wouldn't have thought that03:38
thumperbut in many places, we were creating subordinates for units that weren't assigned to machines03:39
thumperwhich is kinda bad03:39
thumpersome of our tests are incredibly contrived situations that can never happen in the normal flow of real deployments05:01
thumperlike opening a port on a unit that isn't assigned to a machine05:01
thumperthat'll never happen05:01
flxfoohi all09:57
flxfoois there any charm for a redis cluster running for bionic?09:57
stickupkidflxfoo, https://jaas.ai/u/omnivector/redis-cluster/bundle/110:21
flxfoothanks stickupkid10:21
manadartstickupkid: Can you look at https://github.com/juju/juju/pull/11330 ? I still need to add some tests, but I expect that to be the only change from here.11:43
stickupkidmanadart, yeah, I'll get to it in a bit, fighting microstack atm11:43
stickupkidmanadart, did you ever get this bootstrapping to microstack?11:51
stickupkidERROR failed to bootstrap model: cannot start bootstrap instance in availability zone "nova": cannot run instance:  with fault "No valid host was found. "11:51
manadartstickupkid: Nope.11:51
manadartstickupkid: You import the image, add the stream and so on?11:52
stickupkidi'll show you one sec11:52
hmlstickupkid:  that’s a typical can’t create the host error msg from o7k11:53
stickupkidmanadart, https://github.com/juju/juju/pull/11253/files#diff-a86032d7aeab77815b81f23cdfb4692111:53
hmlstickupkid: you’d have to look at the nova logs to find the cause11:53
stickupkidyay11:53
hmlstickupkid:  not enough memory or some random failure11:53
hmlstickupkid: it’s the catch all error message for shit didn’t work…. :-D11:53
stickupkid\o/11:54
stickupkidhml, seems legit actually https://paste.ubuntu.com/p/rGBWN5w4B7/11:57
hmlstickupkid: usually there’s a better msg burried in the logs.  there are many nova logs, trying to remember which one specifically.12:03
hmli don’t see the cause of the “NoValidHost” in the pastebin12:04
hmlstickupkid: maybe this is the ptr to the issue “nova/scheduler/manager.py", line 156, in select_destinations”12:05
hmlthey left the reason empty just to be helpful.  ;-D12:05
hmlstickupkid: i think i found my permission issue… the ugprade wsa handled by the machine agent… and the errors where in the unit agent….12:20
hmlthe machine agent handled things okay…12:20
hmlnow the question is now NOT to run in the unit agent.12:21
stickupkiddamn it12:50
stickupkidit's multpass :(12:50
stickupkidi <- o/12:50
stickupkidI'm giving it 12G of ram, how much more does it want! what does it think it is, mongo!12:51
rick_h_lol, we have a joke that our dog can count "1..2...all of them". So when she sees bones she says she has "1..2...all of them"12:52
rick_h_sounds like multi-pass wants "1...2..all of them" memory :)12:52
stickupkidmy tests pass locally though, so that's a bonus12:53
zeestratWe usually say that it's like a garage. It's either new or full ;)13:16
hmlachilleasa_:  responded to a few comments.  have a read and let me know if we should chat?13:30
achilleasa_hml: thanks for the comments.13:45
=== achilleasa_ is now known as achilleasa
hmlachilleasa:  HO?13:46
achilleasasure13:46
stickupkidmanadart, CR done14:09
manadartstickupkid: Thanks.14:09
stickupkidhml, it's not memory that's an issue14:09
stickupkidMemory usage:   5.4G out of 23.5G14:09
hmlstickupkid:  can you make an instane with a bigger flavor?14:09
hmlstickupkid: processor?14:10
stickupkidgiven it 12 cores14:10
stickupkidOT: I do like this cattle setup - I can totally just chuck everything out and start again14:11
stickupkidhml, DISK SPACE14:22
stickupkidnot getting that time back - but it's almost working now14:22
hmlstickupkid: that was my next guess, some sort or resource issue usually14:22
stickupkidthat's probably the worst error message I've ever seen14:23
hmlstickupkid: ha!  I like “Error” too14:23
hmlstickupkid: had to track that down in juju.  or was it “Error not found”. and that was it printed14:24
hmlstickupkid: but agreed NoValidHost is a pita14:24
stickupkidproof it works https://paste.ubuntu.com/p/Rxb8hxqKYk/14:24
stickupkidjuju needs to shut the f'up about image metadata though, that's just not right14:24
stickupkidI'm so happy14:25
stickupkidright, how do I shut juju - mission 214:26
stickupkidhml, up there with this error message https://content.spiceworksstatic.com/service.community/p/post_images/0000291424/5a6917f0/attached_image/task_failed_successfully.png14:27
hmlstickupkid: alol14:27
stickupkiddid anyone test the new python static analysis - i'm getting loads of syntax errors14:52
flxfoostickupkid: sorry to disturb, you mentionned using the redis-cluster charm... when I tried to use it (within cakephp), I gave the ip of the leader, but I have an exception saying that another member "MOVED"... Do I have to check a special configuration for the cluster?16:05
flxfooor cakephp16:05
stickupkidflxfoo, you need to tell cakephp to follow the redirects, I'm unsure how you'd do that without digging16:16
achilleasarick_h_: I got the relation-created bits working with my refactoring changes. Still have to type the PR description and QA steps (quite a few scenarios) but if you want to try it out it's here: https://github.com/juju/juju/pull/11341 (you can try juju deploy ./testcharms/charm-repo/quantal/all-hooks -n 2)18:34
rick_h_achilleasa:  awesome ty18:37
flxfoostickupkid: ok, so that will not be out of the box then... thanks19:07

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