Create a plugin for cinder

Registered by yuntongjin

Summary
=======
Cinder volumes and volume types should be indexed.

Motivation
========
Ultimately it would be good to be able to search on a volume and find instances it is attached to, metadata associated with it.

Description
=========

https://wiki.openstack.org/wiki/SystemUsageData#volume.create.start.2F.end:

Can't find evidence of an event for attaching a volume to an instance, possibly because that's not relevant to a metering & billing scenario.

Indexing backups will not be possible at current. The API response doesn't contain a project/tenant id (confirmed with cinder devs) and so there's no way of determining how to apply RBAC. In some cases you could cross-reference the volume but backups can exist after volumes are deleted so this won't always be valid.

Testing
======
Brief instruction for reviewers to exercise the changes, including expected results where non-obvious.

Outside Dependencies
==================
Is this functionality already supported in other services? List the appropriate API calls and if they are extensions or base API functionality.

This should describe any cross project dependencies. This should include:
  * changes to OpenStack services
  * changes to OpenStack services clients (python-*client)
  * changes in external projects
Links to particular patches should be included in the whiteboard area.

Requirements Update Required
========================
python-cinderclient

Blueprint information

Status:
Complete
Approver:
Travis Tripp
Priority:
High
Drafter:
yuntongjin
Direction:
Approved
Assignee:
Duncan Thomas
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-rc1
Started by
Travis Tripp
Completed by
Travis Tripp

Related branches

Sprints

Whiteboard

VOLUME CREATE:

