
Introduces microversion (MV) 3.63 to add volume type ID in the volume details. This change comes to fix a problem we found in Gnocchi concerning volumes monitored data. When a volume event is created, Cinder uses the volume type as the volume type ID. On the other hand, Ceilometer pollsters are always updating the volume_type value in Gnocchi with the volume type from volume details API (which uses the volume type name value). That situation creates a massive number of resource revisions in Gnocchi. This MV along with the Dynamic pollster system in Ceilometer enables operators to overcome the issue. Closes-Bug: https://bugs.launchpad.net/cinder/+bug/1911660 Change-Id: Icb88faeb00040250a25a5630aeb312a8434ed3c8 Signed-off-by: Rafael Weingärtner <rafael@apache.org>
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"volumes": [
|
|
{
|
|
"attachments": [],
|
|
"availability_zone": "nova",
|
|
"bootable": "false",
|
|
"consistencygroup_id": null,
|
|
"created_at": "2018-11-28T06:25:15.288987",
|
|
"description": null,
|
|
"encrypted": false,
|
|
"id": "cb49b381-9012-40cb-b8ee-80c19a4801b5",
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:43543/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:43543/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {},
|
|
"migration_status": null,
|
|
"multiattach": false,
|
|
"name": null,
|
|
"os-vol-host-attr:host": null,
|
|
"os-vol-mig-status-attr:migstat": null,
|
|
"os-vol-mig-status-attr:name_id": null,
|
|
"os-vol-tenant-attr:tenant_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3",
|
|
"replication_status": null,
|
|
"size": 10,
|
|
"snapshot_id": null,
|
|
"source_volid": null,
|
|
"status": "creating",
|
|
"updated_at": null,
|
|
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e",
|
|
"volume_type": "__DEFAULT__",
|
|
"volume_type_id": "5fed9d7c-401d-46e2-8e80-f30c70cb7e1d",
|
|
"provider_id": null,
|
|
"group_id": null,
|
|
"service_uuid": null,
|
|
"shared_targets": true,
|
|
"cluster_name": null
|
|
}
|
|
]
|
|
} |