← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1221026] Re: conversion type missing in log message

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  conversion type missing in log message

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  target codes:

  
  def _log_progress_if_required(left, last_log_time, virtual_size):
      if timeutils.is_older_than(last_log_time, PROGRESS_INTERVAL_SECONDS):
          last_log_time = timeutils.utcnow()
          complete_pct = float(virtual_size - left) / virtual_size * 100
          LOG.debug(_("Sparse copy in progress, "
                      "%(complete_pct).2f%% complete. "
                      "%(left) bytes left to copy"),                       <====== here miss a conversion type like 's'
              {"complete_pct": complete_pct, "left": left})
      return last_log_time

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