← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1261842] [NEW] Hacking checks should prevent virt drivers accessing each other's code

 

Public bug reported:

There have been 2 bugs where the bare metal driver is accessing libvirt
private code

https://bugs.launchpad.net/nova/+bug/1261826
https://bugs.launchpad.net/nova/+bug/1261827

This kind of mistake could be prevented using a custom pep8 hacking rule
for Nova.

Arguably the same could be said of other files outside the nova/virt
directory - they shouldn't access private virt driver code directly -
only go via the public virt driver API

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Hacking checks should prevent virt drivers accessing each other's code

Status in OpenStack Compute (Nova):
  New

Bug description:
  There have been 2 bugs where the bare metal driver is accessing
  libvirt private code

  https://bugs.launchpad.net/nova/+bug/1261826
  https://bugs.launchpad.net/nova/+bug/1261827

  This kind of mistake could be prevented using a custom pep8 hacking
  rule for Nova.

  Arguably the same could be said of other files outside the nova/virt
  directory - they shouldn't access private virt driver code directly -
  only go via the public virt driver API

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


Follow ups

References