Better name parsing for compute host's host_name and original_resource_id attributes at Gnocchi
Bug #1781137 reported by
Gautam Prasad
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
New
|
Undecided
|
Unassigned |
Bug Description
The resource_id of a host is parsed as resource_id: $.payload.host + "_" + $.payload.nodename. At Gnocchi, we get the following:
"host_name": "compute.
"original_
Since the nodename and host themselves have "_" in their names, its string in itself is less readable and difficult to parse.
host_name uses "." as separator and original_
host_name also uses "compute.<host>". Can this just be name of the host? Since when we query Gnocchi , the "type" already mentions that its nova_compute.
To post a comment you must log in.
why isn't the resource_id just the host_name, since that is the key used to access the resource in the nova API?