/srv/irclogs.ubuntu.com/2017/03/16/#juju.txt

stormmoreactually looks like a CA issue :-/01:04
hardysany one can help -> Problem with juju bootstrap02:22
hardysthe command.log is under https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/1042 , and the first lds server is in deployed state under maas...02:28
ybaumyis there a way to logon to a failed commission machine in maas06:43
ybaumyi need to debug06:44
ybaumyi tried ubuntu/ubuntu06:44
=== frankban|afk is now known as frankban
kjackalGood morning Juju world!08:08
Zichi here :)09:10
ZiclazyPwr: just discovered a bug after 1.5.2 -> 1.5.3 upgrade:09:10
Zicroot@mth-k8smaster-01:~# kubectl exec -it nginx-ingress-controller-0lxzg /bin/bash09:10
ZicError from server: error dialing backend: x509: certificate signed by unknown authority09:10
Zicit just affect the "kubectl exec" subcommand09:10
Zicall other kubectl subbcommands works with no certificate error09:10
Zicany clues?09:10
kjackalHi Zic, thank you for reporting this09:11
Zicanother one: "kubectl logs" is also affected09:11
Zicas I regularly do other subcommand, I think only exec & logs are affected09:12
kjackalwould you be able to open an issue so we can track this down?09:13
kjackalZic: https://github.com/kubernetes/kubernetes/issues09:13
Zicyep09:13
kjackalZic many thanks09:14
Zicfor information, the kubectl logs error is a bit more explicit: Error from server: Get https://mth-k8s-02:10250/containerLogs/development/phpbackend-w0bnv/phpbackend: x509: certificate signed by unknown authority09:16
Zicso I just curl'ed this09:16
Zic(openssl s_client -connect mth-k8s-02:10250 actually)09:17
Zichttp://paste.ubuntu.com/24187612/09:18
kjackalAnd this is after upgrading from 1.5.2 to 1.5.3, right? I will try to repro today09:20
Zicand it fact, certs was updated if I observe their date:09:20
Zichttp://paste.ubuntu.com/24187616/09:20
Zickjackal: yep, all charms of the CDK bundle to latest version09:20
Zicincluding EasyRSA09:20
kjackalDo you have the issue URL?09:20
ZicI'm writing it, just a moment :)09:20
kjackalThanks09:21
Zicwas collecting some more logs to add to it ^^09:21
Zichmm, s/just a moment/I will ping you with the issue's URL/ (because morning do disaster: "GitHub: There have been several failed attempts to sign in from this account or IP address.")09:24
Zicit seems that I don't know to type my GitHub's password without a coffee09:24
Zic"Please wait a while and try again later."09:25
kjackal:)09:25
Zicjust got access to my GitHub's account :D I'm preparing the issue :)09:41
=== frankban is now known as frankban|afk
Zickjackal: https://github.com/kubernetes/kubernetes/issues/4320910:01
kjackalAwesome, thank you Zic10:02
Zicdon't know if I need to tag something because it's about CDK10:03
Zic(I precised it in the title and "Install tools")10:03
kjackalok, Zic10:05
=== frankban|afk is now known as frankban
cnfmorning10:37
cnfif you add a maas to juju, does juju use your credentials to do things for all users? or does every user needs their own maad credentials?10:38
BlackDexHello there. I'm using maas togher with juju (or the other way arround ;) ). Now i wonder if i want to use the latest LXD version 2.11 instead of 2.8, is that possible with juju?11:09
BlackDexcnf: Depends, if you share your juju credentials, then yes.11:09
kjackalcnf: looking here https://jujucharms.com/docs/2.1/clouds-maas each user should/could have its own maas certs that need to be passed to juju11:09
cnfkjackal: could, or has to?11:10
cnfkjackal: so a user needs some maas credentials to use the juju command to provision against maas?11:10
BlackDexcnf: Yes11:10
BlackDexwithout credentials juju can't connect and control maas11:11
cnfBlackDex: after bootstrapping11:11
cnfkjackal: so that means anyone using juju, at any time, needs credentials for the controller, AND the cloud juju is running on?11:14
kjackalcnf: correct11:15
cnfhmm...11:15
cnfthat's a lot of account-making11:16
kjackalcnf: the benefit is that changing cloud (eg moving from maas to aws and back) is transparent11:18
cnfhow so?11:18
cnfhmm11:20
cnfkjackal: so how does the juju webui work?11:20
cnfthat caches credentials, doesn't it?11:20
kjackalI have credentials for aws, openstack, local deployment with lxd and google's GCE. I imported the credentials once and I can switch between clouds with juju switch, everyhing else stays the same (juju deploy kubernetes everywhere)11:20
cnfkjackal: but those are juju credentials11:21
cnfkjackal: so if i make a juju controller on AWS, and i make a user on that controller for you11:21
cnfdo you then need AWS credentials to use that controller?11:21
kjackalcnf: have a look here: https://jujucharms.com/docs/2.1/tut-users11:26
kjackalcnf: here is a better explanation on the users in juju https://jujucharms.com/docs/2.1/users11:29
cnfyeah, been reading that12:09
cnfit's not entirely clear to me, still12:09
cnfkjackal: https://jujucharms.com/docs/2.1/tut-users seems to imply juju caches the cloud credentials used during bootstrap, and uses that for all juju users12:12
anrah_Can I introduce new relation on existing charm?12:45
anrah_Meaning that I'm running some version of the charm and now implemented new relation and when I upgrade the charm it seems like the charm does not recognize that it has should have relation12:46
kjackalcnf: seems so!12:52
kjackalanrah_: You cannot do a add-relation?12:54
anrah_No, it says No relations found12:55
cnfok, i think i have stuff sorted, now13:02
cnfmade a special juju user for maas13:02
cnfnow to figure out how to get a _working_ openstack deployed with juju13:02
kjackalanrah_: can you double check that you have updated both the metadata.yaml and the layer.yaml with the interfaces of the relation?13:02
anrah_yes, when I deploy from scratch the relation is available13:03
anrah_But when upgrading the charm the new relation is not available13:03
kjackalI see so it only through the update that the relation is not available13:03
anrah_Yes13:04
kjackalcan you please open a bug or send an email to the list so that you raise awareness?13:04
anrah_Sure!13:05
erik_lonrothHello, I'm looking for a good example charm for interfacing against "postgresql" (interface:pgsql). I'm about to create my first charm with juju and have read up alot but still find it a bit daunting to create and use juju with my application.13:08
erik_lonrothAny help apprechiaed13:09
kjackalhi erik_lonroth here is the list of charms using the pgsql relation https://jujucharms.com/requires/pgsql . The postgresql client seems a good place to start: https://jujucharms.com/u/postgresql-charmers/postgresql-client/313:15
erik_lonrothkjackal: Thanx!13:28
kjackalHey rick_h where was this zeppelin based dashboard you have? I want to steal some metrics from there:)13:30
=== petevg_afk is now known as petevg
kklimondahow can I get IP addresses of all application units? any code I could look at13:52
kklimondahmm, probably relation_ids with correct relation13:54
kjackalkklimonda: https://github.com/juju-solutions/interface-zookeeper-quorum/blob/master/peers.py#L4113:59
kklimondathanks13:59
disposable2cnf: i don't know whose balls you had to scratch to get this much help from this channel but bravo14:33
cnfdisposable2: just persistence, i guess :P14:37
erlonguys does anyone knows how do I connect to a mysql server that juju installed as admin user?14:54
erlonI do can log using the credentials of the services (like cinder nova), but I need elevated permissions14:55
BlackDexdoes juju support lxd 2.10/2.11? So can i use the lxd ppa? (ppa:ubuntu-lxc/lxd-stable)14:56
BlackDexi see that conjure-up now supports it, but does that implicate that juju supports it?14:56
rick_hBlackDex: yes, conjure-up uses juju so it supports it.15:00
BlackDexoke nice15:01
cnfhmm, how does machine affinity work in bundle .yml files?15:03
cnfi see things like to: lxd/1, but  lxd on what machine?15:04
BlackDexcnf: in a bundle file that would be lxd:1 then15:04
BlackDexwhich means lxd container on machine 115:04
cnfah, ok15:04
BlackDexto define specific machines i suggest to create tags in maas15:04
BlackDexlike machine1, machine2 etc...15:05
cnfcan i also use space affinity do do that?15:05
BlackDexand add those as constraints15:05
BlackDexyea you can do that also. If you only want specific network space affinity15:05
andrew-iiI have a small test setup, and each machine is pretty specialized, and I actually use the machine name in the tags15:07
cnfandrew-ii: how do you define that in the yml file?15:07
andrew-iiIn a bundle, I think you can put the `tags=myMachineTag` in the constraints clause15:08
cnfthe file i have doesn't have constraints15:08
cnfi'll have to look up how to do that15:08
cnf(or to apply a bundle.yml file, for that matter)15:08
andrew-iimachines:   '0':     series: xenial     constraints: "tags=myMachineTag"15:09
cnfjamespage gave me an example over at #openstack-charms i'm adopting for my needs15:09
andrew-iiI think it's like that15:09
cnfah, hmm15:09
cnfinteresting15:09
cnfhmm, so i could make tags like "controller" and "computer" and "storage"15:10
cnfhmm15:10
andrew-iiI think so. I did that. Then realized that my machines are a bit junk and have to manually deploy specifically for the test15:10
cnf:P15:10
cnfthe lightest machine is a 16 core, 24G ram gen7 HP  with 500G storage15:11
cnfso i'll be fine, i think15:11
andrew-iinice15:11
cnfgot 2 32 core, 96G ram machines, and a 64 core 192 G ram machine as well, for compute15:11
andrew-iiThat'll do15:12
cnfand 3 ceph nodes with a ton of disks coming in15:12
cnfi want to put the network gateway, and dbase and dashboard on the lightest machine15:12
andrew-iiI'm currently just trying to figure out how to deploy the components without them getting hung. I keep getting incomplete relations, though I also have a mess of VLANs and spaces likely messing it up15:14
cnfyeah...15:14
cnfit's a bit of a learning curve15:14
cnfthankfully, $currentclient is willing to pay my hours for it :P15:15
cnfso i can set to: lxd right? without specifying a machine after it? or does it need a machine right there?15:21
andrew-iiI think you specify the machine15:21
andrew-iiBut the machine may be anonymous (unless your constraints limit it to one)15:22
cnfhmm, you can use to: to units as well15:22
cnfit seems15:22
cnfto: lxd:neutron-gateway/015:23
andrew-iiI think that is pretty great, if only for planning. It makes it much clearer what machine is getting what grouped with it15:24
cnfbut form what i can see no "put it in an lxd container on a machine matching these constraints"15:24
cnfyeah15:24
andrew-iiThe constraint matching happens in the machines: clause15:24
andrew-iiFrom then on the machine numbers are consistent15:25
cnfyou can match constraints on application level as well15:25
cnfhttps://jujucharms.com/docs/stable/charms-bundles15:25
andrew-iiI forgot about that, but I'm not sure "tags=maasTag" works for applications (though I need to try it to be sure)15:26
BlackDexcnf: You can use the constraints for lxd placements15:36
BlackDexif you use a constraint it will ask maas for a machine with that constraint15:36
cnfBlackDex: ok, so how do i tell it to put it in LXD, and add constraints?15:37
cnffrom what i can see, the to:lxd expects something behind lxd15:37
cnfeither a machine, or a unit15:37
BlackDexa machine in the case of juju15:38
cnfuhm15:38
cnfi don't follow15:38
BlackDexyou define machines by number, and allocate them using constraints. After that you can use lxd:<machine-number> to place that specific application on that machine on an lxd15:39
cnfyes, i know15:39
cnfthat's not what i was asking, though :P15:39
BlackDexow :p15:39
cnfi want to know if i can put it in an lxd container. and NOT define a machine, but have a constraint instead15:39
jamcnf: we don't do scheduling to lxd containers. I believe if you use just "lxd:" we'll let you, but we'll allocate a new top level machine and then put it into a container on that machine.15:40
cnfjam: right15:41
cnfjam: that's too bad, but i can work with it15:41
=== hml_ is now known as hml
narindermwenning, yes16:06
stormmoreso lazyPwr, looks like the issue with logs might be something cert related. once I downloaded the newer 1.5.3 client I got: "Error from server: Get https://ip-172-31-12-41:10250/containerLogs/default/default-http-backend-9wcl3/default-http-backend: x509: certificate signed by unknown authority"16:10
=== hml_ is now known as hml
=== hml_ is now known as hml
ZiclazyPwr: around?16:43
stormmorehe has been unresponsive so far Zic16:47
Zicnot important, thanks :)16:47
=== hml_ is now known as hml
ybaumycan tags be seperated by comma?17:20
catbus1ybaumy: is this what you are looking for: https://docs.ubuntu.com/maas/2.1/en/manage-cli-tags17:26
tvansteenburghstormmore: Zic: lazyPwr is out sick today17:27
=== frankban is now known as frankban|afk
Budgie^Smoreugh! somehow I am not surprised tvansteenburgh with how his schedule has been lately17:30
ybaumycatbus1: thanks yes thats what i was looking for. and i remember that i even saw this page before. but couldnt recall it17:31
otisHi.  I'm looking for information about Juju adoption.  Are there any data, any charts, or anything else one could see/use?17:43
=== rogpeppe1 is now known as rogpeppe
ybaumyotis you mean like a powerpoint presentation?17:59
ybaumyor documentation?17:59
otisybaumy - anything that shows any numbers and, ideally, trends18:05
otisI'm asking because I've recently been asking people about Juju and most of them have either not heard of it or are not using it.18:05
otisAnd I've been aware of Juju for *years*.  So now I'm wondering if Juju is stagnant or growing or ....18:06
ybaumyhmm better ask the devs then. maybe they have something. would be interessting for me too though. if i can show management something. they think ubuntu is a kiddies OS18:10
ybaumyand juju too18:10
ybaumyalone the name they laughed about18:10
Budgie^SmoreI am surprised that I don't see it on job descriptions for sure18:11
ybaumyin the last 12 month or so. when i was getting job offers left and right. i only encountered ubuntu in a job offer once18:12
ybaumyim from germnay18:12
ybaumygermany18:12
ybaumymaybe in the US its more popular18:12
otisUbuntu is popular.  But Juju != Ubuntu :)18:14
otisJuju is NOT popular from what I can tell.18:14
ybaumytrue but ubuntu is pushing it18:14
ybaumyive never seen it yet on the redhat or suse sites18:14
ybaumymaybe they adopted it too18:15
ybaumyin germany everythings suse pretty much. a little redhat18:16
Budgie^Smorein my experience there is a lot of use of Ubuntu or Ubuntu based distros in the US but not juju by any stretch18:27
otisSounds like there is nobody from Ubuntu here with numbers :(18:28
BlackDexi use juju a lot19:36
BlackDexto deploy OpenStack mainly19:36
BlackDexBut also CEPH Clusters19:36
BlackDexBut, i'm a ubuntu (debian) fanboy ;)19:37
roadmrhello jujuers. Has anybody seen insert juju.system.indexes keyUpdates:0 exception: BSONObj size: 61366220 (0xCC5FA803) is invalid. Size must be between 0 and 16793600(16MB) First element: : ?type=92 code:10334 locks(micros) w:10805 5ms from juju's mongodb?19:39
ybaumythe gui is deployed to the controller right? how do i access the gui?20:11
ybaumyif i try to connect to one of the ips in the show-controller output nothing is thre20:12
ybaumythere20:12
tvansteenburghybaumy: `juju gui`20:14
ybaumyahh20:14
ybaumynice20:14
ybaumyi seee20:15
ybaumythis is cool20:15
bdxI'm experiencing some very odd behavior it seems when I deploy an application multiple times in a model, almost like I'm not getting the latest version of the charm on subsequent deploys .... I don't seem to get an actual current revision that I deploy until I modify the application name21:01
bdxgeh ... that was tattered21:01
bdxbasically, my deploys seem to be deploying an older an older rev of the charm, even though I am specifying the latest rev when redeploying21:02
bdxbutchered again21:02
bdxmoreover, my lxd local deploys are acting strangely different then my lxd deploys on aws21:04
bdxhere is a lxd local deploy http://paste.ubuntu.com/24191166/21:05
bdxand here is a deploy of the same charms, but to an instance on aws http://paste.ubuntu.com/24191170/21:05
bdxthis has been working consistently for me across both providers up until today21:06
ybaumyin the gui is it possible to add constraints like tags for maas?21:06
andrew-iiWhen juju's provisioner complains about there being no obvious space for a container (like a maas space), is there a way I can configure that in the bundle or gui?22:40
andrew-iiMy controller is on 2.1.1, if that helps (or makes things worse...)22:40
andrew-iiOr perhaps a better question: does `juju gui` version 2.4.3 allow space configuration constraints?22:45

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