Buglet: spurious ERROR in logs on snap refresh
Bug #1882778 reported by
Peter Sabaini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Layer |
New
|
Undecided
|
Unassigned |
Bug Description
Buglet: getting spurious log entries when calling snap.install() either on first install or refreshes:
ERROR could not download resource: HTTP request failed: resource#
The actual install/refresh works fine, afaict the log message is just from probing a non-existent resource. When calling from an action this also seems to be printed to stderr.
It would be good to get rid of that ERROR in the log and on stderr as it's misleading.
To post a comment you must log in.
A few lines more context from the log:
2020-06-09 13:25:51 INFO juju-log Get channel for snap grafana grafana/ grafana not found
2020-06-09 13:25:52 DEBUG do-upgrade ERROR could not download resource: HTTP request failed: resource#
2020-06-09 13:25:52 INFO juju-log Refreshing grafana from store