/srv/irclogs.ubuntu.com/2018/09/13/#juju.txt

veeberswallyworld: sweet, test highlighted the issue, quick fix in the end (conditional at wrong level, let probablySetStatusHistory make that choice)00:11
wallyworldyup, it checks for status being the same00:11
veebersaye, I had to tweak that a little with the history overwrite bits00:11
wallyworldkelvinliu_: no rush, just sometime today if possible, i added placement support https://github.com/juju/juju/pull/919000:59
kelvinliu_wallyworld, yeah, will take a look soon01:01
* wallyworld pops out to buy coffee01:02
veeberswallyworld: seeing this in the operator pod log: https://paste.ubuntu.com/p/WS8STGfb9F/ did something land recently that might cause that? I'm pretty certain it's unrelated to my changes at all02:38
wallyworldoperator pod code has changed, but your local copy of the code is stale02:39
wallyworldyou just need to rebase02:39
veebersack thanks, will do02:40
veeberswallyworld: ok, finally got that PR updated, history looks good: https://paste.ubuntu.com/p/FnVQ7q3QX8/ I did see these logs in the controlelr debug-log, I don't think it's my changes, I did touch the provisioner though: https://paste.ubuntu.com/p/pjfvpmYngV/03:55
wallyworldveebers: yeah, those are "normal". just getting a coffee and then will look03:56
veebersack, thanks. should be pretty much there this time :-)03:57
* thumper sighs04:17
thumperanastasiamac, wallyworld: do you know of any CLI tests that ensure there is a controller entry for a mock CLI test?04:18
thumperusing testing.BaseSuite04:18
thumperwhich has a fake xdg data suite thingy04:18
wallyworldyou mean in the local yaml files?04:18
thumperyeah, to fake a controller entry04:19
wallyworldhmmm, there's a few slightly different ways tests do it; i can't recall a specific example without digging around, i can take a look04:19
thumperoh...04:19
thumperit uses a different base...04:20
thumperuses JujuOSEnvSuite04:20
wallyworldthere's a MemStore that tests can use04:20
wallyworldand that's passed ion to the CLI constrcution04:20
wallyworldand the mem store is set up with data04:20
wallyworldso the test never hits disk at all04:20
thumperis that in the model wrapper?04:21
thumperwallyworld: https://github.com/juju/juju/pull/919106:02
wallyworldrighto06:02
thumperwallyworld: it seems github diff doesn't like me renaming the state_test.go to state_internal_test.go06:02
thumperand then add a different state_test.go06:02
wallyworldsigh06:02
thumperif only it tracked renames :)06:02
* thumper EODs06:04
thumpersee y'all tomorrow06:04
wallyworldoh joy! +5,633 −5,42306:04
babbageclunkwallyworld: yeah, that description seems too brief given the size of the PR06:13
babbageclunkwallyworld: want a shorter one? https://github.com/juju/juju/pull/919206:14
anastasiamacmost of it just a test move, like file rename kind of...06:14
babbageclunkanastasiamac: ah right - yeah, there are a lot of status tests.06:14
anastasiamacyep06:14
stickupkidI loke how we have two different places for escaping mongo "." in names09:54
stickupkids/loke/like09:54
manadartstickupkid: Regarding recent changes to CI for formatting, what might cause this? http://ci.jujucharms.com/job/github-check-merge-juju/3433/console10:25
stickupkidmanadart: what go version you using?10:26
manadartgsamfira: Want to jump in here? stickupkid: should that matter for CI?10:27
stickupkidmanadart: if it's 1.11, then you need to downgrade to 1.10.x - golang made a breaking change10:27
stickupkidRE: https://github.com/golang/go/issues/26098#issuecomment-40085937010:28
stickupkidmanadart: we're going to force 1.11 next week at the sprint, so all outstanding branches etc will need updating10:28
gsamfirastickupkid: gotcha. Downgrading. I'm running 1.1110:30
gsamfirathanks10:30
stickupkidgsamfira: np :D10:32
stickupkidmanadart: i'm looking at escaping documents from mongo, have you seen this in passing? or do we do it late in the day, before we use it11:12
stickupkids/escape/unescape11:12
stickupkidmandart: I'm looking if there is any common pattern for this11:13
manadartstickupkid: Not sure. I've not had accommodate it directly.11:13
stickupkidmanadart: fair11:13
rick_h_stickupkid: manadart I thuoght we had a tool around that. I remember jam mentioning making things "fat hyphen" and such12:51
stickupkidrick_h: we do, i found it12:51
stickupkidrick_h: well i found it twice, there is code duplication :D12:52
rick_h_stickupkid: hah, ok cool12:54
hmlstickupkid: changes made: https://github.com/juju/charm/pull/26414:09
hmlstickupkid: i plan to squash the commits before merge.14:09
stickupkidhml: yeah, fine by me14:09
stickupkidhml: LGTM - :D14:09
hmlstickupkid: merged14:13
parlosGood Morning14:57
rick_h_morning parlos15:02
rick_h_externalreality: QA'd the branch there. Looks awesome!15:02
rick_h_externalreality: one typo note and I thought I recalled a conversation around the error at the end of complete? If that's for followup work then carry on15:02
parlosI've used the openstack-bundle-57 to deploy OS, works nice. However, I ran in to trouble a few miles down the line. What I discovered was that nova compute ran out of local storage, however afaik, there is no config option for that in the nova-compute service, as that is handed by Libvirt. Which then got me wondering, who installes/configures libvirt? Guess it comes with the OS, and if so, how could this be modified from the bundle?15:11
stickupkidhml: are you using "gopkg.in/charm.v6-lxdprofile" in the dep file15:12
stickupkidhml: i'm trying to do it the standard way, rather than injecting the git repo directly into the vendor folder...15:12
rick_h_parlos: so the bundle is a collection so applications and each application will have its own config available. I'd expect that it's something you can tweak in the nova-compute charm config: https://jujucharms.com/nova-compute/ (look at the config section)15:17
rick_h_parlos: for expertise on setting that up better I'd reach out to the openstack folks but hopefully that helps15:17
parlosrick_h; from that you can config the empheral storage, but the storage i think i'm refering too is managed by libvirt. which isnt a service in the bundle...15:19
parlosrick_h; from that I can config the ephemeral storage, but the storage i think i'm referring too is managed by libvirt. which isnt a service in the bundle...15:20
parlosrick_h; the question can be generalized, who configures the 'base' services on a node? SSH seems to be configured by maas in my case, but juju also does something too it (i think) but ssh is not listed as a service..hope my question is understandable.15:23
stickupkidhml: this is really annoying, we can't namespace dep toml file to point to "gopkg.in/juju/charm.v6-lxdprofile"15:26
stickupkidhml: it's because https://github.com/niemeyer/gopkg/blob/master/version.go#L16 hardcodes unstable :|15:26
hmlstickupkid: poopy15:26
stickupkidhml: i've got an idea :D15:27
stickupkidhml: yes it works :D15:28
hmlstickupkid: w00t15:29
stickupkidhml: one sec, i'll make a branch, that we can use as our base branch15:29
stickupkidhml: this could be away to get rid of the patches folder as well15:30
hmlstickupkid: cool, jam was wondering if that could be done with deps15:31
stickupkidhml: yeap :p15:31
stickupkidhml: CR here https://github.com/juju/juju/pull/919315:32
stickupkidhml: so we don't have to change any source code in juju, just update the revision, when the v6-lxdprofile feature branch is done, then we just update the dep Gopkg.toml + lock file and we're done :D15:33
stickupkidhml: right, i can start working on the validation stuff now :D15:34
stickupkidhml: don't feel dirty hacking on my vendor folder now15:34
hmlstickupkid: how does that work?  charm/lxdprofile instead of charm/v6-lxdprofile?15:35
stickupkidhml: typo, just needs to be charm, one sec15:35
stickupkidhml: it ignores everything after the project anyway15:36
stickupkidhml: try now15:38
hmlstickupkid: trying15:41
rick_h_parlos: so juju will touch things on a node that it needs to communicate/work like ssh keys. It doesn't do anything else. All of that is up to the charms on it. So I'd expect that if nova-compute needs to manage things for vms it would have those knobs. Otherwise i'd expect some other charm to provide the tools/controls for something else running.15:41
stickupkidmanadart: is there away to have multiple leases at once, i.e. could leases overlap and how do know which leases are being offered15:42
hmlstickupkid: worked for me.  :-)15:50
hmlstickupkid: looking at the safeLXDProfile now15:52
stickupkidhml: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRIOg8AK-PpstPTj5MeHL-loVkvw4V9RRhFrwMs9sVnz5AP7-k115:52
hml:-D15:52
parlosrick_h: so, your guess would be that nova-compute (or some of the charms in the bundle) would install and configure libvirt in this case.15:54
parlosguess I have to do some digging, to see if thats something I can configure. thanks for the answers15:56
rick_h_parlos: correct, that would be my assumption if nova is creating VMs on top of libvirt. That's its job to manage then.15:57
stickupkidhml: we should be able to do that from the charmstore now - in theory "juju deploy cs:~simonrichardson/lxd-profile-3"16:01
hmlstickupkid: yes16:02
hmlstickupkid: or from juju/juju : juju deploy --debug ./testcharms/charm-repo/quantal/lxd-profile16:02
stickupkidhml: i wanted to make sure that it worked from the charmstore :D16:03
hmlstickupkid: did you push a charm up to the store?  I haven't16:03
hmljust been using local charms todate16:03
stickupkidhml: yeah, we can always remove it later, but will help with manual testing16:03
hmlstickupkid: i believe we were going to add as juju-qa or something16:04
hmlstickupkid: there’s some up there already16:04
stickupkidhml: fair16:04
stickupkidhml: i'll see how that works in a minute16:04
rick_h_externalreality: are you sure on the do-release-upgrade? Did that get pushed up? I don't see it in the diff and the second round of QA still shows the space.18:37
veebersMorning all o/20:44

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