/srv/irclogs.ubuntu.com/2020/01/09/#juju.txt

kelvinliuwallyworld: jujuqabot/jujud-operator:2.8-beta1.3113  image pull failed01:06
kelvinliuwallyworld: ho?01:06
kelvinliuwallyworld: https://github.com/juju/juju/pull/11084 got his pr to fix CaaS bootstrap on develop, +1 plz01:47
wallyworldkelvinliu: am in meeting but i will ping soon to talk about the build num PR04:12
kelvinliuwallyworld: yep, gonna grab some food, back in ~15mins04:13
kelvinliuwallyworld: im back, ping me when ur ready.04:27
wallyworldkelvinliu: free now?05:07
kelvinliuyes05:08
wallyworldok, am in standup05:08
stickupkidmanadart, https://github.com/juju/python-libjuju/pull/38110:26
manadartstickupkid: Done. I have uncovered a an issue with CMR and the allwatcher, which is affecting the model cache :(10:30
stickupkidmanadart, YESSS! ho?10:30
manadartstickupkid: Yep.10:35
stickupkidrick_h, this will unblock pylibjuju for future jujus https://github.com/juju/python-libjuju/pull/38212:52
iceyis it just me or does Juju not create security group rules for IPv6 when you open_port something? I don't see an option to do IPv6 either13:15
icey(on OpenStack)13:15
rick_hicey:  ipv6 and juju :( we don't officially support it honestly13:16
hmlicey: it should, i remember seeing the code13:17
hmlicey: but also what rick_h  said13:17
iceyrick_h: color me sad; if there's IPv6 on the network, Juju shows that in the status, but opening the port doesn't seem to actually create the security group rule for it :-/13:17
hmlicey: it could be that the security groups are created for ipv6 when a juju unit is created, but it doesn’t follow thru the open_port code13:18
iceyhml: yeah - I see the egress rule created for 0.0.0.0/0 and ::/0, but the open_port ingress rule is only created for ipv413:19
iceyoh well, call it wishlist :)13:19
nammn_demanadart: are my thouhts correct? For finding all the bindings in that space I would do the following:  get all endpointsbindings, look at each binding map (inverse) and see whether the space is used. or do we have an easier/faster way given the database layout16:23
manadartnammn_de: That's how I understand it. achilleasa has been all up in that and might know an alternative.16:32
* achilleasa thinks16:35
achilleasanammn_de: is that for an application?16:35
manadartachilleasa: Yes.16:36
achilleasanammn_de: I think the easiest approach is to create one of these: https://github.com/juju/juju/blob/develop/state/endpoint_bindings.go#L499 and then iterate the returned map from Map (for spaceIDs) or MapWithSpaceNames16:40
achilleasa(just pass nil as the last arg of the ctor to get what's in the DB)16:42
nammn_deachilleasa: great, thanks! Yeah was looking at the code you send before that. Was planning to do that similiarily16:53
=== hml_ is now known as hml
=== sfeole is now known as sfeole_away
nammn_demanadart achilleasa: can i always deduce the application name from the endpointbinding _id? e.g. "32fee8a8-650b-46ed-8664-4d91d99f4b7c:a#haproxy" -> haproxy this would reduce the queries i need to make18:16
hmlnammn_de: https://github.com/juju/juju/blob/develop/state/endpoint_bindings.go#L272  so, yes18:19
nammn_dehml: great, thanks!18:20
hmlnammn_de: but that’s not necessariily the best way to go18:20
hmlnammn_de: usually there’s a better way than looking at a doc id18:20
nammn_dehml: my current approach to list all the applicationbindings using a space was the following: `get all endpoints  from collection` -> `check whether binding to that space exists` -> if yes ->  deduce application name18:21
nammn_decouldn't think of a shorter way to get all applications running with a space binding18:22
hmlnammn_de: all endpoint bindings have a space.  even if it’s just the default18:24
hmlnammn_de: depends on what you mean by “running”18:24
hmlexplicitly using?18:24
nammn_dehml: yeahh I meant by searching for a specific space18:24
nammn_dee.g. show-space18:24
nammn_deshows all applications bindings using that space18:24
nammn_deshow-space db-space, should show all applications which have endpoints bound to db-space18:25
nammn_deso show-space _default(or alpha?) should show all, if nothing bind yet, i think18:25
hmlnammn_de: bbiab, i have a phone call18:27
nammn_dehml: sure, thanks :)18:28
hmlnammn_de: back phone call moved.18:32
nammn_dehml: we can HO quick18:32
nammn_demaybe more clear18:32
hmlnammn_de: looks like there isn’t a clean way to do that query.18:32
hmlnammn_de:  sure - daily?18:33
nammn_dehml: comming18:33
roadmrdo newer jujus support ipv6?18:53
evhanHi folks, I'm writing a bundle but juju isn't liking my YAML, saying that the "bundle overlay file used deprecated 'services' key, this is not valid for bundle overlay files". I've just tried again with `applications` and that seems to have worked. Is this the right fix?21:30
rick_hevhan:  yea, services were renamed to applications back in juju 2.0 and I think overlays came along and nudge folks in the right path21:31
evhanCool, ty.21:31
roadmrdo newer jujus support ipv6? 🤔21:43
rick_hroadmr:  it supports it by ignoring it basically. It's not fully supported tbh. If the machines come up with it we make sure not to go boom21:44
rick_hroadmr:  what are you trying to do?21:44
roadmrusing juju on a network with ipv6 only? :)21:44
rick_hroadmr:  I think icey was asking about firewall support earlier today so curious if it's the same issue or something else?21:44
rick_hyea...not sure that's ever been done21:45
roadmrrick_h: something else - I think simpoir's home network (and all his configuration) are ipv6 and he was trying to use juju with lxd provider and got a "juju doesn't ipv6"21:45
rick_hat one point we had a customer driving it as a use case but then they didn't need it and it never got on the roadmap21:45
rick_hyea21:45
roadmrrick_h: no big deal tbh, mostly a "just curious, will it work?" kind of question :)21:45
rick_hno sorry, always wanted to get that going21:46
roadmrno problem :)21:49
roadmrat least I'm happy that the anarchy situation got resolved, apparently one of the controllers was reset and leaders were elected everywhere21:50
babbageclunkroadmr: sorry I didn't think to check the snapshots until after you'd blown away the model!21:59
roadmrbabbageclunk: hehe no problem!21:59
roadmrfwiw we never redeployed - we got held up by the controller troubles, but when one of them was reset trying to solve that, leaders magically appeared21:59
babbageclunkroadmr: ah, yeah, that would do it too. It seems like the cause was unit 1816 still running (for some unknown reason). But if the controller went down, it wouldn't have been able to log back in, and might have removed itself from systemd. Would be worth checking the unit files on your machines?22:03
roadmrsure, I can check with verterok tomorrow22:27

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