/srv/irclogs.ubuntu.com/2012/04/09/#juju-dev.txt

niemeyerGood mornings13:05
fwereade_niemeyer, heyhey; nice holiday?13:20
niemeyerfwereade_: Heya!13:20
niemeyerfwereade_: Yeah, nice overall.. went to my dad's for a nice barbecue. Ale was working over most of it, though, which removed some of the feeling of easter.13:21
niemeyerfwereade_: How about you, good stuff there?13:21
fwereade_niemeyer, aw :(13:22
fwereade_niemeyer, had a lovely easter actually; went out with cath's family for *awesome* food, and a spot of light walking in the countryside afterwards13:22
niemeyerfwereade_: Oh, sounds nice indeed13:23
niemeyerfwereade_: How's the countryside like there?13:24
fwereade_niemeyer, at this time of year, both rocky and green, once you actually get out there13:24
fwereade_niemeyer, lots of flowers13:24
fwereade_niemeyer, over summer it's a bit brown but still really rather lovely13:24
niemeyerfwereade_: Ah, colorful then13:25
niemeyer(at this time)13:25
fwereade_niemeyer, yeah :)13:25
niemeyermthaddon: ping14:45
niemeyerLunch, biab15:41
hazmatfwereade_, re error on private cloud with constraints.. http://pastebin.ubuntu.com/922019/16:12
hazmatic the problem16:22
hazmatfwereade_, effectively required constraints aren't populated for private clouds.. http://pastebin.ubuntu.com/922057/16:37
hazmataz and instance type are still valid to specify even lacking the ability to define the vocabulary, the values should pass through16:45
hazmatfwereade_, i ended up just putting in bandaid to remove the using_amazon check when setting up ec2 provider constraints in r518.. else private cloud usage using the ec2 api was broken.. as the provider requires both constraint keys defined in several places, and the default selection of instance-type m1.small relies on it as well.18:06
* hazmat moves on to checking out the sub agent branch18:07
fwereade_hazmat, thanks, and sorry18:15
fwereade_hazmat, but I would say that surely we should in fact be getting values rather than getiteming them, rather than exposing meaningless values through the UI?18:17
hazmatfwereade_, well typically the standard values do have meaning in private contexts, just not the ones we think they do.. i looked at doing gets.. but that's also problematic because the default-instance-type is resolved via constraint18:29
hazmatwhich fails when the constraint itself defined18:29
hazmatwhat a tangled web we weave when first we practice to abstract ;-)18:30
fwereade_hazmat, I'm confused; default-instance-type short-circuits constraints18:31
hazmatfwereade_, it does.. but say you don't have it defined18:31
hazmatfwereade_, then the default value comes from generic constraints18:31
hazmatbut those are only setup upon registering generics18:31
hazmatie. instance-types18:31
fwereade_hazmat, hmmm, yeah, got you; I'd imagined people were always using default-instance-type and default-image together :(18:32
* hazmat grabs some snacks and call its lunch18:32
hazmatfwereade_, that might be the case for some, but not all.18:45
fwereade_hazmat, clearly so :(18:45
fwereade_hazmat, everyone uses default-image-id, though, right?18:50
hazmatfwereade_, on private clouds yes18:57
fwereade_hazmat, jolly good18:58
fwereade_hazmat, when you have a mo, please let me know whether you feel http://paste.ubuntu.com/922279/ is trivial enough to be a trivial19:00
fwereade_hazmat, tiny tweak to above, http://paste.ubuntu.com/922285/19:03
hazmatfwereade_, hmm.. i don't see this as particularly better.. the common vocabulary would suggest common usage even if we can't guarantee the value mapping19:07
hazmatalthough likely the ec2 zone is wrong given its part in value construction19:10
hazmatfwereade_, also i noticed that passing instance-type when it wasn't defined didn't trigger a user error19:10
hazmatfwereade_, ie. given this patch the user wouldn't ever be able to specify via constraint any instance type they'd have to fallback to specifying it via hot swapping in environments.yaml... even though the value they want to give would work if just passed thorough19:12
fwereade_hazmat, fair points;20:02
fwereade_hazmat, I shall think on them20:02
fwereade_hazmat, thanks20:03
hazmatfwereade_, np.. i think the underlying issues are the same as when this was implemented just that we haven't had time to put in place the right solutions.. i mean  from a different perspective.. --constraints are exposed on private clouds, if usage of them is ignored without warning that's a bad ux. the ideal scenario is of course the same, constraints work everywhere, but that requires both image mapping and instance type mapping definitions, which i thin20:05
hazmatk we agree is the long term solution.20:05
fwereade_hazmat, yeah, I think I'm converging on an implementation of that20:06

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