<div dir="ltr"><div>Thanks for your answer.</div>As far as I understand CellsV2 are present in Pike and later. I need to implement such use case in an Ocata Openstack based cloud<br><div><br></div><div>Thanks, Massimo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-06 10:26 GMT+01:00 Flint WALRUS <span dir="ltr"><<a href="mailto:gael.therond@gmail.com" target="_blank">gael.therond@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aren’t CellsV2 more adapted to what you’re trying to do?<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">Le mar. 6 févr. 2018 à 06:45, Massimo Sgaravatto <<a href="mailto:massimo.sgaravatto@gmail.com" target="_blank">massimo.sgaravatto@gmail.com</a>> a écrit :<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi</div><div><br></div><div>I want to partition my OpenStack cloud so that:</div><div><br></div><div>- Project p1, p2, .., pn can use only compute nodes C1, C2, ... Cx</div><div>- Projects pn+1.. pm can use only compute nodes Cx+1 ... Cy</div><div><br></div><div>I read that CERN addressed this use case implementing the ProjectsToAggregateFilter but, as far as I understand, this in-house developments eventually wasn't pushed upstream.</div><div><br></div><div>So I am trying to rely on the  AggregateMultiTenancyIsolation filter to create  2 host aggregates:</div><div><br></div><div>- the first one including C1, C2, ... Cx and with filter_tenant_id=p1, p2, .., pn</div><div>- the second one including <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Cx+1 ... Cy and with filter_tenant_id=pn+1.. pm</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">But if I try to specify the long list of projects, I get:a "Value ... is too long" error message [*].</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>I can see two workarounds for this problem:</div><div><br></div><div>1) Create an host aggregate per project:</div><div><br></div><div>HA1 including CA1, C2, ... Cx and with filter_tenant_id=p1</div><div>HA2 including CA1, C2, ... Cx and with filter_tenant_id=p2</div><div>etc</div><div><br></div><div>2) Use the <wbr>AggregateInstanceExtraSpecsFil<wbr>ter, creating two aggregates and having each flavor visible only by a set of projects, and tagged with a specific string that should match the value specified in the correspondent host aggregate</div><div><br></div><div>Is this correct ? Can you see better options ?</div><div><br></div><div>Thanks, Massimo</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">[*]</span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div># nova aggregate-set-metadata 1 filter_tenant_id=<wbr>ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>1c63ef80901b46bebc9e1e8e10d850<wbr>19,<wbr>a22db12575694c9e9f8650dde73ef5<wbr>65,<wbr>b4a1039f2f7c419596662950d8a1d3<wbr>97,<wbr>d8ce7a449d8e4d68bbf2c40314da35<wbr>7e,<wbr>e81df4c0b493439abb8b85bfd4cbe0<wbr>71,<wbr>ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>29d6233c0b2741e2a30324079f05aa<wbr>9f,<wbr>2b92483138dc4a61b1133c8c177ff2<wbr>98</div><div>ERROR (BadRequest): Invalid input for field/attribute filter_tenant_id. Value: ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>1c63ef80901b46bebc9e1e8e10d850<wbr>19,<wbr>a22db12575694c9e9f8650dde73ef5<wbr>65,<wbr>b4a1039f2f7c419596662950d8a1d3<wbr>97,<wbr>d8ce7a449d8e4d68bbf2c40314da35<wbr>7e,<wbr>e81df4c0b493439abb8b85bfd4cbe0<wbr>71,<wbr>ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>29d6233c0b2741e2a30324079f05aa<wbr>9f,<wbr>2b92483138dc4a61b1133c8c177ff2<wbr>98. u'<wbr>ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>1c63ef80901b46bebc9e1e8e10d850<wbr>19,<wbr>a22db12575694c9e9f8650dde73ef5<wbr>65,<wbr>b4a1039f2f7c419596662950d8a1d3<wbr>97,<wbr>d8ce7a449d8e4d68bbf2c40314da35<wbr>7e,<wbr>e81df4c0b493439abb8b85bfd4cbe0<wbr>71,<wbr>ee1865a76440481cbcff08544c7d58<wbr>0a,<wbr>29d6233c0b2741e2a30324079f05aa<wbr>9f,<wbr>2b92483138dc4a61b1133c8c177ff2<wbr>98' is too long (HTTP 400) (Request-ID: req-b971d686-72e5-4c54-aaa1-<wbr>fef5eb7c7001)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><br></div></span></div><div><br></div></div></div></div>
______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<wbr>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
</blockquote></div>
</blockquote></div><br></div>