Skip to content

[Bug]: Default zone is not respected #737

@SN0371

Description

@SN0371

Current Behavior

When listing e.g. block storage resources, this is done for all zones:

exo c bs list

gives correctly a list of all block storage resources throughout all zones.

If I copy one of the IDs of a block storage of the default zone, which is de-fra-1 in my case, i get:

error: "pvc-XYZ" not found in ListBlockStorageVolumesResponse: Not Found

If I add --zone de-fra-1, the volume is shown correctly.

In my exoscale.toml there is a line: defaultZone = 'de-fra-1' The credentials work correctly, so it's the correct file.

Expected Behavior

The details of the volume should be shown, if the volume is located in the default zone configured in my exoscale.toml

Steps To Reproduce

  1. Create a block storage in de-fra-1
  2. Configure the default zone for the CLI to de-fra-1
  3. List all block storages
  4. try to get the details of the one created in the first step without specifying a --zone parameter

CLI Version

exo 1.85.3 3130c6a (egoscale 0.102.3)

Os platform

MacOS

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions