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

2015-07-27 Thread Li Ma
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 blak...@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, 于洁 16189...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 

Li Ma (Nick)
Email: skywalker.n...@gmail.com

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-07-27 Thread Kevin Benton
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, 于洁 16189...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-07-26 Thread ????
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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev