juju status triggers some uninteresting DEBUG level messages

Bug #1732163 reported by John A Meinel on 2017-11-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Low
Anastasia
2.3
Low
Anastasia

Bug Description

This seems to be the full context for 1 "juju status" in debug-log for a controller:
machine-0: 15:35:18 DEBUG juju.apiserver [251] API connection from 10.67.99.1:42938
machine-0: 15:35:18 DEBUG juju.apiserver <- [251] {"request-id":1,"type":"Admin","version":3,"request":"Login","params":"'params redacted'"}
machine-0: 15:35:18 DEBUG juju.apiserver model login: user admin has "superuser" for controller; "admin" for model 9b89c6e0-a321-43c2-894f-7c8eb87a92b1
machine-0: 15:35:18 DEBUG juju.apiserver model login: user-admin for 9b89c6e0-a321-43c2-894f-7c8eb87a92b1
machine-0: 15:35:18 DEBUG juju.apiserver -> [251] 25.793971ms {"request-id":1,"response":"'body redacted'"} Admin[""].Login
machine-0: 15:35:18 DEBUG juju.apiserver <- [251] user-admin {"request-id":2,"type":"Client","version":1,"request":"FullStatus","params":"'params redacted'"}
machine-0: 15:35:18 DEBUG juju.wrench couldn't read wrench directory: stat /var/lib/juju/wrench: no such file or directory
machine-0: 15:35:18 DEBUG juju.apiserver.client Applications: map[ubuntu-lite:ubuntu-lite]
machine-0: 15:35:18 DEBUG juju.apiserver.client Remote applications: map[]
machine-0: 15:35:18 DEBUG juju.apiserver.client Offers: map[]
machine-0: 15:35:18 DEBUG juju.apiserver.client NetworkInterfaces: map[eth0:{IPAddresses:[10.67.99.85] MACAddress:00:16:3e:5f:08:2e Gateway: DNSNameservers:[] Space: IsUp:true}]
machine-0: 15:35:18 DEBUG juju.apiserver.client NetworkInterfaces: map[eth0:{IPAddresses:[10.67.99.59] MACAddress:00:16:3e:12:5f:31 Gateway: DNSNameservers:[] Space: IsUp:true}]
machine-0: 15:35:18 DEBUG juju.apiserver.client NetworkInterfaces: map[eth0:{IPAddresses:[10.67.99.129] MACAddress:00:16:3e:31:6a:42 Gateway: DNSNameservers:[] Space: IsUp:true}]
machine-0: 15:35:18 DEBUG juju.apiserver -> [251] user-admin 12.610299ms {"request-id":2,"response":"'body redacted'"} Client[""].FullStatus
machine-0: 15:35:18 DEBUG juju.rpc error closing codec: write tcp 10.67.99.129:17070->10.67.99.1:42938: write: broken pipe
machine-0: 15:35:18 DEBUG juju.apiserver [251] user-admin API connection terminated after 71.396946ms

The lines around Remote applications: map[], Offers: map[] and multiple NetworkInterfaces: map[... are probably not interesting to include normally.

John A Meinel (jameinel) on 2017-11-14
summary: - juju status triggers some uninteresting DEBUG level mesasges
+ juju status triggers some uninteresting DEBUG level messages
Anastasia (anastasia-macmood) wrote :

From the time when this bug was filed, to mentioning of the "controller" which is a Juju 2 terminology, I am guessing that this is not a Juju 1.25.x bug.

I am re-targeting this to "juju" project that tracks Juju 2 bugs.

Changed in juju:
status: New → Triaged
importance: Undecided → Low
no longer affects: juju-core
tags: added: usability
Anastasia (anastasia-macmood) wrote :

This PR reduces level for these lines to Trace: https://github.com/juju/juju/pull/8710

Changed in juju:
assignee: nobody → Anastasia (anastasia-macmood)
Anastasia (anastasia-macmood) wrote :

PR against develop (2.4+): https://github.com/juju/juju/pull/8712

Changed in juju:
status: Triaged → Fix Committed
John A Meinel (jameinel) on 2018-05-16
Changed in juju:
milestone: none → 2.4-rc1
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers