[11:23] Hi All, while deploying openstack charm(pike bits) keystone charm is failing at shared-db relation with error "keystoneauth1.exceptions.http.InternalServerError: Internal Server Error (HTTP 500)" [11:24] can someone please help me here [11:25] i am refering charms from location: https://jujucharms.com/u/openstack-charmers-next/openstack-base-xenial-pike/ === ed is now known as Guest24106 === Guest24106 is now known as EdS === freyes__ is now known as freyes [14:41] Yo Tim :) this is awesome! https://insights.ubuntu.com/2017/10/11/private-docker-registries-and-the-canonical-distribution-of-kubernetes/ Am I right in thinking that this places the docker registry IN k8s? Would you have any advice for/against considering just adding a docker registry to our juju bundle definition of CDK? [14:43] I think I can figure most of it out, I'm just so early in the process of getting to grips with k8s/juju/maas I've been planning what to do almost as you're writing up "nearly what I want"! [14:46] Although, I suppose your method is much more efficient on the use of hardware. I like that. [16:54] /win 3 [17:00] morning all [17:49] juju show, juju show...everyone loves the juju show...10min [17:51] participation linky : https://hangouts.google.com/hangouts/_/52rzxhpdfff6fobzkl6vyf7txqe [17:51] and watching linky: https://www.youtube.com/watch?v=ZJG_1-ulGvI [17:58] 2min warning [18:38] hi juju reload-spaces with 2.2 is not properly getting changes to spaces from MAAS. juju spaces shows a subnet ended up under a wrong space, and also the cidr isn't getting updated. I'd like to repair the environment, is it ok to update the subnets and spaces collection to manually fix the enviornment until issues with reload-spaces are resolved? https://bugs.launchpad.net/juju/+bug/1705767 [18:38] Bug #1705767: reload-spaces doesn't update space names. [18:38] is it enough to update subnets an spaces collection to manually fix juju spaces? https://pastebin.com/eyVDJUja [18:39] wpk: jam ^ ? [18:39] mattrae: isn't there a command to update them from MAAS? [18:40] rick_h: it doesn't handle if you move a subnet from one space to another [18:40] we notice new ones [18:40] but we don't update existing ones [18:40] jam: oic, yea reload-spaces I was thinking of [18:40] there is a risk associated with moving a subnet if that subnet was in use [18:40] cause then apps that were using it are suddenly in another space [18:42] yeah the changes to the spaces/subnets in maas are not all getting reflected in juju spaces [18:42] mattrae: are these subnets in use, or not in use yet? [18:42] if they aren't in use, then probably updating the DB is ok [18:43] jam: yeah the subnet is currently in use, some units are bound to it right now i believe [18:43] mattrae: in which case, what will happen when you move it into another space is very much undefined behavior [18:44] mattrae: applications will have been configured to use specific IP addresses for particular use cases, etc, and suddenly those are no longer the right ones [18:44] which is why we didn't do all the work in refresh-spaces, because it has potentially long tails [18:46] jam: cool sounds good, i'll have to do some testing of the behavior in this environment [20:04] cory_fu: have a sec? I'm trying to figure out my best path forward for updating the prometheus charm with the updated trunk of charmhelpers then. I manually built using make source and copied it into the charm, but that's not going to work for the actual charm source. === nevermind is now known as Guest58598 === Guest58598 is now known as nevermind [20:40] Hello all. I'm seeing something with a recently installed set where jujud is consuming 300 - 600% cpu time on a 32 core system [20:41] I imagine that isn't expected? [20:43] And now mongo is consuming 2600% O.o [20:53] impressive, I'm still struggling to get juju to install. [20:54] jamesbenson, what's wrong? [20:55] The install was easy.. the consuming all the resources in sight was less easy/good [20:56] atrius: I installed maas and have that working properly [20:57] but getting juju to function is difficult. I just fixed some networking issues [20:57] but if I can ping you perhaps tomorrow that might be nice :-) [20:59] jamesbenson: Honestly, I just used snap and then conjure-up [20:59] Maybe that was my mistake since doing it that way seems to have resulted in.. interesting.. results [20:59] well I actually am trying conjure-up currently [21:00] but seems like nothing was actually setup... [21:00] we are trying to tie it into maas here... both juju and conjure. [21:01] jamesbenson:hit me up if you have questions [21:01] thank you! I will take you up on that. Where are you based out of? [21:02] rick_h, cory_fu: I want to know too! [21:05] bdx: so https://code.launchpad.net/~rharding/prometheus-charm/+git/prometheus-charm is my MP that with the updated charmhelpers that should work. I've tested it in non-CMR setup and will test it in a CMR setup later tonight [21:05] bdx: but in case that's useful to see how to use the new relation data and network-get stuff. [21:07] rick_h: great [21:07] thanks [21:07] but how do you get that charmhelpers branch into your charm? [21:08] do you have to build the sheel manually and put it in there? [21:08] wheel* [21:09] bdx: so I did ancharm build, and from checked out charmhelpers branch did a 'make source' and replaced the charmhelpers in the wheelhouse directory of the built charm. [21:10] ok, thats what I thought, perfect [21:10] thx thx [21:13] rick_h: https://github.com/jamesbeedy/interface-redis/blob/master/provides.py#L23 [21:14] its that ^ which I will want to be replacing with network_get() right? [21:14] anywhere where unit_get('private-address') is used [21:15] bdx: yes [21:15] You want to use ingress address [21:16] totally [21:17] but I think we didnt come to a conclusion about what happens when you want ingress from your private address space [21:17] because by default you get the public [21:17] right [21:18] so, when you only have private address space it should fall back to it though [21:18] is what jam was saying I think [21:18] bdx: yea the result is try it and see what is in the network info returned [21:18] totally [21:23] rick_h: so, its not really clear how I would use that in a interface, I need to pass it a relation_id obtained from the conversation ? [21:24] similar to https://github.com/jamesbeedy/interface-memcache/blob/master/requires.py#L36 [21:24] kind of [21:24] ? [21:29] or [21:29] I guess I see the other input param for relation id there [21:30] so, basically ... not really sure how I will get the endpoint name from the interface perspective [21:30] to be able to pass into network_get() [21:31] rick_h: possibly its an architectural flaw of mine in the interface design [21:32] and I possibly shouldn't be trying to get the local info about the node like network_get() in the interface [21:32] otherwise, I just think that the interfaces will need to be passed an extra argument by the layer [21:32] such that the interface knows what the endpoint name is [21:33] because the name is arbitrary at the layer level right? [21:33] so yeah, make it something thats passed in as relation info im thinking [21:34] oh, or I could just make the call to network_get() in the layer, and pass the 'host' info into the relation as relation info [21:34] jamesbenson: etc [21:36] ? [21:37] jamesbenson:east coast [21:37] US [21:37] ah, okay [21:37] thanks :-) CST here === nevermind is now known as Guest52612