juju help add machine docs error

Bug #1929250 reported by Brent Barr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Joseph Phillips

Bug Description

juju help add-machine displays this help:

# Start a new machine within the "us-east-1a" availability zone.
juju add-machine --constraints zone=us-east-1a

Yet that command generates an error:

# juju add-machine --constraints zone=us-east-1a
ERROR unknown constraint "zone"

The correct command is:

# juju add-machine --constraints zones=us-east-1a
created machine 9

# juju version
2.9.0-ubuntu-amd64

Brent Barr (brentbarr)
no longer affects: fuel-plugin-contrail
Revision history for this message
Brent Barr (brentbarr) wrote :

This command works (zone instead of zones), which is inconsistent:

juju bootstrap --constraints tags=juju spk-juju-testcloud1 spk-juju-test1 --to zone=spk-testaz-lab

Using zones here fails:
ERROR failed to bootstrap model: cannot start bootstrap instance: unknown placement directive: zones=spk-testaz-lab

Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Joseph Phillips (manadart)
milestone: none → 2.9.17
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.