← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1543288] [NEW] osinfo should not emit multiple error messages when module isn't loaded

 

Public bug reported:

Currently osinfo module emits multiple error messages , when libosinfo
module cannot be loaded:

2016-02-08 12:44:15.270 2868 ERROR nova.virt.osinfo [req-cb9744f0-c5af-
4bc7-a164-6e0ba06c021d tempest-VolumesV1SnapshotTestJSON-1106516754
tempest-VolumesV1SnapshotTestJSON-1593599156] Cannot find OS information
- Reason: (Cannot load Libosinfo: (No module named
gi.repository.Libosinfo))

Since loading the libosinfo module is optional, It should only report
this info once and not as an error message.

** Affects: nova
     Importance: Undecided
     Assignee: Vladik Romanovsky (vladik-romanovsky)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Vladik Romanovsky (vladik-romanovsky)

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

Title:
  osinfo should not emit multiple error messages when module isn't
  loaded

Status in OpenStack Compute (nova):
  New

Bug description:
  Currently osinfo module emits multiple error messages , when libosinfo
  module cannot be loaded:

  2016-02-08 12:44:15.270 2868 ERROR nova.virt.osinfo [req-cb9744f0
  -c5af-4bc7-a164-6e0ba06c021d tempest-
  VolumesV1SnapshotTestJSON-1106516754 tempest-
  VolumesV1SnapshotTestJSON-1593599156] Cannot find OS information -
  Reason: (Cannot load Libosinfo: (No module named
  gi.repository.Libosinfo))

  Since loading the libosinfo module is optional, It should only report
  this info once and not as an error message.

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


Follow ups