<div dir="ltr">Oh, right, sorry, I'm keeping to think about its about the user in specific tenant usage just like other resources. You are right, Keypair has nothing about the tenant, only about the user. Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-26 23:22 GMT+08:00 Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/25/2018 06:22 PM, Alex Xu wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
2018-07-26 1:43 GMT+08:00 Chris Friesen <<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a><br></span>
<mailto:<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windrive<wbr>r.com</a>>>:<br>
</blockquote><span class="">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    Keypairs are weird in that they're owned by users, not projects.  This is<br>
    arguably wrong, since it can cause problems if a user boots an instance with<br>
    their keypair and then gets removed from a project.<br>
<br>
    Nova microversion 2.54 added support for modifying the keypair associated<br>
    with an instance when doing a rebuild.  Before that there was no clean way<br>
    to do it.<br>
<br>
<br>
I don't understand this, we didn't count the keypair usage with the instance<br>
together, we just count the keypair usage for specific user.<br>
</blockquote>
<br>
<br></span>
I was giving an example of why it's strange that keypairs are owned by users rather than projects.  (When instances are owned by projects, and keypairs are used to access instances.)<div class="HOEnZb"><div class="h5"><br>
<br>
Chris<br>
<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</div></div></blockquote></div><br></div>