Collector "No * configured" warnings mislead users

Bug #1437952 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-collect-config
Fix Committed
Medium
Steve Baker

Bug Description

Users who are debugging unrelated issues are frequently interpreting the following as an indication that os-collect-config is misconfigured when the warning is actually harmless:

WARNING os_collect_config.heat [-] No auth_url configured.
WARNING os_collect_config.request [-] No metadata_url configured.
WARNING os-collect-config [-] Source [request] Unavailable.
WARNING os_collect_config.local [-] /var/lib/os-collect-config/local-data not found. Skipping
WARNING os_collect_config.local [-] No local metadata found (['/var/lib/os-collect-config/local-data'])

A better experience would be to log as INFO and log something regardless of whether the collector is configured or not.

Changed in os-collect-config:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-collect-config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/183360

Changed in os-collect-config:
assignee: nobody → Steve Baker (steve-stevebaker)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-collect-config (master)

Reviewed: https://review.openstack.org/183360
Committed: https://git.openstack.org/cgit/openstack/os-collect-config/commit/?id=d2c5bd1b0e67aec127b7871a15daf4f4c2ef133b
Submitter: Jenkins
Branch: master

commit d2c5bd1b0e67aec127b7871a15daf4f4c2ef133b
Author: Steve Baker <email address hidden>
Date: Fri May 15 11:54:23 2015 +1200

    Log with info instead of warn when collector not configured

    Users who are debugging unrelated issues are frequently interpreting
    logged warnings as an indication that os-collect-config is misconfigured
    when the warning is actually harmless.

    This change uses info instead of warn for this logging.

    Change-Id: I28e0fb37b603364eea72cdc5299a29259489b820
    Closes-Bug: #1437952

Changed in os-collect-config:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.