← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1729294] Re: debug message not correct in inject_data

 

Reviewed:  https://review.openstack.org/517227
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=76a4e42e8bb98c8d5f30d8fef7b0fafd3976b626
Submitter: Zuul
Branch:    master

commit 76a4e42e8bb98c8d5f30d8fef7b0fafd3976b626
Author: guanzuoyu <guanzuoyu@xxxxxxxxxxxxxxxxx>
Date:   Thu Nov 2 16:49:22 2017 +0800

    Modify incorrect debug meaasge in _inject_data
    
    It attempts to show inject_info but can not format by %(info)
    correctly,so we can use string directly.
    
    Change-Id: Ib9c67757e0b1d833cf722eb8dfcc47a4414b6fb6
    Closes-Bug: #1729294


** Changed in: nova
       Status: In Progress => 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/1729294

Title:
  debug message not correct in inject_data

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When creating instance with files to inject,it would use _inject_data
  method in nova, then one incorrect debug message in nova-compute.log:

  2017-11-01 17:38:15.083 26293 DEBUG nova.virt.libvirt.driver [req-
  278573ea-702c-4c4a-8b9d-ff25dd2af764 admin admin] [instance:
  20e9bd26-028e-4051-bd99-ef30cb39228d] Checking root disk injection
  %(info)s _inject_data /opt/stack/nova/nova/virt/libvirt/driver.py:3160

  I guess that attemps to show all inject_info such as
  network_info,admin_pass,files.So it should be modified in
  _inject_data.

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