/srv/irclogs.ubuntu.com/2017/10/11/#juju.txt

AkshayHi 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:23
Akshaycan someone please help me here11:24
Akshayi am refering charms from location: https://jujucharms.com/u/openstack-charmers-next/openstack-base-xenial-pike/11:25
=== ed is now known as Guest24106
=== Guest24106 is now known as EdS
=== freyes__ is now known as freyes
EdSYo 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:41
EdSI 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:43
EdSAlthough, I suppose your method is much more efficient on the use of hardware. I like that.14:46
BlackDex /win 316:54
jamesbensonmorning all17:00
rick_hjuju show, juju show...everyone loves the juju show...10min17:49
rick_hparticipation linky : https://hangouts.google.com/hangouts/_/52rzxhpdfff6fobzkl6vyf7txqe17:51
rick_hand watching linky: https://www.youtube.com/watch?v=ZJG_1-ulGvI17:51
rick_h2min warning17:58
mattraehi 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/170576718:38
mupBug #1705767: reload-spaces doesn't update space names. <network> <spaces> <sts> <juju:Triaged> <https://launchpad.net/bugs/1705767>18:38
mattraeis it enough to update subnets an spaces collection to manually fix juju spaces? https://pastebin.com/eyVDJUja18:38
rick_hwpk: jam ^ ?18:39
rick_hmattrae: isn't there a command to update them from MAAS?18:39
jamrick_h: it doesn't handle if you move a subnet from one space to another18:40
jamwe notice new ones18:40
jambut we don't update existing ones18:40
rick_hjam: oic, yea reload-spaces I was thinking of18:40
jamthere is a risk associated with moving a subnet if that subnet was in use18:40
jamcause then apps that were using it are suddenly in another space18:40
mattraeyeah the changes to the spaces/subnets in maas are not all getting reflected in juju spaces18:42
jammattrae: are these subnets in use, or not in use yet?18:42
jamif they aren't in use, then probably updating the DB is ok18:42
mattraejam: yeah the subnet is currently in use, some units are bound to it right now i believe18:43
jammattrae: in which case, what will happen when you move it into another space is very much undefined behavior18:43
jammattrae: applications will have been configured to use specific IP addresses for particular use cases, etc, and suddenly those are no longer the right ones18:44
jamwhich is why we didn't do all the work in refresh-spaces, because it has potentially long tails18:44
mattraejam: cool sounds good, i'll have to do some testing of the behavior in this environment18:46
rick_hcory_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.20:04
=== nevermind is now known as Guest58598
=== Guest58598 is now known as nevermind
atriusHello all. I'm seeing something with a recently installed set where jujud is consuming 300 - 600% cpu time on a 32 core system20:40
atriusI imagine that isn't expected?20:41
atriusAnd now mongo is consuming 2600% O.o20:43
jamesbensonimpressive, I'm still struggling to get juju to install.20:53
pmatulisjamesbenson, what's wrong?20:54
atriusThe install was easy.. the consuming all the resources in sight was less easy/good20:55
jamesbensonatrius: I installed maas and have that working properly20:56
jamesbensonbut getting juju to function is difficult.  I just fixed some networking issues20:57
jamesbensonbut if I can ping you perhaps tomorrow that might be nice :-)20:57
atriusjamesbenson: Honestly, I just used snap and then conjure-up20:59
atriusMaybe that was my mistake since doing it that way seems to have resulted in.. interesting.. results20:59
jamesbensonwell I actually am trying conjure-up currently20:59
jamesbensonbut seems like nothing was actually setup...21:00
jamesbensonwe are trying to tie it into maas here... both juju and conjure.21:00
stokachujamesbenson:hit me up if you have questions21:01
jamesbensonthank you!  I will take you up on that.  Where are you based out of?21:01
bdxrick_h, cory_fu: I want to know too!21:02
rick_hbdx: 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 tonight21:05
rick_hbdx: but in case that's useful to see how to use the new relation data and network-get stuff.21:05
bdxrick_h: great21:07
bdxthanks21:07
bdxbut how do you get that charmhelpers branch into your charm?21:07
bdxdo you have to build the sheel manually and put it in there?21:08
bdxwheel*21:08
rick_hbdx: 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:09
bdxok, thats what I thought, perfect21:10
bdxthx thx21:10
bdxrick_h: https://github.com/jamesbeedy/interface-redis/blob/master/provides.py#L2321:13
bdxits that ^ which I will want to be replacing with network_get() right?21:14
bdxanywhere where unit_get('private-address') is used21:14
rick_hbdx: yes21:15
rick_hYou want to use ingress address21:15
bdxtotally21:16
bdxbut I think we didnt come to a conclusion about what happens when you want ingress from your private address space21:17
bdxbecause by default you get the public21:17
bdxright21:17
bdxso, when you only have private address space it should fall back to it though21:18
bdxis what jam was saying I think21:18
rick_hbdx: yea the result is try it and see what is in the network info returned21:18
bdxtotally21:18
bdxrick_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:23
bdxsimilar to https://github.com/jamesbeedy/interface-memcache/blob/master/requires.py#L3621:24
bdxkind of21:24
bdx?21:24
bdxor21:29
bdxI guess I see the other input param for relation id there21:29
bdxso, basically ... not really sure how I will get the endpoint name from the interface perspective21:30
bdxto be able to pass into network_get()21:30
bdxrick_h: possibly its an architectural flaw of mine in the interface design21:31
bdxand I possibly shouldn't be trying to get the local info about the node like network_get() in the interface21:32
bdxotherwise, I just think that the interfaces will need to be passed an extra argument by the layer21:32
bdxsuch that the interface knows what the endpoint name is21:32
bdxbecause the name is arbitrary at the layer level right?21:33
bdxso yeah, make it something thats passed in as relation info im thinking21:33
bdxoh, or I could just make the call to network_get() in the layer, and pass the 'host' info into the relation as relation info21:34
stokachujamesbenson: etc21:34
jamesbenson?21:36
stokachujamesbenson:east coast21:37
stokachuUS21:37
jamesbensonah, okay21:37
jamesbensonthanks :-) CST here21:37
=== nevermind is now known as Guest52612

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