[openstack-dev] [neutron][binding:host_id] Binding:host_id changes when creating vm.

Li Ma skywalker.nick at gmail.com
Tue Jul 28 01:32:20 UTC 2015


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



More information about the OpenStack-dev mailing list