commit e2d08409f168aadef9223fae5fedfea27d74623d
Author: Claudiu Belu <email address hidden>
Date: Sat Jan 13 17:58:56 2018 -0800
hyper-v: Logs tips on PortBindingFailed
When spawning an Hyper-V instance with NICs having the vif_type "hyperv",
neutron will fail to bind the port to the Hyper-V host if the neutron
server doesn't have the "hyperv" mechanism driver installed and configured,
resulting in a PortBindingFailed exception on the nova-compute side.
When this exception is encountered, the logs will say to check the
neutron-server logs, but the problem and its solution are not obvious
or clear, resulting in plenty of questions / reports, all having the
same solution: is there an L2 agent on the host alive and reporting to
neutron, and if neutron Hyper-V agent is used, make sure to install
networking-hyperv and configure neutron-server to use the "hyperv"
mechanism_driver.
Change-Id: Idceeb08e1452413e3b10ecd0a65f71d4d82866e0
Closes-Bug: #1744032
(cherry picked from commit b80c245ba529ab603910b5c0e2fa466bf0b6a146)
Reviewed: https:/ /review. openstack. org/550529 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e2d08409f16 8aadef9223fae5f edfea27d74623d
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit e2d08409f168aad ef9223fae5fedfe a27d74623d
Author: Claudiu Belu <email address hidden>
Date: Sat Jan 13 17:58:56 2018 -0800
hyper-v: Logs tips on PortBindingFailed
When spawning an Hyper-V instance with NICs having the vif_type "hyperv",
neutron will fail to bind the port to the Hyper-V host if the neutron
server doesn't have the "hyperv" mechanism driver installed and configured,
resulting in a PortBindingFailed exception on the nova-compute side.
When this exception is encountered, the logs will say to check the hyperv and configure neutron-server to use the "hyperv" driver.
neutron-server logs, but the problem and its solution are not obvious
or clear, resulting in plenty of questions / reports, all having the
same solution: is there an L2 agent on the host alive and reporting to
neutron, and if neutron Hyper-V agent is used, make sure to install
networking-
mechanism_
Change-Id: Idceeb08e145241 3e3b10ecd0a65f7 1d4d82866e0 03910b5c0e2fa46 6bf0b6a146)
Closes-Bug: #1744032
(cherry picked from commit b80c245ba529ab6