invalid action parameters are silently ignored
Bug #2051187 reported by
Samuel Allan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
Low
|
Unassigned |
Bug Description
When running an action with the juju command line client, invalid/unknown action parameters are silently ignored. An example scenario:
```
# typo: pol-name instead of pool-name
juju run woodpecker/0 fio pol-name=mypool
```
The above will happily run, but against the default pool from config, not mypool from typoed the command line.
Silently ignoring undefined parameters in this way can lead to subtle issues like the above scenario. Juju client should display an error message to the user when undefined parameters are used.
juju version: 3.3.1
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Alastair Flynn (aflynn50) |
Changed in juju: | |
milestone: | none → 3.1.8 |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 3.1.8 → 3.3.2 |
Changed in juju: | |
milestone: | 3.3.2 → 4.0-beta3 |
Changed in juju: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Did the action result or logs indicate anything regarding the errant parameter name?