Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1483994 - Binding is not failing when ODL L2 is down
Binding is not failing when ODL L2 is down
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-odl (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
medium Severity medium
: beta
: 12.0 (Pike)
Assigned To: Mike Kolesnik
Itzik Brown
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-22 08:40 EDT by Itzik Brown
Modified: 2018-10-18 03:24 EDT (History)
1 user (show)

See Also:
Fixed In Version: python-networking-odl-11.0.1-0.20170926211325.6ceec59.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
N/A
Last Closed: 2017-12-13 16:53:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1712334 None None None 2017-08-22 08:40 EDT
OpenDaylight gerrit 499200 None None None 2017-10-18 03:16 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Itzik Brown 2017-08-22 08:40:39 EDT
Description of problem:
When the ODL L2 agent is down and an instance is scheduled to run on the node with this agent the instance is in 'spawning' state for a long time until it fails.

The expected behavior is in the case the agent is down that the binding will fail and the instance will be rescheduled to run on a different compute node.

Version-Release number of selected component (if applicable):
python-networking-odl-11.0.0-0.20170804111351.a27bd55.el7ost.noarch
opendaylight-6.1.0-2.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Block the outgoing port 6640 on the Compute node
2. Wait for the agent to be down (openstack network agent list)
3. Launch an instance and verify it's scheduled to be on the above node
4. Verify that the instance is in 'spawning' state and not rescheduled to another node

Actual results:


Expected results:


Additional info:
Comment 2 Itzik Brown 2017-11-05 06:43:31 EST
Checked with python-networking-odl-11.0.1-0.20170926211325.6ceec59.el7ost.noarch.

Blocked outgoing port 6640 on the compute node and waited for the agent status to be down.

Then tried to launch an instance on this node and it failed as expected:
{"message": "Binding failed for port c53a7d09-ef59-4298-8a73-b55f5bfa145d, please check neutron logs for more information.", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 1829, in _do_build_and_run_instance
Comment 5 errata-xmlrpc 2017-12-13 16:53:35 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.