Ports created without binding to a host cannot be attached to a VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-arista |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If a port is created using "port-create" without specifying host binding, that port cannot be used to boot a VM using "nova boot --nic port-id=<port>".
When a port is created, it may not have a device id or host as the port is not connected to any resource. Since it is not present on any host, the hostbinding is also empty. So when "neutron port-create" results in create_port_*() calls, the Arista ML2 driver does not store the port in the DB and does not send it to EOS.
When the port is used to boot a VM, it results in update_port_*() calls where the device id and the host binding are set. In the update_
Changed in networking-arista: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Fix proposed to branch: stable/liberty /review. openstack. org/281575
Review: https:/