/srv/irclogs.ubuntu.com/2017/02/08/#juju-dev.txt

menn0perrito666: ping00:16
rediruh, https://github.com/juju/juju/pull/693800:27
redirtough one there, I might self review00:27
* anastasiamac_ looking00:29
anastasiamac_redir: LGTM \o/00:29
redirtx anastasiamac_00:43
axwwallyworld: re https://bugs.launchpad.net/juju/+bug/1662587, any thoughts on what we can do that doesn't involve going back to what we were doing?01:21
mupBug #1662587: 2.1beta5 breaks lxd shared controller <juju:Triaged> <juju 2.1:Triaged by axwalk> <https://launchpad.net/bugs/1662587>01:21
wallyworldaxw: so the bug is saying that adding a user, and then having someone else register doesn't work? because that new person doesn't have the credentials cached?01:24
seyeongkimhello, what can i do if i want to merge 163a221,773fb90 to 2.0.x? lp said only 2.1 and 2.2 https://bugs.launchpad.net/juju/+bug/162202401:28
mupBug #1622024: destroy-unit help text mentions nonexistent remove-services <sts> <usability> <juju:Fix Committed by wallyworld> <juju 2.1:Fix Committed by jameinel> <https://launchpad.net/bugs/1622024>01:28
wallyworldseyeongkim: if you have 2.0.x checked out, you can cherry-pick the commit01:30
seyeongkimi see wallyworld , will try01:31
wallyworldseyeongkim: it's a rather cosmetic bug fix though. do you need the CLI help text changed urgently?01:31
wallyworld2.1 will be out within a couple of weeks01:31
seyeongkimno urgent01:32
seyeongkimthanks wallyworld01:33
wallyworldsure, anytime01:33
axwwallyworld: basically yeah. it works if you're the same $USER, because it'll pull the certs out of your $HOME/.config/lxc dir. but in their case, it's an entirely different $USER01:35
axwwallyworld: I don't think we can support what they were doing without going backwards...01:35
wallyworldaxw: should we consider a controller endpoint where cched creds in controller can be checked?01:36
* wallyworld waves hands01:36
axwwallyworld: sorry, don't understand01:36
axwwallyworld: what creds, checked for what?01:36
wallyworldHO? may be easier to discuss01:36
axwwallyworld: ok, in 5-10 mins; just preparing lunch01:37
wallyworldsure no rush01:37
* redir eods01:46
axwwallyworld: are you free now? 1:1?01:51
wallyworldyep01:51
axwwallyworld: it will work, but only if they're using the 2.1-beta5 client. I suspect they're not02:06
wallyworldaxw: good pickup, sounds like it can be closed as "use the current client"02:07
axwwallyworld: it's not great that it will fail with the old client, but I think it's better than reverting?02:07
wallyworldaxw: i think we can justify it (IMO). there's a work around we can document and it's not a super common use case i don't think02:14
axwwallyworld: actually I think what they're doing is running from within a container, or some other machine on the same network; not on the host itself02:16
axwwallyworld: so might need to just make "autoload-credentials" a bit easier02:17
wallyworldaxw: yeah, autoload creds does need some polish in a few places02:34
wallyworldit was all rushed at last minute to get 2.0 out02:35
wallyworldaxw: could you validate my choice of new skew value on this small PR? https://github.com/juju/juju/pull/694002:35
axwwallyworld: seeing as this is only run on linux, can we just bite the bullet and use a monotonic clock?02:38
wallyworldaxw: i didn't realise there was such a thing02:38
axwwallyworld: man clock_gettime02:39
wallyworldaxw: so how would that work clustered?02:39
wallyworldall machines need the same idea of time02:39
wallyworldntp achieves that02:39
wallyworldbut it needs make -ve corrections potentially02:40
axwwallyworld: it's for measuring elapsed time02:40
axwwallyworld: which IIANM is what we're doing in that code02:40
axwelapsed time local only02:40
wallyworldok, i'll take a look02:41
axwwallyworld: https://github.com/davecheney/junk/blob/master/clock/clock_linux.go -- just need to include the LICENSE if you use that02:48
wallyworldaxw: MonotonicClock "but is affected by the incremental adjustments performed by adjtime(3) and NTP"02:49
wallyworldi guess it only goes foreard though02:50
axwwallyworld: http://stackoverflow.com/questions/14270300/what-is-the-difference-between-clock-monotonic-clock-monotonic-raw02:52
axwexplains it better than I could02:52
wallyworldaxw: so it seems monotonic changes frequency to adjust for NTP and eventually syncs up02:53
axwwallyworld: yep, but it won't jump around02:53
axwit just adjusts rate of change02:54
wallyworldthumper: menn0: jam: tech board?03:10
menn0we are still dealing with the fallout from this prod issue03:11
wallyworldok03:12
blahdeblahaxw: That was a nice link03:54
blahdeblahFTR, I would be very nervous about juju attempting to go the CLOCK_MONOTONIC_RAW route, given some of the bad clocks I've seen around, esp. in Azure.03:55
axwblahdeblah: yeah, I don't think it's appropriate for our use case03:56
mupBug #1662599 changed: Change maas api and password controller in model already created <juju:Incomplete> <https://launchpad.net/bugs/1662599>04:10
mupBug #1662599 opened: Change maas api and password controller in model already created <juju:Incomplete> <https://launchpad.net/bugs/1662599>04:13
mupBug #1662599 changed: Change maas api and password controller in model already created <juju:Incomplete> <https://launchpad.net/bugs/1662599>04:25
blahdeblahHi all, when logging into mongodb shell per https://github.com/juju/juju/wiki/Login-into-MongoDB, I get a number of recommendations: https://pastebin.canonical.com/178617/06:04
blahdeblahIs it worth creating a bug for that?06:05
blahdeblahI wonder some of those things mightn't be contributing causes for our mongodb syncing issues (bug 1647238)06:05
anastasiamacblahdeblah: axw and wallyworld were talking about disabling huge pages yesterday... maybe they can help?06:56
axwanastasiamac: I believe wallyworld was talking about *hug* pages, and I was merely a an absent target ;p07:00
anastasiamacaxw: :)07:01
blahdeblahaxw: I can think of better things to hug, personally. :-)07:16
blahdeblahaxw: (Than pages, I mean.  I'm sure you're a great huggee.)07:17
axwblahdeblah: :p07:17
mupBug #1510787 changed: juju upgrade-charm errors when it shouldn't <canonical-is> <juju:Triaged> <juju-core:Won't Fix> <postgresql (Juju Charms Collection):Won't Fix> <https://launchpad.net/bugs/1510787>08:19
babbageclunkaxw: Could you take a look at my openstack provider changes, pretty please? https://github.com/juju/juju/pull/694308:45
axwbabbageclunk: sure08:45
babbageclunkaxw: thanks!08:45
=== frankban|afk is now known as frankban
mupBug #1632909 changed: ceilometer-api fails to start on xenial-newton (maas + lxd) <maas-provider> <uosci> <OpenStack AODH Charm:Triaged> <juju:Incomplete> <juju-core:Won't Fix> <ceilometer (Juju Charms Collection):Triaged> <https://launchpad.net/bugs/1632909>08:49
axwbabbageclunk: don't worry about that VolumeSource thing too much. the API design is a bit broken, I will fix it at some point08:53
axwwhat you have is fine08:53
babbageclunkaxw: great, thanks08:55
wallyworldaxw: i've pushed up a juju/utils PR and also tweaked the juju PR for clock skew. got to fix a few tests and add deps change, but have to head out for a bit. i also need to live test etc but the basis should be there. the monotonic clock implementation doesn't return a true time.Time but it does work cross platform09:11
wallyworldaxw: oh saw your comment - i just didn't want the hassle of 2 implementstions, or an implementation on linux and a no-op elsewhere09:12
wallyworldnanotine() is implemented cross platform in the run time isn't it?09:13
axwwallyworld: I think so. but there's more than one compiler, and more than one runtime...09:13
wallyworldseems to be a popular approach to the problem09:13
wallyworldok, i do the linux only thing then09:13
axwwallyworld: never mind, it's probably academic09:14
axwwallyworld: just leave it and we'll change it if necessary09:15
wallyworldok09:16
axwwallyworld: utils PR is approved09:16
axwlooking at other one now09:16
wallyworldty, am late bbiab, will fix test setc then09:17
=== StoneTable is now known as aisrael
hoenirHi guys10:31
hoenirSo for a day I'm trying to make the oracle provider add custom cloud definitions. In order to communicate with the oracle rest api the client needs to specify the Identity Domain name and I'm trying to make the add-cloud command add this yaml field.10:32
hoenirSo I've tried to write the CloudSchema return the correct pointer to jsonsmecham.Smecha struct10:33
hoenirhttps://paste.ubuntu.com/23953504/10:34
hoenirWhat I'm I missing here?10:34
hoenirWhen I launch the add-cloud command it's printing me to add the identity domain and after the commands finished writing the clouds.yaml it does not add this attribute.10:35
hoenirAlso I found this https://github.com/juju/juju/blob/staging/cloud/clouds.go#L10610:36
=== frankban is now known as frankban|afk
hoenirIs there a way how to write in this attribute when the provider reads the clouds definition on bootstrap?10:37
hoenirIs there anyone that knows or can point me into the right direction?10:38
hoenirhere is an example interacting with the add-cloud cmd10:41
hoenirhttps://paste.ubuntu.com/23953549/10:41
hoenirsorry for the spelling issues. As you can see these does not write the identity-domain provided in the cmd interaction.10:42
hoenirIt is because the CloudSchema definition provided is somehow off?10:42
hoenirOr there is now wat to do this and I should add some custom interactive code into the FinalizeCredential?10:46
hoenirlike in the azure provider?10:46
mupBug #1662857 opened: cannot go get the source code  <juju-core:New> <https://launchpad.net/bugs/1662857>11:37
=== cmars` is now known as cmars
mupBug #1662857 changed: cannot go get the source code  <juju-core:Incomplete> <https://launchpad.net/bugs/1662857>11:55
mupBug #1662857 opened: cannot go get the source code  <juju-core:Incomplete> <https://launchpad.net/bugs/1662857>11:58
perrito666morning12:28
jammorning perrito66612:38
SimonKLBis there a problem when a normal machine and the controller machine are on different addresses?13:19
SimonKLBim unable to ssh into a machine that is on a different ip-range using GCE as provider13:19
SimonKLBwith `juju ssh` that is, ssh:ing into the machine normally works fine13:20
SimonKLBnvm, that wasnt the problem, now i cant ssh into a machine on the same range - really odd because other machines in the same model works fine13:21
SimonKLBhttp://paste.ubuntu.com/23954247/13:23
SimonKLBany ideas?13:23
=== frankban|afk is now known as frankban
=== stokachu_ is now known as stokachu
deanmanSimonKLB, cloud provider?14:15
SimonKLBdeanman: google14:15
deanmanSimonKLB, can you access any app on that model ?14:18
deanmanSimonKLB, i had almost a similar problem with openstack where additional units of the same app weren't assigned a public IP, which resulted only being able to ssh into only one at a time.14:19
SimonKLBdeanman: that shouldnt be the problem, i can see the public ips fine14:20
SimonKLBdeanman: not sure what you mean by accessing the app though?14:20
deanmanSimonKLB, this was my issue, https://bugs.launchpad.net/juju/+bug/1655383, seems though unrelated to yours14:21
mupBug #1655383: When deploying multiple units of the same charm on top of openstack mitaka only one is assigned a floating IP <eda> <network> <juju:Triaged> <juju 2.1:Incomplete> <https://launchpad.net/bugs/1655383>14:21
SimonKLBdeanman: might be related, but in my case i all the machines get assigned a floating/external ip14:24
SimonKLBim also able to ssh to them via the GCE console without any issue14:24
deanmanSimonKLB, next thing i could think is that somehow "security groups" are different for machine #3 and #414:24
deanmancould it be that #4 has different security groups and somehow the ssh port is blocked? Can you ssh from #3 to #4 ?14:25
SimonKLBdeanman: i have no idea why, but now, an hour later they are all accessable14:27
SimonKLBhavent changed a thing14:27
SimonKLBhave even worked in a different provider since then14:27
deanmanmaybe infra glitch ;-)14:27
SimonKLBhaha, let's hope so :)14:27
SimonKLBi'll re-run the tests14:27
deanmanGot a question for the devs, I'm running juju agent inside corporate network and i have to go through proxy. I'm using nc for most of my ssh needs but don't know how to make it work with juju so i can access my aws models. Any hints?14:39
hoenircan anyone advice me, If I have a constrains let's say cpu-power and the provider does not support passing constraints like cpu how can I manage with the constraints.Validator methods this issue? I've already used the Unsupported methods but it seems this does not do anything to alert the client in someway if the constraint passed is valid or not for the provider14:57
hoenirconstraint*14:57
hoenircan anyone provide some insight in this situation?14:57
perrito666hoenir: I believe we are currently silent if a constraint is ignored with a provider14:58
perrito666sinzui: you have tried all providers, what can you tell about this?14:58
hoenirSo informing the user with warningf is bad technique?14:59
sinzuiperrito666: your are correct, juju siltenly ignore constraints that are not relavant.15:00
hoenirso it's ok if I inform the user?15:00
hoenirof this?15:00
hoenirin the bootstrap process15:00
hoenir?15:00
hoenirwith warningf?15:00
perrito666hoenir: yes, absolutely15:01
perrito666but we wont stop juju for it15:01
hoeniryeah:)15:01
perrito666just warn or even info about15:02
hoenirthanks !15:02
hoenirI think warn is better suited for this situation15:02
perrito666hoenir: mm, I think you are correct, if the user is dealing with constraints its most likely watching warn15:02
perrito666sorry for the delay I was afk15:03
hoenirthanks !15:03
hoenirsmt like this.15:07
hoenirhttps://paste.ubuntu.com/23954775/15:07
jamperrito666: if you get a chance, a review of https://github.com/juju/juju/pull/694415:49
perrito666postponing the air conditioning in my office was the worse idea I had In my life16:30
perrito666jam: ship it16:35
perrito666jam: special kudos for the doc in NewLXDBroker16:36
redirmorning juju-dev o/16:39
perrito666redir: morning16:40
alexisbmorning redir16:44
redir\o16:45
cory_fuDoes Juju (2.1-beta5) support running lxd on a port other than 8443?17:48
=== frankban is now known as frankban|afk
cory_fuSpecifically, I'm trying to use the snap to run beta5 alongside stable (via apt), and am hitting a bind conflict: http://pastebin.ubuntu.com/23955676/17:57
=== rogpeppe1 is now known as rogpeppe
redircory_fu: sorry, I am unfamiliar with the lxd code.19:31
babbageclunkmorning people!20:03
thumpero/20:27
perrito666morning thumper20:30
alexisbmorning thumper20:47
perrito666thumper: btw, I addressed your comments in https://github.com/juju/juju/pull/6763 and mentioned you to re check it, could you take a look when you are not working on urgent stuff?20:55
* perrito666 knows he just wrote a blank check to thumper20:55
thumperperrito666: ok, will try to look shortly20:56
* perrito666 is fighting to take his PR queue to 020:56
=== frankban|afk is now known as frankban
alexisbperrito666, ping22:31
perrito666alexisb: pong22:31
alexisbrelease call22:32
perrito666ah sorry was concentrated on a critical I just introduced22:32
perrito666going22:32
=== plars is now known as plars-away
rediranyone https://github.com/juju/juju/pull/694722:49
cory_fuAre old revisions of a resource cleaned up ever?  I'm revving on a charm with a fairly sizable resource and after a couple of times updating the resource, the controller seems to run out disk23:23
menn0perrito666: if you're not EOD after you finish your HO can you please ping me about this migration issue. I have some thoughts.23:25
perrito666menn0: certainly, I foresee that my EOD is far :)23:28
perrito666menn0: I might ask you to HO , I am a bit sick of writing :p[23:29
menn0perrito666: sure23:32
menn0perrito666: now23:32
menn0?23:32
perrito666menn0: this is the cause https://github.com/juju/juju/commit/49316b2 I am running this test to try to understand how this change caused this23:33
perrito666menn0: no, still on a call23:33
menn0perrito666: let me know when you're off23:33
perrito666menn0: I will <cries in spanish>23:34
perrito666menn0: standup call?23:40
menn0perrito666: yep23:40
wallyworldcory_fu: there may have been an issue at one point.... what version of juju are you running? menn0 do you know if we fixed tht?23:40
cory_fuwallyworld: 2.0.2  I can re-test on 2.1-beta5 tomorrow if it's likely to have been fixed23:42
wallyworldcory_fu: I *think* so but will need confirmation as I didn't work on it myself23:43
cory_fuOk.  Thanks23:43
wallyworldmenn0 is on a call, he will respond soon23:43
axwwallyworld: reviewed your PR23:45
wallyworldty23:45
wallyworldaxw: end-beginning check should never fail now - i just thought defensively best to keep it?23:46
wallyworldaxw: standup?23:47
axwwallyworld: oops, coming23:47
axwwallyworld: feel free to leave it, just my preference23:50
=== frankban is now known as frankban|afk

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