← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2116936] [NEW] the libvirt driver has poor logging of the migration xml transfromations

 

Public bug reported:

live migration is a complex process and the way the live migration xml is generated
is currently very hard to debug.

at present most _update_*_xml methods either do not log or log in an inconsistent way.
some log before and after some only log after and other do not log at all.

This makes understanding what xml was actually provided very hard as the initial starting point
and final result are not logged today.

we shoudl improve this to provide better log based debugablity

ideally we would normalize the output, start with the original xml, print
xml diff if and only iff the file is changed and then finally print the end result

This logging should only be done at debug level to not significantly increase the verbosity although
the final xml perhaps should be at info level.

** Affects: nova
     Importance: Medium
     Assignee: sean mooney (sean-k-mooney)
         Status: Triaged


** Tags: libvirt live-migration

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

Title:
  the libvirt driver has poor logging of the migration xml
  transfromations

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  live migration is a complex process and the way the live migration xml is generated
  is currently very hard to debug.

  at present most _update_*_xml methods either do not log or log in an inconsistent way.
  some log before and after some only log after and other do not log at all.

  This makes understanding what xml was actually provided very hard as the initial starting point
  and final result are not logged today.

  we shoudl improve this to provide better log based debugablity

  ideally we would normalize the output, start with the original xml, print
  xml diff if and only iff the file is changed and then finally print the end result

  This logging should only be done at debug level to not significantly increase the verbosity although
  the final xml perhaps should be at info level.

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