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

wallyworldbabbageclunk: small juju/description fix https://github.com/juju/description/pull/2402:24
wallyworldor thumper ^^^^^02:30
babbageclunkwallyworld: looking02:31
thumperI'm not sure that's right02:32
wallyworldwhy?02:34
thumperadded comments02:34
thumperwell, it'll work, but I think it needs added description, and cleaner defaults02:34
wallyworldthumper: defaults is nil02:35
wallyworldas returned from v1Schema02:35
thumperugh... ok02:35
wallyworldi guess I could return empty map02:35
thumperwell...02:35
thumperv1Schema should never change02:35
thumperso you don't need to iterate over a null map02:36
wallyworldi mean empty map for defaults02:36
wallyworldright, i could02:36
wallyworldi just didn't want to assume02:36
wallyworldbut maybe i could02:36
thumperyou should02:38
wallyworldthumper: changes pushed02:39
thumperugh...02:55
thumperI'm at that phase where I'm wondering how this ever worked02:55
wallyworldthumper: here's the small juju 2.2 pr https://github.com/juju/juju/pull/784702:58
thumperwallyworld: why add a remote application in the test?02:59
wallyworldbecause old older migrations02:59
wallyworldolder exports02:59
wallyworldi want to still check that we refuse to import02:59
wallyworlda model with remote apps02:59
wallyworldthis bit of the change won't be forward ported03:00
thumpercan you add a comment to it then plz?03:02
wallyworldok03:02
* thumper headdesks03:03
jaredricesrJaaS errors when launching OpenStack on Amazon03:18
jaredricesr"Bootstrapping MON cluster" Ceph-MON is stuck on this error. Neutron Gateway is stuck on "hook failed: "config-changed".03:18
jaredricesrHave tried to launch many times, I don't know if I'm doing something wrong or if there is a bug.03:19
thumperwallyworld: https://github.com/juju/juju/pull/784804:00
wallyworldlooking after tech board04:01
babbageclunkwallyworld: Does this sound ok? https://docs.google.com/a/canonical.com/document/d/1DFNU3lxeItsPLOTeQ4uAG_JpZUT1sNcrg7sDQHDAvqg/edit?usp=sharing04:37
wallyworldbabbageclunk: one sec, in meeting04:38
=== frankban|afk is now known as frankban
wallyworldaxw: i've pushed changes to the PR which implement a new relation suspended flag. it will be part 1 or N. for now, setting suspended flag also sets suspended status etc. that allows uniter and watchers to operate. i haven't done an assert that offer relations don't change as I'm not sure how  - the issue is that the collection docs have their DocID as the relation Id. so the check would need to count the records in the collection matching a certain07:04
wallyworldquery criteria and I'm not sure we can do that with assets?07:04
axwwallyworld: you would need to record the IDs of relations on some other doc, like the application07:05
axwwith push/pull ops07:06
wallyworldaxw: you mean we'd need to actually change the data model?07:06
axwwallyworld: actually we already have relationcount on application. so you could just assert the life of all the relations you know about, and then check that relationcount <= current known value07:06
wallyworldto allow for this assert to work07:06
wallyworldthat would work but be inexact07:07
wallyworldbut relation count can change, just not for the user in question07:08
wallyworldso i'm not sure it would work07:08
wallyworldie fred could lose permission but mary could add a remote relation07:08
wallyworldso relation count would increase07:08
wallyworldthe only way i can see is to check after the fact and if there's more to do, try again for N times07:09
axwwallyworld: sure, then you loop around and build the txn ops again07:09
wallyworldok, i'll look at doing that07:10
axwwallyworld: in case it wasn't clear, by that I just mean use the regular "buildTxn" approach07:11
wallyworldyeah, understood07:11
axwcoolies07:11
wallyworlddoing it outside of build loop would be the only way to not try again unnecessarily07:11
wallyworldbut would be ick07:11
axwwallyworld: I need to take Charlotte to school tomorrow (Michelle has an early work function), so I'll miss standup. status: I've got the vsphere stuff all working, need to write all the tests now07:33
wallyworldawesome, ty07:34
wallyworldaxw: i need to go out for dinner,but i've pushed the change to add the relation change check. so no rush, as i'll be afk for a bit07:44
wallyworldi'll look to lland this and then next pr will redo the watchers etc07:45
axwwallyworld: ok, have a nice evening07:45
kjackalHi juju people! We have an issue opened against CDK from someone who is using localhost environment. His IP on his machine changed and all juju ssh attempts go though his old IP: https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/41207:49
kjackalAny hints on what might be wrong?07:49
axwkjackal: I think they need to update ~/.local/share/juju/controllers.yaml to update the IP of their controller08:00
kjackal_axw: since juju status queries the controller the controller endpoint should be correct. Its the ssh that goes agains this http://<old_ip>:8443/1.0 that is failing08:09
axwkjackal: ok, wasn't sure if status was immediately before or some time after. /me thinking08:10
kjackal_good point. Let me cross check that with him.08:13
axwkjackal: looks like there's a faulty assumption in the lxd provider, which won't be easy to fix without a code change/new release. it's fixable with mongo surgery, by changing the cloud definition: the endpoint needs to be updated to the host machine's new IP08:17
axwkjackal: the lxd provider was written to assume that the lxdbr0 address on the host won't ever change (derp). so either mongo surgery, or force the host back to the old IP08:19
=== frankban is now known as frankban|afk
=== frankban|afk is now known as frankban
=== frankban is now known as frankban|afk
bdx@team, tried to deploy a bundle in multiple models .... when I go to destroy my models they just hang with "waiting on model to be removed..."  http://paste.ubuntu.com/25530827/23:46
bdxI've `juju remove-machine {range of machine ids} --force23:46
bdxall the machines show terminated in the aws console23:48
bdxI've a few models in this state23:48
bdxI'll file a bug and check in tomorrow23:48
bdxthx23:48
wallyworld_bdx: the issue is that the machines never started23:48
bdxI see23:49
wallyworld_juju won't clean up machines unless is knows they are running correctly23:49
wallyworld_so you need the --force23:49
wallyworld_you need to diagnose why the cloud didn't start the machines23:49
wallyworld_or why they couldn't report to juju that the were started23:50
bdxwallyworld_: https://imgur.com/a/kd79323:50
bdxthe terminated machines show the same model23:50
bdxwallyworld_: oooh, nm23:50
bdxI have models under two separate users with the same name garrrh23:51
wallyworld_that is allowed23:52
wallyworld_models are namespaced23:52
bdxyeah ... I just got confused thinking the model name I'm seeing in aws was for the other user23:52
bdxso ... looks like one user had a working deploy and the other had instances that wouldn't start23:52
bdxhmmm ... sounds like credentials or something poss23:52
bdxI'll do some more debugging here23:53
wallyworld_yeah, could be23:53
wallyworld_ok23:53

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