network reporters generate WARNING in local stage

Bug #1742494 reported by Scott Moser on 2018-01-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Medium
Unassigned

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.

Scott Moser (smoser) wrote :
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers