← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1351960] [NEW] cloud-init.log inconsistent date format

 

Public bug reported:

The first field of the /var/log/cloud-init.log file alternates between
ISO and local date formats.  In the attached example, the change happens
at:

	2014-08-03 01:45:53,472 - util.py[DEBUG]: Read 12 bytes from /proc/uptime
	2014-08-03 01:45:53,472 - util.py[DEBUG]: cloud-init mode 'init' took 12.704 seconds (12.71)
	Aug  3 01:45:56 test209 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.5 running 'modules:config' at Sun, 03 Aug 2014 01:45:56 +0000. Up 94.33 seconds.
	Aug  3 01:45:56 test209 [CLOUDINIT] importer.py[DEBUG]: Looking for modules ['cc_emit_upstart', 'cloudinit.config.cc_emit_upstart'] that have attributes ['handle']

Expected behavior is consistency in the date format.

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.log"
   https://bugs.launchpad.net/bugs/1351960/+attachment/4168766/+files/cloud-init.log

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

Title:
  cloud-init.log inconsistent date format

Status in Init scripts for use on cloud images:
  New

Bug description:
  The first field of the /var/log/cloud-init.log file alternates between
  ISO and local date formats.  In the attached example, the change
  happens at:

  	2014-08-03 01:45:53,472 - util.py[DEBUG]: Read 12 bytes from /proc/uptime
  	2014-08-03 01:45:53,472 - util.py[DEBUG]: cloud-init mode 'init' took 12.704 seconds (12.71)
  	Aug  3 01:45:56 test209 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.5 running 'modules:config' at Sun, 03 Aug 2014 01:45:56 +0000. Up 94.33 seconds.
  	Aug  3 01:45:56 test209 [CLOUDINIT] importer.py[DEBUG]: Looking for modules ['cc_emit_upstart', 'cloudinit.config.cc_emit_upstart'] that have attributes ['handle']

  Expected behavior is consistency in the date format.

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


Follow ups

References