[13:05] Good mornings [13:20] niemeyer, heyhey; nice holiday? [13:20] fwereade_: Heya! [13:21] fwereade_: 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] fwereade_: How about you, good stuff there? [13:22] niemeyer, aw :( [13:22] niemeyer, had a lovely easter actually; went out with cath's family for *awesome* food, and a spot of light walking in the countryside afterwards [13:23] fwereade_: Oh, sounds nice indeed [13:24] fwereade_: How's the countryside like there? [13:24] niemeyer, at this time of year, both rocky and green, once you actually get out there [13:24] niemeyer, lots of flowers [13:24] niemeyer, over summer it's a bit brown but still really rather lovely [13:25] fwereade_: Ah, colorful then [13:25] (at this time) [13:25] niemeyer, yeah :) [14:45] mthaddon: ping [15:41] Lunch, biab [16:12] fwereade_, re error on private cloud with constraints.. http://pastebin.ubuntu.com/922019/ [16:22] ic the problem [16:37] fwereade_, effectively required constraints aren't populated for private clouds.. http://pastebin.ubuntu.com/922057/ [16:45] az and instance type are still valid to specify even lacking the ability to define the vocabulary, the values should pass through [18:06] fwereade_, 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:07] * hazmat moves on to checking out the sub agent branch [18:15] hazmat, thanks, and sorry [18:17] 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:29] fwereade_, 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 constraint [18:29] which fails when the constraint itself defined [18:30] what a tangled web we weave when first we practice to abstract ;-) [18:31] hazmat, I'm confused; default-instance-type short-circuits constraints [18:31] fwereade_, it does.. but say you don't have it defined [18:31] fwereade_, then the default value comes from generic constraints [18:31] but those are only setup upon registering generics [18:31] ie. instance-types [18:32] 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 lunch [18:45] fwereade_, that might be the case for some, but not all. [18:45] hazmat, clearly so :( [18:50] hazmat, everyone uses default-image-id, though, right? [18:57] fwereade_, on private clouds yes [18:58] hazmat, jolly good [19:00] hazmat, when you have a mo, please let me know whether you feel http://paste.ubuntu.com/922279/ is trivial enough to be a trivial [19:03] hazmat, tiny tweak to above, http://paste.ubuntu.com/922285/ [19:07] fwereade_, hmm.. i don't see this as particularly better.. the common vocabulary would suggest common usage even if we can't guarantee the value mapping [19:10] although likely the ec2 zone is wrong given its part in value construction [19:10] fwereade_, also i noticed that passing instance-type when it wasn't defined didn't trigger a user error [19:12] fwereade_, 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 thorough [20:02] hazmat, fair points; [20:02] hazmat, I shall think on them [20:03] hazmat, thanks [20:05] fwereade_, 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 thin [20:05] k we agree is the long term solution. [20:06] hazmat, yeah, I think I'm converging on an implementation of that