<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 21, 2019 at 2:18 PM Ed Leafe <<a href="mailto:ed@leafe.com">ed@leafe.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Jan 21, 2019, at 1:55 PM, Lance Bragstad <<a href="mailto:lbragstad@gmail.com" target="_blank">lbragstad@gmail.com</a>> wrote:<br>
> <br>
> Are you referring to the system scope approach detailed on line 38, here [0]?<br>
<br>
Yes.<br>
<br>
> I might be misunderstanding something, but I didn't think keystone was going to iterate all available services and call clean-up APIs. I think it was just that services would be able to expose an endpoint that cleans up resources without a project scoped token (e.g., it would be system scoped [1]).<br>
> <br>
> [0] <a href="https://etherpad.openstack.org/p/community-goal-project-deletion" rel="noreferrer" target="_blank">https://etherpad.openstack.org/p/community-goal-project-deletion</a><br>
> [1] <a href="https://docs.openstack.org/keystone/latest/admin/tokens-overview.html#system-scoped-tokens" rel="noreferrer" target="_blank">https://docs.openstack.org/keystone/latest/admin/tokens-overview.html#system-scoped-tokens</a> <br>
<br>
It is more likely that I’m misunderstanding. Reading that etherpad, it appeared that it was indeed the goal to have project deletion in Keystone cascade to all the services, but I guess I missed line 19.<br>
<br>
So if it isn’t Keystone calling this API on all the services, what would be the appropriate actor?<br></blockquote><div><br></div><div>The actor could still be something like os-purge or adjutant [0]. Depending on how the implementation shakes out in each service, the implementation in the actor could be an interation of all services calling the same API for each one. I guess the benefit is that the actor doesn't need to manage the deletion order based on the dependencies of the resources (internal or external to a service).</div><div><br></div><div>Adrian, and others, have given this a bunch more thought than I have. So I'm curious to hear if what I'm saying is in line with how they've envisioned things. I'm recalling most of this from Berlin.</div><div><br></div><div>[0] <a href="https://adjutant.readthedocs.io/en/latest/">https://adjutant.readthedocs.io/en/latest/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
-- Ed Leafe<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div></div></div>