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

blahdeblahmenn0: I see you are the lucky winner of https://bugs.launchpad.net/juju/+bug/1660087; it may still be the same underlying cause as https://bugs.launchpad.net/bugs/1635311, so that might be useful background, depending on what you find in the profiling data.00:00
mupBug #1660087: Controller and all models unresponsive <canonical-is> <juju:Triaged by menno.smits> <juju 2.2:Triaged> <https://launchpad.net/bugs/1660087>00:00
mupBug #1635311: juju2 eating CPU, units in error <canonical-is> <landscape> <juju:In Progress by axwalk> <https://launchpad.net/bugs/1635311>00:00
menn0blahdeblah: ok, thanks for joining the dots00:05
blahdeblahmenn0: No guarantees ;-)00:05
alexisbwallyworld, ping00:35
wallyworldhey00:36
alexisbheya wallyworld did you want to meet in our 1x1 HO?00:36
wallyworldalexisb: give me 5?00:36
wallyworldor 300:36
* alexisb taps her fingers impatiently on her desk00:44
alexisband stares at wallyworld00:44
wallyworldalexisb: just looking for hangout, it's gone :-)00:44
alexisbhttps://hangouts.google.com/hangouts/_/canonical.com/alexis-ian00:45
alexisbyou just have to look into the past00:45
mupBug #1660522 changed: Un-removeable "life: dead", "agent-state: pending"  agents  <canonical-bootstack> <juju-core:Fix Released> <https://launchpad.net/bugs/1660522>00:52
axwmenn0: back00:55
babbageclunkaxw (or anyone else) - is there any way to have the ec2test server return errors for operations?01:09
babbageclunkaxw: Or do I need to introduce indirection in the provider and patch things out with mocked ones? (that seems to be what the other tests do)01:11
* redir looks into the future and sees a beer01:13
* redir eods01:13
redirmaybe01:13
redirbut should find a bug to look at tomorrow01:13
axwbabbageclunk: I don't think so, but don't know for sure. what error do you want to return?01:14
babbageclunkaxw: I just want to test a few error paths in my code.01:16
babbageclunkaxw: Actually I'm not sure there's much need - the error handling is fairly trivial in this case.01:17
axwfor full coverage you probably need a layer of indirection. for more specific validation errors (for example), it would make sense to update ec2test01:17
babbageclunkaxw: I'm not looking for any specific validation errors or anything, so I think this is probably fine.01:19
menn0axw: was having lunch. i'm back now too.01:21
menn0axw: quick hangout?01:21
anastasiamacwallyworld: for bug 1602192, you just want me to say that it'll b better communicated thru status msg and will b addressed in 2.2?01:23
mupBug #1602192: when starting many LXD containers, they start failing to boot with "Too many open files" <lxd> <juju:Triaged> <lxd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1602192>01:23
wallyworldlet me look, one sec01:24
axwmenn0: sorry missed your msg, yep01:24
axwmenn0: see you in standup HO?01:24
menn0axw: yep, see you there01:25
wallyworldanastasiamac: yeah. i think we also discussed that in clouds, there was no guarantee that the images could support those particular kernal parameters so best not to try and guess and better surface the error01:26
anastasiamacwallyworld: ack01:26
wallyworldthat was the advice from nic and adam anyway01:27
wallyworldjuju often gets stuff wrong when it tries to guess, so we are trying to be more explicit01:27
redirI often get stuff wrong when I try to guess01:53
babbageclunkaxw: can you take a look at this if you get a chance? https://github.com/juju/juju/pull/690001:54
axwbabbageclunk: okey dokey01:54
babbageclunkaxw: thanks!01:57
axwbabbageclunk: done01:59
babbageclunkaxw yay! Yeah, much easier than the Azure one (although a lot of that was me getting to understand the SDK),02:01
veebersbabbageclunk: query is the model migration fix in for aws re: the bug where destroying the origin controller borks things?02:34
babbageclunkveebers: no - the AWS specific bit is done, but I still need to do the part that calls that from the migration.02:41
veebersbabbageclunk: ack thanks, I'll leave that out from my test script for today then :-)02:41
babbageclunkveebers: sorry - I'll let you know when it's all done.02:42
veebersbabbageclunk: nw, was just checking before I try it out in my manual testing. Also interested in GCE02:42
babbageclunkveebers - gce's in the same state.02:43
babbageclunkHmm, there's no reason I can't do the migration bit now, if it would help?02:44
veebersack. it's not blocking me really at the moment, I'm just doing some manual testing for migrations in the public clouds02:44
menn0axw: how far away are you with that lxd credentials fix?03:34
axwmenn0: not too far, just updating tests03:36
menn0axw: cool. I ask b/c I have a fix for the charm URL migration issue but it would be easier to QA if your fix was in place.03:36
menn0axw: I can work around it regardless03:36
axwmenn0: sorry was otp03:42
axwmenn0: I can push my branch if you want to use it incomplete03:42
menn0axw: nah it's all good03:42
menn0axw, babbageclunk or wallyworld: https://github.com/juju/juju/pull/690103:59
wallyworldlooking04:00
wallyworldmenn0: i think i missing something - the sequence assigns rev numbers 1,2,3,4,5 etc for each base charm url right?04:07
menn0wallyworld: yes04:07
wallyworldso if the source model has had charm rev 4 deleted, and migrates rev-1 rev-2 rev-3 rev-5 rev-6, won't that stuff up?04:08
menn0wallyworld: no b/c the revision is set to max(charm URL rev, next seq value)04:09
menn0wallyworld: for each charm upload04:09
wallyworldah, right ok04:09
menn0wallyworld: the rev in the uploaded charm is used if possible, unless the sequence is beyond that value already04:09
wallyworldok, thanks. lgtm04:10
menn0wallyworld: thanks for looking04:10
wallyworldnp. was a pretty easy fix in the end04:10
menn0wallyworld: a bit fiddly but not too hard04:16
menn0thanks to babbageclunk too04:17
babbageclunkwallyworld: it looks like there's no method in goose corresponding to the update volume metadata API call: https://developer.openstack.org/api-ref/block-storage/v3/#update-a-volume-s-metadata04:17
wallyworldwouldn't surprise me04:17
wallyworldi don't know for sure off hand though04:17
babbageclunkwallyworld: Ok, cool - just checking I wasn't missing something. I'll add it then.04:17
wallyworldbabbageclunk: if you do change goose, there's a drive by that needs doing04:17
wallyworldi'll find it04:18
babbageclunkwallyworld: It's not "upgrade it to the new version of the openstack API" is it?04:18
wallyworldit's a message that is logged as INFO that should be debug04:18
wallyworldthat could be the message, can't recall exactly04:19
babbageclunkwallyworld: Oh yeah, that I can handle.04:19
babbageclunkwallyworld: No I meant a big thing being jokingly described as a driveby. But changing a log level I'll do.04:19
wallyworldjust as well :-)04:20
wallyworldactually, it's worse than info, it's warning04:20
wallyworldline 220 of client/apiversion.go04:20
* menn0 is done for now. back again later.04:28
babbageclunkwallyworld: ok, I'll change that too.04:38
wallyworldta04:38
babbageclunkwallyworld: Do you mean 229? https://github.com/go-goose/goose/blob/v1/client/apiversion.go#L22904:41
wallyworldbabbageclunk: yis (that's kiwi for yes)04:41
babbageclunkthenks04:42
Lalit Hello Experts I working on to develop charms . I have two questions  1) Is there any way to fire command from one juju unit to another ? 2) Is there a way to copy file from one unit to another ?04:53
axwLalit: juju itself does not provide any way to do those things. charms can coordinate with each other to do it using relations, though05:07
axwwallyworld: can you please review https://github.com/juju/juju/pull/690305:07
wallyworldsure05:07
LalitHello Andrew thank for replay . if possible could you please let me know any charm doing this So that i can refer that charm05:11
axwLalit: I'm sorry, I don't know of any. I suggest trying in #juju or on the mailing list05:50
axwwallyworld: you're working on https://bugs.launchpad.net/juju/+bug/1643430?06:28
mupBug #1643430: Unassigned units in an error state cannot be removed <juju:Triaged> <juju 2.1:In Progress by wallyworld> <https://launchpad.net/bugs/1643430>06:28
wallyworldaxw: yeah, in between things, just fixing a state changing too quickly error. i also need to think about the fact that we can't assert A && B across collections06:49
=== frankban|afk is now known as frankban
jamfor those around that can review: https://github.com/juju/juju/pull/690509:23
jamfrobware: perrito666: ^^09:23
perrito666Jam it's 7am here once I finish waking up I'll take a look :)09:59
prankgmHi Folks,11:12
prankgmHave a question. Is there a way to call config-changed hook in charm after relation hooks?11:12
=== tinwood is now known as tinwood_afk
pranav_Hey folks. Have a query12:12
pranav_need to fire config-changed hook after all relations are made. Any way to do this?12:12
=== freyes__ is now known as freyes
=== tinwood_afk is now known as tinwood
pranav_Hey. Can anyone here help me with a query on hooks?15:49
perrito666pranav_: sorry almost no one is here you had a query regarding config hook right?16:00
perrito666pranav_: most of these will most likely get a more useful answer in #juju16:00
pranav_Oh ok thanks. Will try there16:01
redirmorning juju dev17:03
=== mskalka|afk is now known as mskalka
=== frankban is now known as frankban|afk
redirnew kernel brb19:14
rediror bbiab19:14
=== jog_ is now known as jog
babbageclunkperrito666, redir: anyone familiar with the openstack API?20:33
perrito666Babbageclunk slightly20:34
babbageclunkperrito666: I'm adding a SetMetadata method to cinder volumes in goose.20:35
babbageclunkperrito666: My reading of the docs says I want PUT - https://developer.openstack.org/api-ref/block-storage/v3/?expanded=create-metadata-for-volume-detail,update-a-volume-s-metadata-detail#update-a-volume-s-metadata20:36
babbageclunkperrito666: Only confused because the corresponding method for servers is POST: https://developer.openstack.org/api-ref/compute/?expanded=create-or-update-metadata-item-detail,update-metadata-items-detail,create-or-replace-metadata-items-detail#update-metadata-items20:36
babbageclunkperrito666: There's also a POST version of the volumes request, but I think PUT is what I want since it explicitly allows partial updates to the metadata (so I don't need to get all of the tags to update one).20:37
perrito666Definitely not that into it :)20:38
babbageclunkperrito666: :)20:38
babbageclunkperrito666: I'll do PUT for now anyway.20:39
redirbabbageclunk: vry minimally20:41
redirbabbageclunk: PUT sounds correct to me20:42
babbageclunkredir: sweet, thanks20:42
babbageclunkperrito666: do you know how I can run the cinder live tests for goose?21:38
babbageclunkperrito666: Can I use creds from cloud-city?21:38
babbageclunkperrito666: hang on - following along in the nova tests it looks like maybe I don't need to.21:49
* redir lunches21:51
perrito666babbageclunk: yes you can21:54
babbageclunkperrito666: I couldn't work out where to get all of the cred bits: I can find URL, user, secret (I assume this can be password), region and tenant. What should domain be?21:56
perrito666babbageclunk: let me peek at cloud city21:58
perrito666babbageclunk: you need the credentials for something other than bootstraping?21:58
perrito666otherwise just JUJU_DATA=/path/to/cloud-city21:59
babbageclunkperrito666: no, trying to run the goose live tests - that seems to need 6 env vars set.22:00
babbageclunkperrito666: Ah, looking at the credentials struct, domain is tagged as optional.22:01
babbageclunkperrito666: Ok, I'll try this - thanks!22:02
perrito666babbageclunk: source ec2rc22:02
perrito666:p22:02
perrito666ah sorry openstack22:02
perrito666babbageclunk: I used to have hp cloud for tests in openstack22:03
perrito666now I have no idea what we use, last time someone gave me one22:03
babbageclunkperrito666: ok, if this doesn't work I'll ping some of the qa folk, thanks22:04
=== mskalka is now known as mskalka|afk
babbageclunkwallyworld: ping?22:30
wallyworldotp22:30
wallyworldbabbageclunk: i can ping you after release standup22:34
babbageclunkwallyworld: ok, just trying to work out how to run goose live tests - if you don't know then no worries.22:34
wallyworldbabbageclunk: unit tests?22:35
wallyworldah live tests22:35
babbageclunkwallyworld: yup22:35
wallyworldi can help a bit, soon22:35
babbageclunkwallyworld: ok, awse - thanks22:35
wallyworldbabbageclunk: i have to duckout real quick, but basically if you have your .novarc and source it, the env vars should be set up so you can go test --live23:05
wallyworldfrom memory23:05
wallyworldbabbageclunk: but realistically, nowadays, a bootstrap / live functional test is probably best23:05
babbageclunkwallyworld: what's a .novarc? (I know nothing about openstack)23:06
wallyworldah, oh. novarc contains your credentials23:07
wallyworldand tenant etc23:07
babbageclunkwallyworld: ok, I'll do some testing once I've done the migration master part23:08
wallyworldyou have not been givwn those for canonistack?23:08
wallyworldok23:08
babbageclunkwallyworld: I've got cloud-city, so I can use those I think23:08
wallyworldyes you can23:09
wallyworldthere should be a novarc file there23:09
wallyworldsave it as ~/.novarc23:09
wallyworldthen you juju autoload-credentials23:10
wallyworldbabbageclunk: i have to pop out for a bit, back soon23:11
alexisbanastasiamac, ping23:56
anastasiamachi alexisb \o/23:56
alexisbheya anastasiamac, sorry I missed standups today23:57
anastasiamacu haven't yet. it's now23:57
alexisbwas curious where we are with the beta5 release23:57
alexisbah ok23:57
alexisbI will join23:57
anastasiamacit's ready to go. last PR just landed23:57

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