/srv/irclogs.ubuntu.com/2018/06/22/#juju.txt

wallyworldthumper: babbageclunk will coprrect me, but the BootstrtapRaft() bit is called during bootstrap to set up the cluster; i can't recall exaxctyl what it stores00:18
babbageclunkIt stores the raft configuration into the raft log00:18
wallyworldso for a running system being upgraded, we don't bootstrap00:18
wallyworldso miss that api call00:18
thumperah...00:19
thumperok00:19
thumperhow big a change is the k8s api?00:19
wallyworldnot that big - need to return a struct instead of a string for getting info to set up a pod00:20
wallyworldmost of the attrs in 2.4 will be empty00:20
thumperthat's fine00:20
thumperget it done00:20
wallyworldwill do00:20
wallyworldneed to pave way for storage in 2.500:21
veebersIs there a way to get 2.2.9 working with snap installed lxd?01:04
wallyworldveebers: not sure tbh, may require the apt version01:05
wallyworldthumper: here's that refactoring pr for the api params https://github.com/juju/juju/pull/884401:05
veeberswallyworld: ah apt lxc not apt juju that makes sense ^_^01:05
veebersshoot, I only recently migrated from apt installed lxd to snap installed01:06
wallyworldjoy01:06
veebersgoing to spin up an ec2 instance and use that as the host ^_^01:08
wallyworldthat works01:08
babbageclunkwallyworld: what's the right way to get all controller machines from state?01:23
babbageclunkwallyworld: ooh, looks like State.ControllerInfo has it - and then I guess I can ask each machine for their address.01:28
wallyworldbabbageclunk: i think so, let me have a look01:44
wallyworldyeah that works but i thought we had another way, i'll poke around01:44
babbageclunkI'm struggling to work out how to select the right address for each machine.01:46
babbageclunkTrying to follow how the peergrouper does it is doing my head in.01:46
babbageclunkI could do it sort-of-heuristically using the api addresses from the agent config: when I find a machine with an address that matches an api address then I can match them up01:48
anastasiamac_wallyworld: thumper: unskipping test PRs for reviews - 8840:8843 PTAL?01:49
wallyworldbabbageclunk: there's got a be a better way01:50
thumperanastasiamac_: I'd like to see the premerge check passing before approving01:50
wallyworldi can poke around01:50
babbageclunkwallyworld: thanks01:50
anastasiamac_thumper: only 1 out of 4 had an un-related failure... the other 3 passed...01:51
wallyworldbabbageclunk: did we need a HO?01:54
babbageclunkwallyworld: yeah, might be good - in standup?01:54
wallyworldsure01:54
thumperanastasiamac_, wallyworld: I'd prefer to push back on the test changes, just because it is introducing more churn without much benefit at this stage01:55
thumperI'd prefer them to land post 2.4.0 release01:55
anastasiamac_thumper: ack02:02
anastasiamac_thumper: in fact, m happy to unskip them in develop branch instead02:03
veeberswallyworld: you think the "--agent-stream" addition to juju-upgrade is worth putting in 2.4 release notes?03:16
wallyworldveebers: i think so yeah03:17
veeberssweet, I'll make is so03:17
wallyworldas it's a usability improvement03:18
veebersI'm being dense, how can I change an agent stream for an upgrade? (juju upgrade-juju -m controller --agent-version 2.4-rc2 --agent-stream=proposed won't work because the controller doesn't support that ^_^)03:47
veebersah, rtfm helps; juju model-config -m controller agent-stream=devel03:51
wallyworldbabbageclunk: how goes the patch?05:00
babbageclunkwallyworld: just testing it now - think I have a problem with timing start up, might need to have the raft worker start later.05:01
wallyworldyou can gate on !upgrading... you doing that?05:01
babbageclunkyup05:03
wallyworldbabbageclunk: so this timing issue is not new then05:10
babbageclunkOh, I mean, the raft worker wasn't gated on upgrade, but now it needs to be, so I'm doing it now05:10
veeberswallyworld: you have a quick sec? https://pastebin.canonical.com/p/SvjPwMpgHB/ I set the agent-stream, but juju-upgrade without an explicit version (i.e. 2.4-rc2) it chooses 2.3-rc2 (from a base 2.2.9 install). That's expected behaviour right? (If I understand the upgrade-juju help correctly)05:19
wallyworldi think it goes +1 by default, can check05:20
wallyworldveebers: first look - the code seems to say it will upgrade to the version of the juju client if not specified05:22
veeberswallyworld: I think that's right, just re-reading the help docs)05:23
veeberswallyworld: ack, that matches my expectations and what I'm seeing. Thanks :-)05:23
wallyworldgood, docs match code :-)05:23
veeberseven better ^_^05:23
enrico_hello, please anyone to help: trying to deploy and getting this ->  no obvious space for container "0/lxd/0", host machine has spaces: "default", "overlay", "provider", "storage" <-- any idea?12:20
rick_h_enrico_: check out https://docs.jujucharms.com/2.3/en/network-spaces and then the binding syntax12:21
rick_h_enrico_: basically juju is saying you've got 4 spaces and we're not sure how to setup the container because we don't know which network interfaces need to be setup in which way to make sure the application is on the right network12:22
magicaltrouthow's the hangover rick_h_ ?12:28
rick_h_magicaltrout: :) drink responsbily12:29
enrico_rick_h_: thanks you... I've tried to follow the doc.. Juju recognizes the 4 spaces defined in MAAS and in to my bundle I've binded them  using the example here https://jujucharms.com/nova-cloud-controller/12:29
rick_h_enrico_: ok, so the nova-cloud-controller is what you're putting in 0/lxd/0?12:29
enrico_rick_h_: yes but I've got the same error for the others services I've spread over others containers! so something wrong with my syntax ?12:31
rick_h_enrico_: maybe, juju isn't liking the binding and fails because it doesn't know what to do12:32
enrico_rick_h_: please look at https://pastebin.com/3sXEFgtV as example of my conf12:33
enrico_rick_h_: Can I do that: mgt: default ? when my space is named default ?12:33
rick_h_enrico_: right, this is application binding so that the endpoint on the application is bound to the space.12:33
rick_h_enrico_: looking for example12:33
Guest53GM I keep getting the following in three OSDs that have been rebooted.  Two of the OSDs are stuck in upgrading state.  The ceph cluster is operational.12:35
Guest53unit-ceph-osd-0: 08:09:20 DEBUG unit.ceph-osd/0.config-changed Error ENOENT: key 'osd_osd5_luminous_done' doesn't exist12:36
Guest53unit-ceph-osd-0: 08:09:20 INFO unit.ceph-osd/0.juju-log osd5 is not finished. Waiting12:36
Guest53unit-ceph-osd-0: 08:09:20 DEBUG unit.ceph-osd/0.config-changed Error ENOENT: error obtaining 'osd_osd5_luminous_start': (2) No such file or directory12:36
Guest53unit-ceph-osd-0: 08:09:20 INFO unit.ceph-osd/0.juju-log Monitor config-key get failed with message: b''12:36
Guest53unit-ceph-osd-0: 08:09:21 INFO unit.ceph-osd/0.juju-log waiting for 16 seconds12:36
rick_h_enrico_: so I'm looking at https://jujucharms.com/glance/265 and I don't see any endpoint called mgt12:36
rick_h_enrico_: so I think the thing is getting those bindings to be the real endpoints on the charm bound to the space12:36
enrico_rick_h_: oooook so the endpoints names are predefined with the charms and I have to use them as they are ! Ok make sense ! Thanks you !  going to try12:37
rick_h_enrico_: right, so that the juju can help the charm tell it what data it knows about needs to go over what networks12:38
rick_h_enrico_: e.g. ceph has a data plane for ceph->ceph communication that something like keystone will not12:38
enrico_rick_h_: yes okok I was missing that key thanks you :)12:39
rick_h_enrico_: np, good luck!12:39
=== Guest53 is now known as acss
acssSorry entered as Guest53 can anyone tell me why I would get the key osd_osd5_luminous_done12:41
acssfrom above in the chat12:41
acssThis seems to be created by juju12:42
acssHello I have three OSDs and it appears there is some way juju is references keys to the wrong hosts.  On hostname osd6 I keep getting an error unit.ceph-osd/0.config-changed Error ENOENT: key 'osd_osd5_luminous_done' doesn't exist13:57
acsson hostname osd5 I get unit.ceph-osd/0.config-changed Error ENOENT: key 'osd_osd4_luminous_done' doesn't exist13:57
acssCan anyone please tell me the direction to look into to find the why this is happening?13:58
hmlacss: have you asked in #openstack-charms?13:59
acssNo I can try that thank you14:00

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