[04:45] hey jtv did you merge your intergration branch changes into trunk again? [05:01] if I was to have some nodes I wanted to allocate to a maas user, how would I do that? [05:06] bigjools: ^^ any ideas? [05:07] bradm: there's no feature to do that on someone's behalf [05:07] you would need the user to have a maas account [05:07] bigjools: when I mean a maas user, I mean a maas account [05:08] bigjools: ie, I created the account, I want to allocate some nodes to it, but the account doesn't have much in the way of perms [05:08] bradm: sorry I don't really understand what you mean [05:08] account where? [05:08] bigjools: the maas account on the maas controller - done via the web ui [05:09] ok so that's a maas user [05:09] same as account [05:09] ah, right [05:09] well, I have one of those, and I want to allocate some nodes to it [05:09] you have to do it logged in as that user [05:09] so that user can only touch those nodes [05:11] huh, really. so its not so much as permissions, as whoever grabs it first can have it [05:12] bigjools: ok, so how do you then add the nodes to the user? [05:13] bradm: the user requests a node using their own account [05:14] bigjools: uh, but we only want the user to be able to request two specific nodes, there's no way to lock it down to that? [05:14] bradm: no [05:14] it works like a cloud [05:14] bigjools: ouch. [05:15] you are supposed to use request constraints as the user to get a specific machine [05:15] you're asking for a "reserved" instance in effect [05:16] bigjools: essentially I think we want it to act like specific pools of resources allocated for particular users. [05:17] bigjools: so to step back, what we're trying to do here is allocate certain resources to webops, and certain resources to archive servers - and we don't want webops to be able to touch the archive servers, just for safetys sake. it sounds like this isn't a supported scenario in the same region, and we'd have to make up different regions for this? [05:18] I might be getting regions and clusters confused here [05:28] bigjools: what would be the supported way to handle that? particularly given the resources could be on the same vlan? [06:00] bigjools: I guess that means we should stop wanting that then? :) [06:01] bradm: sorry otp [06:02] bigjools: no worries [06:22] bradm: ok back [06:22] bradm: there is no way to do what you want right now [06:23] other than installing one maas per user [06:25] One maas per child1 [06:27] o/ lifeless [06:27] bradm: if it's any consolation we have talked about this before :) [06:28] bradm: in the API there is a way to acquire a node without starting it. It's a bit of a hack but could work for you. [06:35] bigjools: maybe have an admin allocate the node, and change the owner? [06:35] jtv: how can we change the owner? [06:35] PUT to the node. [06:36] Not sure if we support that. [06:36] aieeee [06:36] we don't :) [06:36] ah [06:36] but bradm is talking about limiting what a user can use in a pool [06:36] we have no way of doing that [06:37] Right. === CyberJacob|Away is now known as CyberJacob [07:12] bigjools: so the tl;dr is no ponies for us? [07:12] SOL [07:13] bigjools: hmm. given the dhcp is restricted per mac, I guess we could end up with a maas region + controller per user, that means a box per though [07:13] bradm: or you could do a feature request [07:13] bigjools: how do we do that? [07:14] bradm: filing a bug would be a good start :) [07:14] bigjools: "Please bigjools, I want a pony!" ? [07:14] and then escalate [07:15] I imagine that would escalate only in the sense that violence does. [07:16] bigjools: righto, it does seem like something that would be generically useful - I think the way we were thinking was you could allocate nodes to a user (from an admin account), and then they could just see and use resources from there [07:16] bradm: this is the eternal problem of peope stating their desired solutions rather than explaining their problems and desired outcomes [07:16] people* [07:17] we'd implement this with reserved instances [07:17] so only the person or persons on the reservation list could start a node [07:18] and you could associate reserved instances with different people? or there's just one list? [07:22] anyway, thats really implementation details, let me write up a bug and see if it makes sense. [07:31] bigjools: LP#1297662 [07:31] bigjools: let me know if it makes sense, or needs any more info, or whatever === zchander_work is now known as zchander === CyberJacob is now known as CyberJacob|Away [11:55] blake_r: Hi. Ping me when you start. I need to talk some more about UEFI. [12:45] allenap: I am here [13:10] Hey, is there API to query networks for an already provisioned network? [13:13] rvba: allenap mgz suggeted that you might know :) === roadmr_afk is now known as roadmr [13:19] perrito666: this is the doc for trunk (i.e. not yet published): http://people.canonical.com/~rvb/maas-docs/api.html Search for 'Read network definition' in there. [13:21] rvba: thank you very much [13:21] welcome [13:21] rvba: You *just* beat me to it. Hi there perrito666! [13:23] hello allenap [14:50] rvba: sorry I have a doubt, in GET /api/1.0/networks/ which has a param node, what exactly is node? (I mean what field of node is expected to be used as id there) [14:52] perrito666: Yeah, it's not really clear. The node is in fact the node's system_id field. [14:53] rvba: thank you [16:28] rvba: allenap also, what is the structure returned by the networks api call? [16:34] perrito666: a network, like all the other objects returned by the API, is a json dict. [16:35] is there any doc of the key/values for each call? [16:36] I don't think there is proper documentation for this unfortunately. [16:36] The fields are 'name', 'ip', 'netmask', 'vlan_tag', 'description' [16:37] rvba: once again, thank you :) [16:37] np === roadmr is now known as roadmr_afk === drussell is now known as honey_nut_loops === honey_nut_loops is now known as drussell === roadmr_afk is now known as roadmr === CyberJacob|Away is now known as CyberJacob === roadmr is now known as roadmr_afk === CyberJacob is now known as CyberJacob|Away [23:31] bradm: did you see the response to https://bugs.launchpad.net/maas/+bug/1297662 [23:31] Ubuntu bug 1297662 in MAAS "MAAS doesn't have nodes reserved for users" [Undecided,New] [23:34] bigjools: I did - I'm not sure I really understand how that would work, though - does juju integrate with landscape now? [23:35] bradm: I am not sure how they integrate, you're best talking to Landscape guys to see what they are implementing [23:36] bigjools: righto, we'll have a chat and see what the plans are with them. [23:37] cool