host API has inconsistent host name attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Wishlist
|
jichenjc |
Bug Description
When doing a list with the os-host extension the host name attribute is host_name in all other cases the host name attribute is host.
E.g. when doing a list operation a result like this is expected:
{"hosts": [
{"zone": "internal", "host_name": "awesome-node1", "service": "compute"}]}
When doing a describe of the same host:
{"host": [{"resource": {"project": "(total)", "memory_mb": 193278, "host": "awesome-node1", "cpu": 48, "disk_gb": 98}},
This is confusing at best.
It has already caused some problems in the official client library.
https:/
https:/
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
status: | In Progress → Won't Fix |
We can't fix it now for back-compabitility. But we may can doing this when we have micro-version in API