[openstack-dev] 回复: [neutron][binding:host_id] Binding:host_idchanges when creating vm.

于洁 16189455 at qq.com
Tue Jul 28 02:15:14 UTC 2015


Thanks Li Ma.
Then will the value of binding:host_id have no effect? Do you know the function will realize in the future?
Thank you.




------------------ 原始邮件 ------------------
发件人: "Li Ma";<skywalker.nick at gmail.com>;
发送时间: 2015年7月28日(星期二) 上午9:32
收件人: "OpenStack Development Mailing List (not for usage questions)"<openstack-dev at lists.openstack.org>; 

主题: Re: [openstack-dev] [neutron][binding:host_id] Binding:host_idchanges when creating vm.



Nova will modify it when scheduling. You should let nova schedule the
vm to the given host: dvr-compute1.novalocal.

On Mon, Jul 27, 2015 at 3:14 PM, Kevin Benton <blak111 at gmail.com> wrote:
> If it's a VM, Nova sets the binding host id. That field is set by the system
> using the port. It's not a way to move ports around.
>
> On Jul 26, 2015 20:33, "于洁" <16189455 at qq.com> wrote:
>>
>> Hi all,
>>
>> Recently I used the parameter binding:host_id to create port,  trying to
>> allocate the port to a specified host. For example:
>>                       neutron port-create
>> e77c556b-7ec8-415a-8b92-98f2f4f3784f
>> --binding:host_id=dvr-compute1.novalocal
>> But when creating a vm assigning to the port created above, the
>> binding:host_id changed. Is this normal? Or the parameter binding:host_id
>> does not work well?
>> Any suggestion is grateful. Thank you.
>>
>> Yu
>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 

Li Ma (Nick)
Email: skywalker.nick at gmail.com

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150728/879cfed4/attachment.html>


More information about the OpenStack-dev mailing list