<div dir="ltr"><div>Vish:</div><div><br></div>I suspect there's a Grizzly doc bug here.<div><br></div><div>The Folsom docs say <<a href="http://docs.openstack.org/folsom/openstack-compute/admin/content/specify-host-to-boot-instances-on.html">http://docs.openstack.org/folsom/openstack-compute/admin/content/specify-host-to-boot-instances-on.html</a>>: </div>
<div><div>"With the Folsom release it is no longer possible to indicate a specific compute host to use to boot an instance with the --force_hosts parameter. See bug 1061665 for further discussion."<br></div><div>
<br></div><div><br></div><div style>However, the Grizzly docs say <<a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html</a>>:</div>
<div><br></div><div><div>With the Grizzly release, the provider can change the policy to enable users to choose a specific host to launch a VM instance upon using the create:forced_host setting within policy.json on certain roles, such as an admin role.<br>
</div><div><br></div><div>...</div><div><br></div><div><div>You can now select the host on which the instance would be spawned, using the "--hint" flag:</div><div><br></div><div>$ nova boot --image 1 --flavor 2 --key_name test --hint force_hosts=server2 my-first-server</div>
</div><div><br></div><div>---</div><div><br></div><div><br></div><div>Doc patch which introduced this change here: <<a href="https://review.openstack.org/25341">https://review.openstack.org/25341</a>></div><div><br>
</div><div style>My guess is that the doc editor misunderstood the implication of the create:forced_host setting, and that --force_hosts still no longer works. I'm going to zap that and add the original author as reviewer to ensure things are OK.</div>
<div><br></div><div style><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 30, 2013 at 10:56 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I wasn't aware that force_hosts actually works. Someone should probably verify. The availability zone method still works in grizzly.<div>
<br></div><div>Vish</div><div><br><div><div><div class="h5"><div>On Mar 30, 2013, at 6:42 PM, Lorin Hochstein <<a href="mailto:lorin@nimbisservices.com" target="_blank">lorin@nimbisservices.com</a>> wrote:</div><br>
</div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div>I see that in grizzly an admin can use a scheduler hint to force a VM to launch on a particular host, e.g.:</div><div><br></div><div>nova boot --image 1 --flavor 2 --key_name test --hint force_hosts=server2 my-first-server<br>

</div><div>(from: <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html</a>)</div>

<div><br></div><div>In Folsom, an admin could do this with the availability zone flag:</div><div><br></div><div>nova boot --image <uuid> --flavor m1.tiny --key_name test --availability-zone nova:server2<br>
</div><div><br></div><div>(from: <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-zone-to-boot-instances-on.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-zone-to-boot-instances-on.html</a>)</div>

<div><br></div><div>Does the second method work in grizzly as well? If so, should we recommend one approach over the other in the docs? </div><div><br></div><div>Lorin</div><br><div dir="ltr">
</div>
</div></div></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Lorin Hochstein<br><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="http://www.nimbisservices.com" target="_blank">www.nimbisservices.com</a></div>
</div>
</div>