aws region is not changed by the set-default-region command

Bug #1855716 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Anastasia

Bug Description

juju set-default-region aws us-west-2 does not actually update the default as shown below:

jog@aws:~/project$ juju --version
2.7.0-bionic-amd64
jog@aws:~/project$ juju clouds --all
You can bootstrap a new controller using one of these clouds...

Clouds available on the client:
Cloud Regions Default Type Credentials Source Description
aws 19 us-east-1 ec2 0 public Amazon Web Services
aws-china 2 cn-north-1 ec2 0 public Amazon China
aws-gov 2 us-gov-west-1 ec2 0 public Amazon (USA Government)
azure 30 centralus azure 0 public Microsoft Azure
azure-china 2 chinaeast azure 0 public Microsoft Azure China
cloudsigma 12 dub cloudsigma 0 public CloudSigma Cloud
google 20 us-east1 gce 0 public Google Cloud Platform
joyent 6 us-east-1 joyent 0 public Joyent Cloud
localhost 1 localhost lxd 0 built-in LXD Container Hypervisor
oracle 4 us-phoenix-1 oci 0 public Oracle Cloud Infrastructure
oracle-classic 5 uscom-central-1 oracle 0 public Oracle Cloud Infrastructure Classic
rackspace 6 dfw rackspace 0 public Rackspace Cloud

jog@aws:~/project$ juju set-default-region aws us-west-2
Default region in aws set to "us-west-2".
jog@aws:~/project$ juju clouds --all
You can bootstrap a new controller using one of these clouds...

Clouds available on the client:
Cloud Regions Default Type Credentials Source Description
aws 19 us-east-1 ec2 0 public Amazon Web Services
aws-china 2 cn-north-1 ec2 0 public Amazon China
aws-gov 2 us-gov-west-1 ec2 0 public Amazon (USA Government)
azure 30 centralus azure 0 public Microsoft Azure
azure-china 2 chinaeast azure 0 public Microsoft Azure China
cloudsigma 12 dub cloudsigma 0 public CloudSigma Cloud
google 20 us-east1 gce 0 public Google Cloud Platform
joyent 6 us-east-1 joyent 0 public Joyent Cloud
localhost 1 localhost lxd 0 built-in LXD Container Hypervisor
oracle 4 us-phoenix-1 oci 0 public Oracle Cloud Infrastructure
oracle-classic 5 uscom-central-1 oracle 0 public Oracle Cloud Infrastructure Classic
rackspace 6 dfw rackspace 0 public Rackspace Cloud

Tags: cdo-qa
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

@John George,

I cannot reproduce this using current tip of 2.7, heading into 2.7.1. Maybe the problem is fixed on the next release lined up?

This is the output I get: https://pastebin.ubuntu.com/p/MDPPJvPTnS/.

Changed in juju:
status: In Progress → Fix Committed
milestone: none → 2.7.1
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.