← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1260440] Re: nova-compute host is added to scheduling pool before Neutron can bind network ports on said host

 

Reviewed:  https://review.openstack.org/61608
Committed: https://git.openstack.org/cgit/openstack/tripleo-incubator/commit/?id=661884b5c7a47d01171c680c83b601d3c9a15d9f
Submitter: Jenkins
Branch:    master

commit 661884b5c7a47d01171c680c83b601d3c9a15d9f
Author: Clint Byrum <clint@xxxxxxxxxx>
Date:   Wed Dec 11 15:33:01 2013 -0800

    Wait for Neutron L2 Agent on Compute Node
    
    The L2 Agent sometimes does not register until later on in the
    deployment for some reason. This is just a work-around until that bug
    can be properly understood.
    
    Change-Id: Idbbc977aa2e13f2026de05ae7e6571bc9dd0a498
    Closes-Bug: #1260440


** Changed in: tripleo
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1260440

Title:
  nova-compute host is added to scheduling pool before Neutron can bind
  network ports on said host

Status in OpenStack Neutron (virtual network service):
  New
Status in OpenStack Compute (Nova):
  Confirmed
Status in tripleo - openstack on openstack:
  Fix Released

Bug description:
  This is a race condition.

  Given a cloud with 0 compute nodes available, on a compute node:
  * Start up neutron-openvswitch-agent
  * Start up nova-compute
  * nova boot an instance

  Scenario 1:
  * neutron-openvswitch-agent registers with Neutron before nova tries to boot instance
  * port is bound to agent
  * instance boots with correct networking

  Scenario 2:
  * nova schedules instance to host before neutron-openvswitch-agent is registered with Neutron
  * nova instance fails with vif_type=binding_failed
  * instance is in ERROR state

  I would expect that Nova would not try to schedule instances on
  compute hosts that are not ready.

  Please also see this mailing list thread for more info:

  http://lists.openstack.org/pipermail/openstack-
  dev/2013-December/022084.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1260440/+subscriptions


References