/srv/irclogs.ubuntu.com/2014/07/18/#juju-gui.txt

urulamarogpeppe: morning06:21
rogpeppeurulama: hiya06:21
urulamarogpeppe: did anyone provide any feedback yesterday?06:22
rogpeppeurulama: not that i've seen06:22
urulamarogpeppe: ok. nevertheless, we still need to make v4 as a charmstore "stub" for London ... 06:25
urulamarogpeppe: be here soon, just making quick breakfast06:25
urulamarogpeppe: ready ... and i just remembered, that it would be great if I buy some GBP for Sunday ...07:01
rogpeppeurulama: good plan :-)07:01
rogpeppeurulama: or just use your card when over here07:02
urulamarogpeppe: yeah, just to be on the safe side to have for a bus from Stansted to Liverpool station07:02
rogpeppeurulama: ah yes. you'll need some cash for that.07:03
rogpeppeurulama: presumably you mean Liverpool Street station...07:03
urulamarogpeppe: indeed :D07:03
rogpeppeurulama: we don't want you ending up in Liverpool!07:03
urulamarogpeppe: is it v4 branch now?07:06
rogpeppeurulama: yes07:06
rogpeppeurulama: the PR is here: https://github.com/juju/charmstore/pull/1407:06
urulamarogpeppe: what about 004-restructure branch?07:20
urulamarogpeppe: 004-restructure-107:20
urulamathat was the last commit afaics07:21
rogpeppeurulama: it can't be easily reviewed until the previous pull request goes in07:21
urulamaok07:22
rogpeppeurulama: https://github.com/juju/charmstore/pull/1510:49
urulamarogpeppe: ping me when you return11:51
rogpeppeurulama: ha, only just saw your "ping me" message13:15
rogpeppeurulama: i've been back a while :-)13:16
frankbanrogpeppe: urulama: how is it going?13:23
rogpeppefrankban: pretty well, i'd say13:23
rogpeppefrankban: wanna gogogo?13:23
frankbanrogpeppe: sure, I'll be there in a bit13:24
urulamafrankban: hi there13:27
urulamarogpeppe: i was stuck on a rick_h__ comment about how version numbers could be interpreted (min vs max version)13:27
rogpeppeurulama: in which document?13:27
rick_h__rogpeppe: this is related to the package version compared to api version13:29
rick_h__rogpeppe: that we had an initial thought on yesterday 13:29
rogpepperick_h__: ah yes13:29
rogpepperick_h__: my current inclination is to treat the package version and the api version as two entirely distinct things13:30
rogpepperick_h__: because the package version is all about compilability13:30
rick_h__rogpeppe: ok, that's fine by me. I was just concerned with matching package version with latest api version (the v4 update and such)13:31
rogpepperick_h__: cool. yeah, i'll change that13:31
rick_h__rogpeppe: I think that makes sense as well and is traditional/expected13:31
rogpepperick_h__: i think it's reasonable not to have to change the import paths in programs that use charmstore because the api versions have changed.13:32
rogpepperick_h__: especially as it could even be dynamic which versions are served up13:33
rogpepperick_h__: (for example, with a command line flag or environment variable to determine which versions the API serves)13:34
rick_h__rogpeppe: +113:34
rogpepperick_h__: i'll go for a v2 branch, as with the charm package. and i think we'll move the import path to gopkg.in/juju/charmstore.v213:34
rick_h__rogpeppe: ok sounds like a plan13:35
rick_h__jujugui heads up I've got laggy network, casuing me to lose my irc ssh connections/etc in case I'm not as responsive as usual. 14:23
rick_h__jujugui call in 814:53
hatchrogpeppe I have no idea what Dominion cards are but if you have enough for extra decks then I'd learn :)15:13
rogpeppehatch: i have the base set, but it's much more fun with extra sets15:13
hatchahh 15:13
rogpeppehatch: http://en.wikipedia.org/wiki/Dominion_(card_game)15:13
hatchyeah I checked it out15:14
hatchI won't be able to buy any before I take off....oh wells15:14
rick_h__I'll see how many CaH cards I can fit into my carry on :)15:15
hatchI can't believe that game is so popular when everyone on the internet gets offended by everything lol15:15
hatchclearly they are all pretend offended 15:15
rogpeppei've only played it once. i was not offended.15:19
rogpeppemind you, i'm not easily offended15:19
hatchhere here!15:19
kadams54rick_h__, hatch: I'm seeing additional oddness when replicating the bug I'm working on, https://bugs.launchpad.net/juju-gui/+bug/134165315:51
_mup_Bug #1341653: Cannot drop an unplaced unit on a ghost container <juju-gui:In Progress by kadams54> <https://launchpad.net/bugs/1341653>15:51
rick_h__ kadams54 otp, can chat in a sec15:52
kadams54The service unit I tried to drop is still unplaced, but there's a machine listed without an ID and it seems to have the service deployed: http://cl.ly/image/0j3c122P171M15:53
hatchkadams54 hm looking15:55
hatchkadams54 ok that might be happening because the placeUnit isn't removing the ghost unit token from the db15:55
hatchthere is probably an error somewhere which is causing it to not find the ghost unit, and because of that, not remove it15:56
kadams54So we have a bug in rollback scenarios15:56
hatchkadams54 it might be worth outlining all of the different interactions we can take with that and then going through step by step15:57
hatchthat way we know that each time we modify that code that it's not breaking something else15:57
kadams54Transactional commits, rollbacks… if only they made datastores that supported these things!15:58
kadams54I think it would be worth outlining if that was the first step in creating a functional test (or suite of tests).15:59
kadams54hatch: But I'm not sure that's the problem here (unspecified/tested interactions). The problem seems more basic: how do we ensure, when an error occurs, that we can recover to a clean and good state?16:00
hatchkadams54 well it should be impossible to enter a dirty state16:00
hatchthere is no way we can get out of it if the code is broken :)16:00
kadams54Why would that be?16:01
kadams54What happens when we send a command off to juju-core and it fails?16:01
kadams54We've often already updated the GUI and the client DB16:01
kadams54So those changes need to be rolled back16:01
hatchwell yes the environment handles that16:02
hatchthis ECS stuff is new uncharted territories 16:02
hatchthere are going to be a whole slew of interactions which need to be tested16:02
urulamajujugui see you in London16:03
hatchcya urulama  safe travels16:03
rogpeppei'm also off now16:04
kadams54urulama: safe travels16:04
rick_h__urulama: be safe16:04
rogpeppesafe travels to all16:04
kadams54rogpeppe: you too16:04
rogpeppeno missiles anyone, ok?16:04
urulamathanks, same to you16:05
kadams54hatch: sure, but being able to recover from a failed transaction seems pretty low level. It shouldn't care about what kind of work is happening in the transaction, so you don't need to test every type of transaction to ensure clean rollbacks.16:05
hatchright - but the issue is that we create ghost records in the db then the env creates the real ones16:06
hatchthe issue you're experiencing looks like the ghost record isn't being removed16:06
hatchlikely because of a name missmatch or something16:06
kadams54hatch: I guess I had a different perspective: in my view, the problem wasn't that the ghost record still existed. The transaction failed, so IMO it should still be an unplaced unit. Rather, the problem was that this mystery ID-less machine popped up, with an equally mysterious mysql unit deployed on it.16:08
kadams54Those should have been rolled back when the transaction failed, leaving me back at an unplaced unit.16:08
hatchyes I agree, I'm just trying to think of how this is to be done with the current ecs/ghost/db implementation16:11
rick_h__kadams54: hatch sorry, call is over. Everyone ok or need another set of eyes?16:20
hatchI have to run in a bit so when I get to the airport I'll pop it open again and look at the code16:21
kadams54rick_h__: Not sure we need a second set of eyes, we just may have another bug, in addition to the one I'm working on.16:22
rick_h__kadams54: ok16:22
hatchcya everyone, have a safe trip16:31
rick_h__safe flight hatch 16:31
hatchthanks16:31
* rick_h__ makes lunch16:41
rick_h__jujugui I'm out, going to get the bags packed up. See you all soon.19:23
Makyoccccccdiltnnrhthtkkkvghvfrtgecbuiivndeblduie19:26
=== alexpilotti_ is now known as alexpilotti

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