← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1742494] [NEW] network reporters generate WARNING in local stage

 

Public bug reported:

Any of the network based reporters (MAAS) that are configured in system
config (/etc/cloud/cloud.cfg*) will attempt to be used during the local
phase of cloud-init (cloud-init-local.service).

Unsurprisingly, these will fail.

Unfortunately, they log WARNING to the logs like:
2018-01-10 15:41:20,842 - handlers.py[WARNING]: failed posting event: start: init-local/check-cache: attempting to read from cache [check]


This is clearly not a WARNING that should be paid attention to.

It'd be good to only log debug or in some other way handle this better.

The end result is just false positives for WARNING in /var/log/cloud-
init.log on nodes deployed by maas.

** Affects: cloud-init
     Importance: Medium
         Status: Confirmed

** Changed in: cloud-init
       Status: New => Confirmed

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

Title:
  network reporters generate WARNING in local stage

Status in cloud-init:
  Confirmed

Bug description:
  Any of the network based reporters (MAAS) that are configured in
  system config (/etc/cloud/cloud.cfg*) will attempt to be used during
  the local phase of cloud-init (cloud-init-local.service).

  Unsurprisingly, these will fail.

  Unfortunately, they log WARNING to the logs like:
  2018-01-10 15:41:20,842 - handlers.py[WARNING]: failed posting event: start: init-local/check-cache: attempting to read from cache [check]

  
  This is clearly not a WARNING that should be paid attention to.

  It'd be good to only log debug or in some other way handle this
  better.

  The end result is just false positives for WARNING in /var/log/cloud-
  init.log on nodes deployed by maas.

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


Follow ups