there is no show-action command to learn how to use an action from the cli

Bug #1596906 reported by Richard Harding on 2016-06-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Medium
Unassigned

Bug Description

When looking at actions I can see the list with

  juju actions percona-cluster
  backup Full database backup
  pause Pause the MySQL service.
  resume Resume the MySQL service.

However, I can't figure out how to use an action just as backup in this case.

I'd like to have an option to show an action to get details about it.

  juju show-action percona-cluster backup
  description: Full database backup
  params:
    basedir:
      type: string
      default: "/opt/backups/mysql"
      description: The base directory for backups
    compress:
      type: boolean
      default: false
      description: Whether or not to compress the backup
    incremental:
      type: boolean
      default: false
      description: Make an incremental database backup

Changed in juju-core:
milestone: none → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Curtis Hovey (sinzui) on 2016-10-06
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui) on 2016-10-28
Changed in juju:
milestone: 2.0.1 → none
Joseph Borg (joeborg) wrote :

+1 on this, it's currently not easy to show users the defaults from `actions.yaml` without dumping the whole file with `--schema --format json` and gripping with `jq`.

Tim Penhey (thumper) on 2019-01-06
Changed in juju:
milestone: none → 2.6-beta1
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Changed in juju:
milestone: 2.6-beta2 → 2.6-rc1
Changed in juju:
milestone: 2.6-rc1 → 2.6-rc2
Changed in juju:
milestone: 2.6-rc2 → 2.6.1
Changed in juju:
milestone: 2.6.1 → 2.6.2
Changed in juju:
milestone: 2.6.2 → 2.6.3
Changed in juju:
milestone: 2.6.3 → 2.6.4
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers