-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
As the title says, there is inconsistent behaviour when using a show command against a compute server. When using the id the fault field is shown, when using the name that field is not show. Two example commands:
% osc --os-project-name example-proj --os-cloud example-1 compute server show example-cluster-1-services-f-exaz-c-od-nmrnm-wmqh8
┌──────────────────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Attribute ┆ Value │
╞══════════════════════════════════════╪═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
│ accessIPv4 ┆ │
│ accessIPv6 ┆ │
│ addresses ┆ {} │
│ config_drive ┆ │
│ created ┆ 2026-03-03T11:38:09Z │
│ flavor ┆ {"disk":0,"ephemeral":0,"extra_specs":{"aggregate_instance_extra_specs:7a":"true","hw:cpu_policy":"dedicated","hw:vif_multiqueue_enabled":"true"},"id":null,"links":null,"original_name":"m7a.4xl │
│ ┆ arge","ram":65536,"swap":0,"vcpus":16} │
│ hostId ┆ │
│ id ┆ 1a7446fa-a2fd-4b68-94c5-beda056f53ae │
│ image ┆ │
│ key_name ┆ example-cluster-1-v1_31 │
│ links ┆ [{"href":"https://nova.example-1.apc.example-org-np.net:8774/v2.1/servers/1a7446fa-a2fd-4b68-94c5-beda056f53ae","rel":"self"},{"href":"https://nova.example-az-1.apc.example-org-np.net:8774/s │
│ ┆ 446fa-a2fd-4b68-94c5-beda056f53ae","rel":"bookmark"}] │
│ locked ┆ false │
│ metadata ┆ {} │
│ name ┆ example-cluster-1-services-f-exaz-c-od-nmrnm-wmqh8 │
│ OS-DCF:diskConfig ┆ MANUAL │
│ OS-EXT-AZ:availability_zone ┆ exaz-c │
│ OS-EXT-SRV-ATTR:hostname ┆ example-cluster-1-services-f-exaz-c-od-nmrnm-wmqh8 │
│ OS-EXT-STS:power_state ┆ 0 │
│ OS-EXT-STS:vm_state ┆ error │
│ os-extended-volumes:volumes_attached ┆ [{"delete_on_termination":true,"id":"831a37b5-ce8f-489e-b91a-4f5c2ee8e6f5"}] │
│ status ┆ ERROR │
│ tags ┆ [] │
│ tenant_id ┆ 3355290cdc954eb2a263d0b9ef3fd452 │
│ updated ┆ 2026-03-03T11:38:10Z │
│ user_id ┆ 074c4f48420c4e358ccce06c38b4e8d5 │
└──────────────────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
% osc --os-project-name example-proj --os-cloud example-1 compute server show 1a7446fa-a2fd-4b68-94c5-beda056f53ae
┌──────────────────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Attribute ┆ Value │
╞══════════════════════════════════════╪═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
│ accessIPv4 ┆ │
│ accessIPv6 ┆ │
│ addresses ┆ {} │
│ config_drive ┆ │
│ created ┆ 2026-03-03T11:38:09Z │
│ fault ┆ {"code":500,"created":"2026-03-03T11:38:10Z","details":null,"message":"No valid host was found. There are not enough hosts available."} │
│ flavor ┆ {"disk":0,"ephemeral":0,"extra_specs":{"aggregate_instance_extra_specs:7a":"true","hw:cpu_policy":"dedicated","hw:vif_multiqueue_enabled":"true"},"id":null,"links":null,"original_name":"m7a.4xl │
│ ┆ arge","ram":65536,"swap":0,"vcpus":16} │
│ hostId ┆ │
│ id ┆ 1a7446fa-a2fd-4b68-94c5-beda056f53ae │
│ image ┆ │
│ key_name ┆ example-cluster-1-v1_31 │
│ links ┆ [{"href":"https://nova.example-1.apc.example-org-np.net:8774/v2.1/servers/1a7446fa-a2fd-4b68-94c5-beda056f53ae","rel":"self"},{"href":"https://nova.example-az-1.apc.example-org-np.net:8774/s │
│ ┆ 446fa-a2fd-4b68-94c5-beda056f53ae","rel":"bookmark"}] │
│ locked ┆ false │
│ metadata ┆ {} │
│ name ┆ example-cluster-1-services-f-exaz-c-od-nmrnm-wmqh8 │
│ OS-DCF:diskConfig ┆ MANUAL │
│ OS-EXT-AZ:availability_zone ┆ exaz-c │
│ OS-EXT-SRV-ATTR:hostname ┆ example-cluster-1-services-f-exaz-c-od-nmrnm-wmqh8 │
│ OS-EXT-STS:power_state ┆ 0 │
│ OS-EXT-STS:vm_state ┆ error │
│ os-extended-volumes:volumes_attached ┆ [{"delete_on_termination":true,"id":"831a37b5-ce8f-489e-b91a-4f5c2ee8e6f5"}] │
│ server_groups ┆ [] │
│ status ┆ ERROR │
│ tags ┆ [] │
│ tenant_id ┆ 3355290cdc954eb2a263d0b9ef3fd452 │
│ updated ┆ 2026-03-03T11:38:10Z │
│ user_id ┆ 074c4f48420c4e358ccce06c38b4e8d5 │
└──────────────────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
I suspect this is also why I don't see the fault field in ostui, which would be very useful for troubleshooting issues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels