Missing Oracle Cloud regions and list not being updated

Bug #2031468 reported by George Yazbek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

Oracle cloud shows only four regions even after updating list.
Tested on 3.1.5 and 4.0 beta

$ juju update-public-clouds --debug --client

06:27:28 INFO juju.cmd supercommand.go:56 running juju [4.0-beta1 6c7859a3f57b12a63d28880a7975866db43d6e6f gc go1.20.7]
06:27:28 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/24023/bin/juju", "update-public-clouds", "--debug", "--client"}
Fetching latest public cloud list...
06:27:29 INFO cmd updatepublicclouds.go:167 List of public clouds on this client is up to date, see `juju clouds --client`.
06:27:29 INFO cmd supercommand.go:535 command finished

$ juju regions oracle

Client Cloud Regions
us-phoenix-1
us-ashburn-1
eu-frankfurt-1
uk-london-1

Actual region list

$ oci iam region list
{
  "data": [
    {
      "key": "AMS",
      "name": "eu-amsterdam-1"
    },
    {
      "key": "ARN",
      "name": "eu-stockholm-1"
    },
    {
      "key": "AUH",
      "name": "me-abudhabi-1"
    },
    {
      "key": "BOM",
      "name": "ap-mumbai-1"
    },
    {
      "key": "CDG",
      "name": "eu-paris-1"
    },
    {
      "key": "CWL",
      "name": "uk-cardiff-1"
    },
    {
      "key": "DXB",
      "name": "me-dubai-1"
    },
    {
      "key": "FRA",
      "name": "eu-frankfurt-1"
    },
    {
      "key": "GRU",
      "name": "sa-saopaulo-1"
    },
    {
      "key": "HYD",
      "name": "ap-hyderabad-1"
    },
    {
      "key": "IAD",
      "name": "us-ashburn-1"
    },
    {
      "key": "ICN",
      "name": "ap-seoul-1"
    },
    {
      "key": "JED",
      "name": "me-jeddah-1"
    },
    {
      "key": "JNB",
      "name": "af-johannesburg-1"
    },
    {
      "key": "KIX",
      "name": "ap-osaka-1"
    },
    {
      "key": "LHR",
      "name": "uk-london-1"
    },
    {
      "key": "LIN",
      "name": "eu-milan-1"
    },
    {
      "key": "MAD",
      "name": "eu-madrid-1"
    },
    {
      "key": "MEL",
      "name": "ap-melbourne-1"
    },
    {
      "key": "MRS",
      "name": "eu-marseille-1"
    },
    {
      "key": "MTY",
      "name": "mx-monterrey-1"
    },
    {
      "key": "MTZ",
      "name": "il-jerusalem-1"
    },
    {
      "key": "NRT",
      "name": "ap-tokyo-1"
    },
    {
      "key": "ORD",
      "name": "us-chicago-1"
    },
    {
      "key": "PHX",
      "name": "us-phoenix-1"
    },
    {
      "key": "QRO",
      "name": "mx-queretaro-1"
    },
    {
      "key": "SCL",
      "name": "sa-santiago-1"
    },
    {
      "key": "SIN",
      "name": "ap-singapore-1"
    },
    {
      "key": "SJC",
      "name": "us-sanjose-1"
    },
    {
      "key": "SYD",
      "name": "ap-sydney-1"
    },
    {
      "key": "VCP",
      "name": "sa-vinhedo-1"
    },
    {
      "key": "YNY",
      "name": "ap-chuncheon-1"
    },
    {
      "key": "YUL",
      "name": "ca-montreal-1"
    },
    {
      "key": "YYZ",
      "name": "ca-toronto-1"
    },
    {
      "key": "ZRH",
      "name": "eu-zurich-1"
    }
  ]
}

description: updated
Revision history for this message
Ian Booth (wallyworld) wrote :

We need to push an update to the published public clouds metadata for the update-public-clouds command to pull down new info.

tags: added: oracle-provider
Changed in juju:
milestone: none → 3.1.6
status: New → Triaged
importance: Undecided → High
Revision history for this message
Ian Booth (wallyworld) wrote :

In the meantime, you can create a ~/.local/share/juju/clouds.yaml file and add copy the oracle cloud info from the public-clouds.yaml file in the same directory and add the regions manually.

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

Oracle provides their regions via their SDK. We should find a way to do this auto-magically.

Changed in juju:
milestone: 3.1.6 → 3.1.7
Changed in juju:
status: Triaged → Fix Committed
status: Fix Committed → Triaged
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.