collect-logs script hard-codes the "controller" model

Bug #1618091 reported by Eric Snow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
Fix Released
Undecided
Eric Snow

Bug Description

See: http://bazaar.launchpad.net/~landscape/landscape-charm/tools/view/head:/collect-logs
  Lines: 273, 317, 439

The current code works fine for Juju 1 environments and for Juju 2 controllers using the "controller" model. However, the script will fail under Juju 2 with other models.

Instead, the script should use the current model by default for the outer model. An option will determine the inner model name (defaulting to "controller").

Tags: juju-2.0-api

Related branches

Changed in landscape-charm:
assignee: nobody → Eric Snow (ericsnowcurrently)
status: New → In Progress
David Britton (dpb)
tags: removed: kanban
Changed in landscape-charm:
status: In Progress → Fix Committed
Simon Poirier (simpoir)
Changed in landscape-charm:
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.