← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1648840] [NEW] libvirt driver leaves interface residue after failed start

 

Public bug reported:

When the libvirt driver fails to start a VM due to reasons other than
neutron plug timeout, it leaves interfaces on the system from the vif
plugging. If a subsequent delete is performed and completes
successfully, these will be removed. However, in cases where
connectivity is preventing a normal delete, a local delete will be
performed at the api level and the interfaces will remain.

In at least one real world situation I have observed, a script was
creating test instances which were failing and leaving residue. After
the residue interface count reached about 6,000 on the system, VM
creates started failing with "Argument list too long" as libvirt was
choking on enumerating the interfaces it had left behind.

** Affects: nova
     Importance: Medium
     Assignee: Dan Smith (danms)
         Status: In Progress

** Affects: nova/newton
     Importance: Undecided
         Status: New

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
     Assignee: (unassigned) => Dan Smith (danms)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1648840

Title:
  libvirt driver leaves interface residue after failed start

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) newton series:
  New

Bug description:
  When the libvirt driver fails to start a VM due to reasons other than
  neutron plug timeout, it leaves interfaces on the system from the vif
  plugging. If a subsequent delete is performed and completes
  successfully, these will be removed. However, in cases where
  connectivity is preventing a normal delete, a local delete will be
  performed at the api level and the interfaces will remain.

  In at least one real world situation I have observed, a script was
  creating test instances which were failing and leaving residue. After
  the residue interface count reached about 6,000 on the system, VM
  creates started failing with "Argument list too long" as libvirt was
  choking on enumerating the interfaces it had left behind.

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


Follow ups