add option to export-bundle that shows all config options

Bug #1903607 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Ian Booth

Bug Description

Please add an option to the export-bundle command which documents all config values, i.e. including defaults. This would be very useful for sanity checking tools (such as juju-lint).

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.9.1
status: New → Triaged
importance: Undecided → Medium
tags: added: bitesize bundles usability
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.1 → 2.9.2
Revision history for this message
Ian Booth (wallyworld) wrote :

There's now a --include-charm-defaults option to juju export-bundle

https://github.com/juju/juju/pull/12985

So for a mariadb deploy with query-cache-size set to 10000 and dataset-size = 50%

$ juju export-bundle
applications:
  mariadb:
    charm: cs:trusty/mariadb-7
    channel: stable
    series: trusty
    num_units: 1
    to:
    - "0"
    options:
      dataset-size: 50%
      query-cache-size: 10000
    constraints: arch=amd64

$ juju export-bundle --include-charm-defaults
applications:
  mariadb:
    charm: cs:trusty/mariadb-7
    channel: stable
    series: trusty
    num_units: 1
    to:
    - "0"
    options:
      base-url: https://downloads.mariadb.com/enterprise
      base-url-org: http://ftp.osuosl.org/pub/mariadb/repo
      binlog-format: MIXED
      block-size: 5
      ceph-osd-replication-count: 2
      dataset-size: 50%
      enterprise-eula: false
      ha-bindiface: eth0
      ha-mcastport: 5411
      key: "0xce1a3dd5e3c94f49"
      key-org: 0xcbcb082a1bb943db 0xF1656F24C74CD1D8
      max-connections: -1
      preferred-storage-engine: InnoDB
      query-cache-size: 10000
      query-cache-type: "OFF"
      rbd-name: mysql1
      repo-pkg: mariadb-enterprise-repository.deb
      series: "10.1"
      token: ""
      tuning-level: safest
      vip: ""
      vip_cidr: 24
      vip_iface: eth0
    constraints: arch=amd64

Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.