Binding is not failing when ODL L2 is down

Bug #1712334 reported by Itzik Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Fix Released
High
Manjeet Singh Bhatia

Bug Description

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
========
python-networking-odl-11.0.0-0.20170804111351.a27bd55.el7ost.noarch
opendaylight-6.1.0-2.el7ost.noarch

How 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

Revision history for this message
Itzik Brown (itzikb1) wrote :
Revision history for this message
Isaku Yamahata (yamahata) wrote :
Changed in networking-odl:
importance: Undecided → High
status: New → Confirmed
Changed in networking-odl:
assignee: nobody → Manjeet Singh Bhatia (manjeet-s-bhatia)
Changed in networking-odl:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-odl (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/499200

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/496353
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=fff0a81acb664f1cafc054404f962ec8723232b0
Submitter: Jenkins
Branch: master

commit fff0a81acb664f1cafc054404f962ec8723232b0
Author: Isaku Yamahata <email address hidden>
Date: Tue Aug 22 11:29:00 2017 -0700

    pseudo port binding: teach agent aliveness

    Teach agent aliveness to pseudo agent port binding.
    When the agent is dead, don't allow port-binding.
    Future TODO: smart hostconfig update based on notification.

    Co-Authored-By: Manjeet Singh Bhatia <email address hidden>
    Change-Id: I46bbf37294a10ded69b9430394481f05f14f9812
    Closes-bug: #1712334

Changed in networking-odl:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (stable/pike)

Reviewed: https://review.openstack.org/499200
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=d0b0f5d729d7f8100f066a7efaa27c251c447a78
Submitter: Jenkins
Branch: stable/pike

commit d0b0f5d729d7f8100f066a7efaa27c251c447a78
Author: Isaku Yamahata <email address hidden>
Date: Tue Aug 22 11:29:00 2017 -0700

    pseudo port binding: teach agent aliveness

    Teach agent aliveness to pseudo agent port binding.
    When the agent is dead, don't allow port-binding.
    Future TODO: smart hostconfig update based on notification.

    Co-Authored-By: Manjeet Singh Bhatia <email address hidden>
    Change-Id: I46bbf37294a10ded69b9430394481f05f14f9812
    Closes-bug: #1712334

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 12.0.0.0b1

This issue was fixed in the openstack/networking-odl 12.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 11.0.1

This issue was fixed in the openstack/networking-odl 11.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.