<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-12-08 8:38 GMT+08:00 Kevin L. Mitchell <span dir="ltr"><<a href="mailto:kevin.mitchell@rackspace.com" target="_blank">kevin.mitchell@rackspace.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Mon, 2015-12-07 at 18:21 -0600, Chris Friesen wrote:<br>
> Can someone explain why nova doesn't seem to be doing any validation in the<br>
> "nova quota-show" command?  (At least in kilo/stable.)<br>
><br>
> If I run:<br>
> nova --debug quota-show  --tenant aprojectdoesnotexist --user nosuchuser<br>
><br>
> the debug info shows:<br>
><br>
> DEBUG (connectionpool:383) "GET<br>
> /v2/ceddf233621f4772a8b4f17de3d45e31/os-quota-sets/aprojectdoesnotexist?user_id=nosuchuser<br>
> HTTP/1.1" 200 359<br>
><br>
> and it returns a reasonable-looking set of quota information.<br>
><br>
><br>
><br>
> Shouldn't nova be complaining that the specified tenant/user don't actually exist?<br>
<br>
</span>1. Nova doesn't know what tenants and users exist; that's something only<br>
Keystone knows.<br>
<br>
2. There are defaults for quotas, which is how nova determines what<br>
quotas to apply to a tenant when there's no specific quota for that<br>
tenant in its database.  That's why you're getting a reasonable-looking<br>
set of quota information.<br></blockquote><div><br></div><div><br></div><div>yes, but I found one spec we approved before <a href="https://specs.openstack.org/openstack/nova-specs/specs/kilo/approved/validate-tenant-user-with-keystone.html">https://specs.openstack.org/openstack/nova-specs/specs/kilo/approved/validate-tenant-user-with-keystone.html</a></div><div><br></div><div>But it doesn't finish.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888">--<br>
Kevin L. Mitchell <<a href="mailto:kevin.mitchell@rackspace.com">kevin.mitchell@rackspace.com</a>><br>
Rackspace<br>
</font></span><div class=""><div class="h5"><br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>