juju deploy --storage does not accept syntax accepted by juju add-storage
Bug #1884013 reported by
Tim McNamara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
The 'juju deploy --storage=
On an AWS-hosted model..
$ juju deploy pg1 --storage pgdata
ERROR invalid value "pgdata" for option --storage: expected [<application>
$ juju deploy pg1 --storage pgdata=ebs
Located charm "cs:postgresql-
Deploying charm "cs:postgresql-
$ juju deploy postgresql pg2
Located charm "cs:postgresql-
Deploying charm "cs:postgresql-
$ juju add-storage pg2/0 pgdata
added storage pgdata/1 to pg2/0
To post a comment you must log in.
At deploy time, you must provide enough info to allow juju to set up storage.
Once juju is deployed, adding storage will just use the same parameters as at deploy (unless otherwise specified) so that's why there's less parameters.