[jaas] add-model doesn't respect region
Bug #1849916 reported by
james beedy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
$ juju add-model bdx-k8s aws/us-west-2 --credential james-pdl
Using credential 'james-pdl' cached in controller
Added 'bdx-k8s' model on aws/us-east-1 with credential 'james-pdl' for user 'jamesbeedy'
I try to add a model in aws/us-west-2, but I get aws/us-east-1.
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
bdx-k8s jaas aws/us-east-1 2.6.8 unsupported 03:52:03Z
Model "jamesbeedy@
description: | updated |
Changed in juju: | |
assignee: | nobody → Anastasia (anastasia-macmood) |
Changed in juju: | |
assignee: | Anastasia (anastasia-macmood) → nobody |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I tried this and it seemed to work using juju 2.7-beta1 client.
$ juju login jaas
$ juju add-model foo aws/us-west-1 --credential wallyworld @external/ wallyworld' to controller
Uploading credential 'aws/wallyworld
Added 'foo' model on aws/us-west-1 with credential 'wallyworld' for user 'wallyworld'
$ juju models
Controller: jaas
Model Cloud/Region Type Status Machines Cores Access Last connection
foo* aws/us-west-1 ec2 available 0 0 admin never connected
$ juju add-model bar aws/us-east-2
Added 'bar' model on aws/us-east-2 with credential 'wallyworld' for user 'wallyworld'
$ juju models
Controller: jaas
Model Cloud/Region Type Status Machines Cores Access Last connection
bar* aws/us-east-2 ec2 available 0 0 admin never connected
foo aws/us-west-1 ec2 available 0 0 admin never connected