{"event_type": "volume.create.start", "payload": {"status": "creating", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40+00:00", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:40.914220", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1#lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:15:40.201254+00:00", "auth_token": "20ee20348ea24f35a44d3554f0080b31", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-a8a1303d-e717-4f4e-aa58-87fa563840d8", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:15:40.987270", "message_id": "c0666cc7-0d8e-49ea-a153-c15c67115ea3"}}
{"event_type": "volume.create.end", "payload": {"status": "available", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40+00:00", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41.208343+00:00", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1#lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:15:40.201254+00:00", "auth_token": "20ee20348ea24f35a44d3554f0080b31", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-a8a1303d-e717-4f4e-aa58-87fa563840d8", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:15:41.302863", "message_id": "d24205b7-b6cd-486f-b9e7-8c3c150b4d6f"}}

VOLUME ATTACH:

{"event_type": "volume.attach.start", "payload": {"status": "attaching", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:17:20.509140+00:00", "auth_token": "850d5283bdf64798822b0962e2432208", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-485073a5-d5ba-45f1-9acb-dde8b2b65fec", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:17:20.835972", "message_id": "0dd2edda-2a84-41a7-b6ac-d01d3a8325d4"}}
{"event_type": "volume.attach.end", "payload": {"status": "in-use", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40", "volume_attachment": [{"instance_uuid": "93d106b5-0109-4848-932a-da86fb131964", "attach_time": "2016-02-12T18:17:20.000000", "deleted": false, "attached_host": null, "created_at": "2016-02-12T18:17:20.000000", "attach_mode": "rw", "updated_at": "2016-02-12T18:17:20.000000", "attach_status": "attached", "detach_time": null, "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "mountpoint": "/dev/vdb", "deleted_at": null, "id": "19e7579d-e754-460a-8cda-9343aace0f7a"}], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:17:20.509140+00:00", "auth_token": "850d5283bdf64798822b0962e2432208", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-485073a5-d5ba-45f1-9acb-dde8b2b65fec", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:17:21.039242", "message_id": "80d49f34-ae8a-4a8d-9461-f490f1b94b53"}}
{"event_type": "compute.instance.volume.attach", "payload": {"state_description": "", "availability_zone": null, "terminated_at": "", "ephemeral_gb": 0, "instance_type_id": 6, "deleted_at": "", "reservation_id": "r-2bt811f2", "memory_mb": 64, "display_name": "t1", "hostname": "t1", "state": "active", "progress": "", "launched_at": "2016-02-12T17:54:21.000000", "metadata": {}, "node": "devstack", "ramdisk_id": "174cc03d-705c-40aa-ab19-24b33a288e1e", "access_ip_v6": null, "disk_gb": 1, "access_ip_v4": null, "kernel_id": "e47b3534-db27-4950-91bb-25cb6711fb10", "host": "devstack", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "image_ref_url": "http://192.168.235.128:9292/images/71ed238d-7d29-4297-bee8-d10c93d4ea6f", "cell_name": "", "root_gb": 1, "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12 17:54:09+00:00", "instance_id": "93d106b5-0109-4848-932a-da86fb131964", "instance_type": "m1.tinier", "vcpus": 1, "image_meta": {"kernel_id": "e47b3534-db27-4950-91bb-25cb6711fb10", "container_format": "ami", "min_ram": "0", "ramdisk_id": "174cc03d-705c-40aa-ab19-24b33a288e1e", "disk_format": "ami", "min_disk": "1", "base_image_ref": "71ed238d-7d29-4297-bee8-d10c93d4ea6f"}, "architecture": null, "os_type": null, "instance_flavor_id": "6"}, "publisher_id": "compute.devstack", "ctxt": {"domain": null, "project_domain": null, "auth_token": "850d5283bdf64798822b0962e2432208", "resource_uuid": null, "read_only": false, "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00", "instance_lock_checked": false, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "user_name": "admin", "project_name": "admin", "timestamp": "2016-02-12T18:17:15.388641", "remote_address": "192.168.235.128", "quota_class": null, "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "volumev2", "name": "cinderv2"}], "read_deleted": "no", "show_deleted": false, "roles": ["admin"], "request_id": "req-0f6ec6f8-cb6d-4c35-9a40-d36896a5a53c", "user_domain": null}, "metadata": {"timestamp": "2016-02-12 18:17:21.111859", "message_id": "521c987c-6d7f-4194-be2f-05d78e401fa2"}}

VOLUME DETACH:

{"event_type": "compute.instance.volume.detach", "payload": {"state_description": "", "availability_zone": null, "terminated_at": "", "ephemeral_gb": 0, "instance_type_id": 6, "deleted_at": "", "reservation_id": "r-2bt811f2", "memory_mb": 64, "display_name": "t1", "hostname": "t1", "state": "active", "progress": "", "launched_at": "2016-02-12T17:54:21.000000", "metadata": {}, "node": "devstack", "ramdisk_id": "174cc03d-705c-40aa-ab19-24b33a288e1e", "access_ip_v6": null, "disk_gb": 1, "access_ip_v4": null, "kernel_id": "e47b3534-db27-4950-91bb-25cb6711fb10", "host": "devstack", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "image_ref_url": "http://192.168.235.128:9292/images/71ed238d-7d29-4297-bee8-d10c93d4ea6f", "cell_name": "", "root_gb": 1, "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12 17:54:09+00:00", "instance_id": "93d106b5-0109-4848-932a-da86fb131964", "instance_type": "m1.tinier", "vcpus": 1, "image_meta": {"kernel_id": "e47b3534-db27-4950-91bb-25cb6711fb10", "container_format": "ami", "min_ram": "0", "ramdisk_id": "174cc03d-705c-40aa-ab19-24b33a288e1e", "disk_format": "ami", "min_disk": "1", "base_image_ref": "71ed238d-7d29-4297-bee8-d10c93d4ea6f"}, "architecture": null, "os_type": null, "instance_flavor_id": "6"}, "publisher_id": "compute.devstack", "ctxt": {"domain": null, "project_domain": null, "auth_token": "f13083f025334e0494deb513daf54c89", "resource_uuid": null, "read_only": false, "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00", "instance_lock_checked": false, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "user_name": "admin", "project_name": "admin", "timestamp": "2016-02-12T18:18:11.697528", "remote_address": "192.168.235.128", "quota_class": null, "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8776/v1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8776/v2/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "volumev2", "name": "cinderv2"}], "read_deleted": "no", "show_deleted": false, "roles": ["admin"], "request_id": "req-4fa99b89-70bc-42a2-a229-016bc7aa0204", "user_domain": null}, "metadata": {"timestamp": "2016-02-12 18:18:14.036514", "message_id": "cf780ae2-f852-45d1-a502-67816b5d3f0b"}}
{"event_type": "volume.detach.start", "payload": {"status": "detaching", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40", "volume_attachment": [{"instance_uuid": "93d106b5-0109-4848-932a-da86fb131964", "attach_time": "2016-02-12T18:17:20.000000", "deleted": false, "attached_host": null, "created_at": "2016-02-12T18:17:20.000000", "attach_mode": "rw", "updated_at": "2016-02-12T18:17:20.000000", "attach_status": "attached", "detach_time": null, "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "mountpoint": "/dev/vdb", "deleted_at": null, "id": "19e7579d-e754-460a-8cda-9343aace0f7a"}], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:18:14.189770+00:00", "auth_token": "f13083f025334e0494deb513daf54c89", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-e0ba24eb-0249-49bc-b618-eec6410956d6", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:18:14.324108", "message_id": "673c6061-005b-4e01-ab53-94915d0c074e"}}
{"event_type": "volume.detach.end", "payload": {"status": "available", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:18:14.189770+00:00", "auth_token": "f13083f025334e0494deb513daf54c89", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-e0ba24eb-0249-49bc-b618-eec6410956d6", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:18:14.824228", "message_id": "c953faf6-29b2-4be6-a07f-a5bbff29af8f"}}

VOLUME DELETE
{"event_type": "volume.delete.start", "payload": {"status": "deleting", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40+00:00", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41+00:00", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:18:48.121852+00:00", "auth_token": "72deced1b07f4052a20eaaa600742fa7", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-0af9bb94-1d71-4a94-bf03-a7196a3ea1a7", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:18:48.284397", "message_id": "9a331c1b-2d60-4e4e-b8a0-668ab6c41a40"}}
{"event_type": "volume.delete.end", "payload": {"status": "deleting", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "display_name": "test-vol", "availability_zone": "nova", "tenant_id": "5b52e24f4cb64ffe9215fe5e46caff00", "created_at": "2016-02-12T18:15:40+00:00", "volume_attachment": [], "volume_type": "a16c8514-616f-4d40-baf7-eb8c8fb18677", "host": "devstack@lvmdriver-1#lvmdriver-1", "snapshot_id": null, "replication_status": "disabled", "volume_id": "342b0875-2c7a-48b7-a391-f4d6ea8987c0", "replication_extended_status": null, "replication_driver_data": null, "size": 1, "launched_at": "2016-02-12T18:15:41+00:00", "metadata": []}, "publisher_id": "volume.devstack@lvmdriver-1", "ctxt": {"read_only": false, "domain": null, "project_name": "admin", "user_id": "c37016a2a0d34e299ffb32663fca9a8a", "show_deleted": false, "roles": ["admin"], "user_identity": "c37016a2a0d34e299ffb32663fca9a8a 5b52e24f4cb64ffe9215fe5e46caff00 - - -", "project_domain": null, "timestamp": "2016-02-12T18:18:48.121852+00:00", "auth_token": "72deced1b07f4052a20eaaa600742fa7", "remote_address": "192.168.235.128", "quota_class": null, "resource_uuid": null, "project_id": "5b52e24f4cb64ffe9215fe5e46caff00", "is_admin": true, "user": "c37016a2a0d34e299ffb32663fca9a8a", "service_catalog": [{"endpoints": [{"adminURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "region": "RegionOne", "internalURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00", "publicURL": "http://192.168.235.128:8774/v2.1/5b52e24f4cb64ffe9215fe5e46caff00"}], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.235.128:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.235.128:5000/v2.0", "publicURL": "http://192.168.235.128:5000/v2.0"}], "type": "identity", "name": "keystone"}], "request_id": "req-0af9bb94-1d71-4a94-bf03-a7196a3ea1a7", "user_domain": null, "read_deleted": "no", "tenant": "5b52e24f4cb64ffe9215fe5e46caff00"}, "metadata": {"timestamp": "2016-02-12 18:18:50.927877", "message_id": "59d7cfbb-51dd-4dab-804c-e0c60aa67518"}}

Gerrit topic: https://review.openstack.org/#q,topic:bp/cinder-plugin,n,z

Addressed by: https://review.openstack.org/280273
    WIP: Add Cinder plugin

Addressed by: https://review.openstack.org/289508
    Partially correct func test indexing

Addressed by: https://review.openstack.org/293073
    Correct cinder configuration examples

Addressed by: https://review.openstack.org/230697
    Simple Script for Generating Resources

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.