← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496873] [NEW] nova-compute leaves an open file descriptor after failed check for direct IO support

 

Public bug reported:

On my Kilo environment I noticed that nova-compute has an open file
descriptor of a deleted file:

nova-compute 14204 nova   21w   REG              252,0        0
117440706 /var/lib/nova/instances/.directio.test (deleted)

According to logs the check if FS supports direct IO failed:

2015-09-15 22:11:33.171 14204 DEBUG nova.virt.libvirt.driver [req-
f11861ed-bcd8-46cb-8d0b-b7736cce7f80 59d099e0cc1c44e991a02a68dbbb1815
5e6f6da2b2d74a108ccdead3b30f0bcf - - -] Path '/var/lib/nova/instances'
does not support direct I/O: '[Errno 22] Invalid argument'
_supports_direct_io /usr/lib/python2.7/dist-
packages/nova/virt/libvirt/driver.py:2588

Looks like nova-compute doesn't clean up the file descriptors properly,
which means the file will persist, until nova-compute is stopped.

** Affects: nova
     Importance: Undecided
     Assignee: Roman Podoliaka (rpodolyaka)
         Status: In Progress


** Tags: libvirt

** Changed in: nova
     Assignee: (unassigned) => Roman Podoliaka (rpodolyaka)

** Tags added: libvirt

** Changed in: nova
       Status: New => In Progress

-- 
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/1496873

Title:
  nova-compute leaves an open file descriptor after failed check for
  direct IO support

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  On my Kilo environment I noticed that nova-compute has an open file
  descriptor of a deleted file:

  nova-compute 14204 nova   21w   REG              252,0        0
  117440706 /var/lib/nova/instances/.directio.test (deleted)

  According to logs the check if FS supports direct IO failed:

  2015-09-15 22:11:33.171 14204 DEBUG nova.virt.libvirt.driver [req-
  f11861ed-bcd8-46cb-8d0b-b7736cce7f80 59d099e0cc1c44e991a02a68dbbb1815
  5e6f6da2b2d74a108ccdead3b30f0bcf - - -] Path '/var/lib/nova/instances'
  does not support direct I/O: '[Errno 22] Invalid argument'
  _supports_direct_io /usr/lib/python2.7/dist-
  packages/nova/virt/libvirt/driver.py:2588

  Looks like nova-compute doesn't clean up the file descriptors
  properly, which means the file will persist, until nova-compute is
  stopped.

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


Follow ups