Azure / Azure/azure-cli

"az snapshot list" displays different output on 2 servers

Open
#24,680 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

The same command "az snapshot list --output table" displays columns in different order on two servers :

server 1 :
# az snapshot list --output table| head -1
DiskSizeBytes DiskSizeGb DiskState Incremental Location Name NetworkAccessPolicy OsType ProvisioningState PublicNetworkAccess ResourceGroup TimeCreated UniqueId HyperVGeneration SupportsHibernation DataAccessAuthMode

server 2 :

# az snapshot list --output table| head -1
DiskSizeBytes DiskSizeGb DiskState HyperVGeneration Incremental Location Name NetworkAccessPolicy OsType ProvisioningState PublicNetworkAccess ResourceGroup TimeCreated UniqueId DataAccessAuthMode SupportsHibernation

The "hyperVGeneration" is not on the same place on the two outputs.

Both servers are Ubuntu 18.04.

azure cli is the same version on both servers :

server1 :
# az --version
azure-cli 2.42.0

core 2.42.0
telemetry 1.0.8

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Python location '/opt/az/bin/python3'
Extensions directory '/home/dc04.cloud/adm_rmdo/.azure/cliextensions'

Python (Linux) 3.10.8 (main, Oct 28 2022, 04:19:56) [GCC 7.5.0]

server2 :
# az --version
azure-cli 2.42.0

core 2.42.0
telemetry 1.0.8

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Python location '/opt/az/bin/python3'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.10.8 (main, Oct 28 2022, 04:19:56) [GCC 7.5.0]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.