<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2019 at 9:26 PM Matt Riedemann <<a href="mailto:mriedemos@gmail.com">mriedemos@gmail.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">Note that the APIs that would change are admin-only by default. So in <br>
this case nova is configured with a service user to check if the <br>
requested project_id exists on behalf of the (admin) user making the <br>
compute API request to add/remove flavor access (or update quota values <br>
for a project). The service user does not have enough permissions in <br>
keystone to check if the project exists. Option 1 is give that service <br>
user more authority. Option 2 is basically re-raise that error to the <br>
compute (admin) user to let them know they basically need to fix their <br>
deployment (option 1 again).<br>
<br><br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">A combo of both solutions where we raise the error to the user and amend our docs to help them fix it seems good to me.</div><br></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>
I don't think a microversion is necessary for this</blockquote><div> </div><div><br></div><div class="gmail_default" style="font-size:small">++</div></div><br clear="all"><div><br></div>--<span class="gmail_default" style="font-size:small">--------</span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><div><span class="gmail_default" style="font-size:small">Cheers,</span></div><div>Surya.</div></div></div></div></div></div>