juju should log at environment URL

Bug #1326799 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Tim Penhey

Bug Description

I'm adding support for the API server to expose environment-specific URLs for things like '/logs' and '/charms'. For compatibility with old servers we still directly log to '/log', though. When we find a good way to determine the API server supports the new URLs, we should use them.

I believe William's request was that we do a regular API call which returns the URL that we should connect to to get logs/upload charms/etc. It adds a round trip, but the round trip overhead vs the time spent to actually upload the data should be lost in the noise and makes us more resilient if we want to change things in the future.

Tags: api tech-debt
Tim Penhey (thumper)
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
milestone: none → 1.24-alpha1
Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.