rolekitweekly
LOGS
13:00:46 <sgallagh> #startmeeting rolekit (2015-10-27)
13:00:46 <zodbot> Meeting started Tue Oct 27 13:00:46 2015 UTC.  The chair is sgallagh. Information about MeetBot at http://wiki.debian.org/MeetBot.
13:00:46 <zodbot> Useful Commands: #action #agreed #halp #info #idea #link #topic.
13:00:46 <sgallagh> #meetingname rolekitweekly
13:00:46 <sgallagh> #chair sgallagh twoerner nilsph
13:00:46 <sgallagh> #topic init process
13:00:46 <zodbot> The meeting name has been set to 'rolekitweekly'
13:00:46 <zodbot> Current chairs: nilsph sgallagh twoerner
13:00:52 <nilsph> .hello nphilipp
13:00:53 <zodbot> nilsph: nphilipp 'Nils Philippsen' <nphilipp@redhat.com>
13:00:54 <twoerner> .hello twoerner
13:00:55 <sgallagh> .hello sgallagh
13:00:56 <zodbot> twoerner: twoerner 'Thomas Woerner' <twoerner@redhat.com>
13:00:59 <zodbot> sgallagh: sgallagh 'Stephen Gallagher' <sgallagh@redhat.com>
13:01:18 <sgallagh> How is everyone doing?
13:02:13 <nilsph> laboring on the last remnants of a cold
13:02:18 <sgallagh> Ouch, sorry to hear that.
13:02:30 <twoerner> I am busy.. working on some firewalld extesion
13:02:41 <twoerner> but fine
13:03:05 <sgallagh> I meant to ask: will either of you be at the systemd conference next week?
13:03:17 <twoerner> nope
13:04:13 <twoerner> I will not be there...
13:05:00 <sgallagh> OK, just curious.
13:05:06 <sgallagh> #topic Status Update
13:05:41 <sgallagh> I don't have much to report here; I've spent the last two weeks alternately herding Fedora cats and working on a massive glibc patch. So not much time for rolekit.
13:05:50 <twoerner> sgallagh: will you be there?
13:05:55 <sgallagh> I will
13:06:37 <twoerner> nice
13:06:43 <sgallagh> Hopefully I'll be back on rolekit later this week; I'm going to work on the pendingrole cancellation stuff first and then move on to the progress updater patches.
13:08:10 <sgallagh> twoerner: Have you had any time for rolekit lately?
13:09:01 <twoerner> I think I will have some time for rolekit again next week
13:09:54 <sgallagh> nilsph: ?
13:10:00 <twoerner> but did not had lots of time in the last two weeks for rolekit
13:10:10 <nilsph> sgallagh: no, sorry
13:10:18 <nilsph> (was distracted, so doubly sorry ;)
13:10:29 <nilsph> re: systemd conf I mean
13:10:58 <nilsph> I've thought about out-of-tree role plugins
13:11:33 <sgallagh> #topic Out-of-tree Role Plugins
13:11:37 <sgallagh> Go on :)
13:12:07 <nilsph> heh
13:12:54 <nilsph> I think one of the bigger challenges with this is that we need to store these plugins somewhere (probably just beside the instance settings), and how to address them in the UI
13:13:21 <sgallagh> nilsph: Sorry, I'm not quite following.
13:13:36 <nilsph> That was the very condensed versions. The abstract. :)
13:13:39 <nilsph> -s
13:13:43 <sgallagh> :)
13:13:52 <sgallagh> Sorry, I'll let you talk before interrupting.
13:14:02 <nilsph> Now you did it again. :P
13:15:27 <nilsph> OK. 1) Store the role plugin somewhere. Probably needs to go right beside the instance which is created from it, because we need to be able to redeploy/decommission it later and we can't guarantee that one out-of-tree "Froboz" role is like the other.
13:15:55 <nilsph> Does that make sense?
13:15:59 <sgallagh> nilsph: No, actually.
13:16:03 <nilsph> Good.
13:16:05 <nilsph> :)
13:16:32 <nilsph> I'm sure there's a longer version of it :)
13:16:41 <sgallagh> A role plugin should never be removed without also removing any instances of it.
13:17:04 <sgallagh> We should probably provide guidelines to packagers about this.
13:17:46 <sgallagh> I'm pretty sure this is an acceptable doc issue rather than a technical one.
13:18:08 <sgallagh> We can minimize it in packaging scripts, but realistically it falls under "don't do something obviously broken", to me :)
13:18:14 <nilsph> sgallagh: so do you think along the lines of 1) an admin creates a new role by importing its plugin and 2) he creates an instance from it as separate activities?
13:18:27 <sgallagh> I do
13:18:32 <nilsph> Aaaah.
13:19:07 <sgallagh> Realistically, we can't deploy at all without the plugin already being present.
13:19:36 <nilsph> Well, I didn't understand it like that unfortunately. We should add a little prose to the issue then, so I won't chase down other blind alleys :).
13:19:37 <sgallagh> Though I suppose we could talk about having auto-retrievable plugins from some sort of a repository.
13:20:00 <sgallagh> But not in the first pass.
13:20:21 <nilsph> sgallagh: My initial understanding was s.th. like "rolectl deploy --out-of-tree froboz-role.py ..."
13:20:38 <nilsph> Turns out, it was wrong. Good we talked about it :).
13:21:04 <sgallagh> nilsph: That could still be useful, but only as a helper mechanism.
13:21:13 <sgallagh> Remember, we want rolekit to be driveable from its API.
13:21:38 <sgallagh> rolectl should always be a thin layer around the API except where impossible (like --deferred)
13:22:35 <sgallagh> That said, there's value to having rolectl be able to register and install a new role plugin.
13:22:53 <nilsph> Yes. We should somehow distinguish "user-supplied" roles from "officially shipped" ones, so if a user adds a role "foobar" and we do add another "foobar" in the next version things don't disintegrate.
13:22:54 <sgallagh> so something like `rolectl register frobozz-role`
13:23:06 <nilsph> Yes.
13:23:08 <sgallagh> Where frobozz-role is either frobozz-role.py or frobozz-role/
13:23:35 <nilsph> And then it gets copied somewhere the admin is unlikely to mess with it (except through the API and/or rolectl)
13:23:42 <sgallagh> nilsph: Exactly.
13:24:06 <sgallagh> I'd still call that "phase 2" though.
13:24:41 <sgallagh> The first piece of this effort is figuring out what parts of the code need to be documented and made more public so that building out-of-tree roles is possible (and testable)
13:24:48 <nilsph> okay
13:24:59 <nilsph> I think I understand better now.
13:25:25 <sgallagh> In phase 1, I think it's okay if we tell people "`make install` must put rolename.py <here>"
13:26:40 <nilsph> Aaahhh.
13:27:05 <sgallagh> err, role.py, of course
13:27:53 <nilsph> Perhaps we should reserve a namespace for user-supplied roles? S.th. like "We guarantee that rolekit will never ship roles starting with "user-"."
13:28:00 <sgallagh> The biggest piece of this, I think, is going to be refactoring and documenting a "-devel" module that provides all of the useful helper routines.
13:28:42 <sgallagh> nilsph: Probably a good idea, but maybe "custom-" would be better.
13:28:55 <nilsph> yes
13:29:04 <nilsph> "custom-" it is
13:29:59 <sgallagh> nilsph: Let's not *enforce* this, however. It may be that we will want to have some official roles live out of tree.
13:30:14 <sgallagh> So that they would be maintained by the other project rather than us.
13:30:49 <sgallagh> (In Fedora, we would just subpackage those and Requires: or Recommends: them if we want them available by default)
13:33:12 <nilsph> sgallagh: I wouldn't suggest "anybody else than us must use the so-not-official-it-hurts prefix". But perhaps 3rd parties could kind of "register" their role names with us so we don't end up with conflicts? I mean there's no way we can force them to play nice, but we don't need to make promises not to step on their toes either.
13:33:57 <sgallagh> nilsph: Probably reasonable.
13:34:16 <sgallagh> And as we go along, if we do end up with a registry/repository of plugins, that will sort of work itself out
13:35:07 <nilsph> sgallagh: not sure if we shall follow the lead of others that use reversed domain names for self-organizing namespaces. Makes stuff a little clunky for end users, but it's pretty safe.
13:35:31 <sgallagh> I'd really prefer not to do that.
13:35:50 <sgallagh> But we'll see if it becomes necessary
13:36:21 <sgallagh> I feel like that only becomes an issue once we have a lot of participants, at which point it will be a good problem to have
13:37:37 <nilsph> yeah
13:40:02 <sgallagh> OK, anything else on this topic?
13:40:54 <nilsph> no, I think I have a better understanding now
13:42:42 <sgallagh> #topic Open Floor
13:42:50 <sgallagh> Anything for Open Floor this week?
13:43:47 <nilsph> not from me
13:43:55 <nilsph> twoerner: ^^ ?
13:44:25 <twoerner> nothing from me
13:44:48 <sgallagh> OK, then thanks for coming.
13:44:57 <sgallagh> #endmeeting