<font size=2 face="sans-serif">Another approach that I would recommend
is to use the "--availability-zone azname:hostname" flag.</font>
<br>
<br><a href="https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1061665"><font size=3 color=blue><u>https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1061665</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Alex</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Li Ma <skywalker.nick@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Mike Wilson <geekinutah@gmail.com>,
David Wittman <dwittman@gmail.com>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">OpenStack General Mailing
List <openstack@lists.openstack.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">17/10/2013 05:46 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [Openstack]
a problem with nova scheduler</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Thanks for the hint. I'll try it later.</font>
<br><font size=3><br>
</font>
<br><font size=3>On Thu, Oct 17, 2013 at 9:29 AM, Mike Wilson <</font><a href=mailto:geekinutah@gmail.com target=_blank><font size=3 color=blue><u>geekinutah@gmail.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=3>There is a scheduler hint called 'force_hosts' for this
sort of thing. I believe the command line looks like this:</font>
<br>
<br><font size=3>Nova boot <server_name> --hints force_hosts=host1
<everything else></font>
<br>
<br><font size=3>Does that work for you?</font>
<br>
<br><font size=3>This does not bypass the scheduler, but it is built into
the scheduler to allow you to explicitly place new instances on a subset
of hardware.</font>
<br>
<br><font size=3>-Mike Wilson</font>
<br>
<br><font size=3>Sent from my iPhone</font>
<br><font size=3><br>
On Oct 16, 2013, at 6:35 PM, Li Ma <</font><a href=mailto:skywalker.nick@gmail.com target=_blank><font size=3 color=blue><u>skywalker.nick@gmail.com</u></font></a><font size=3>>
wrote:<br>
</font>
<br><font size=3>Hi all,</font>
<br>
<br><font size=3>I encountered a problem with nova-scheduler. Given that
I have 20 different compute nodes, I need to run several instances on a
certain compute node for testing or verification. I go through all the
scheduling algorithms and find out I can achieve this by availability zone.</font>
<br>
<br><font size=3>But this is a little bit weird to create more than 20
availability zone with only one compute node temporarily. Is there any
other solutions for this?</font>
<br>
<br><font size=3>In my opinion, there should be a certain parameter with
nova CLI to specify which compute node this instance should be placed directly
without any scheduling. Using this method, I can bypass the scheduling
options defined in the nova.conf and do what we want to meet the specific
requirements. </font>
<br>
<br><font size=3>Thanks,</font>
<br><font size=3>-- </font>
<p><font size=2>Li Ma (Nick)</font>
<p><font size=2>Email: </font><a href=mailto:skywalker.nick@gmail.com target=_blank><font size=2 color=blue><u>skywalker.nick@gmail.com</u></font></a>
<p><font size=3>_______________________________________________<br>
Mailing list: </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target=_blank><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a><font size=3><br>
Post to : </font><a href=mailto:openstack@lists.openstack.org target=_blank><font size=3 color=blue><u>openstack@lists.openstack.org</u></font></a><font size=3><br>
Unsubscribe : </font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target=_blank><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></a>
<br><font size=3><br>
</font>
<br>
<br><font size=3>-- </font>
<p><font size=2>Li Ma (Nick)</font>
<p><font size=2>Architect of Stackinsider</font>
<p><font size=2>Email: </font><a href=mailto:skywalker.nick@gmail.com target=_blank><font size=2 color=blue><u>skywalker.nick@gmail.com</u></font></a><tt><font size=2>_______________________________________________<br>
Mailing list: </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font size=2><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font size=2><br>
</font></tt>
<p>