← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1733580] Re: Duplicated logs with default logging config

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1733580

Title:
  Duplicated logs with default logging config

Status in cloud-init:
  Expired

Bug description:
  There are duplicated logs records in cloud-init logs with default
  logging configuration.

  Default logging configuration is used (via tee)

  output: { all: "| tee -a /var/log/cloudinit/cloudinit.log" }

  In the attached cloudinit.log duplicated logs starts from line 314:

  WARN: no logging configured! (tried 0 configs)
  Setting up basic logging...
  2017-06-19 13:56:05,438 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 20235 bytes
  2017-06-19 13:56:05,438 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 20235 bytes
  2017-06-19 13:56:05,439 - main.py[DEBUG]: used datasource 'DataSourceOpenStack [net,ver=2]' from 'OpenStack' was in di_report's list: ['OpenStack', 'None']
  2017-06-19 13:56:05,439 - main.py[DEBUG]: used datasource 'DataSourceOpenStack [net,ver=2]' from 'OpenStack' was in di_report's list: ['OpenStack', 'None']

  Release:

  #lsb_release -rd
  Description:	Ubuntu 16.04.2 LTS
  Release:	16.04

  Package version:

  #apt-cache policy cloud-init
  cloud-init:
    Installed: 0.7.9-113-g513e99e0-0ubuntu1~16.04.1
    Candidate: 0.7.9-113-g513e99e0-0ubuntu1~16.04.1
    Version table:
   *** 0.7.9-113-g513e99e0-0ubuntu1~16.04.1 500
          500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.7.7~bzr1212-0ubuntu1 500
          500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

  What you expected to happen: No duplicated logs with default logging
  config

  What happened instead: Duplicated log records with default logging

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1733580/+subscriptions


References