[Resolved] creating volume snapshot gives error on dashboard

asked 2013-07-25 05:09:39 -0500

updated 2013-07-26 03:40:02 -0500

I am trying to create volume snapshot which fails on dashboard with unexpected error. I do not see any error in cinder volume logs but some warnings in cinder-api

2013-07-25 06:05:50.740 WARNING cinder.quota [req-d9670839-7139-4c33-b34f-5afaf0f1f042 512513cf3f204e029c6249552791d03a 3758d357774f454fa9de583da961bb6f] Deprecated: Default quota for resource: gigabytes i
s set by the default quota flag: quota_gigabytes, it is now deprecated. Please use the the default quota class for default quota.
2013-07-25 06:05:50.740 WARNING cinder.quota [req-d9670839-7139-4c33-b34f-5afaf0f1f042 512513cf3f204e029c6249552791d03a 3758d357774f454fa9de583da961bb6f] **Deprecated: Default quota for resource: snapshots is set by the default quota flag: quota_snapshots, it is now deprecated. Please use the the default quota class for default quota.**
2013-07-25 06:05:50.740 WARNING cinder.quota [req-d9670839-7139-4c33-b34f-5afaf0f1f042 512513cf3f204e029c6249552791d03a 3758d357774f454fa9de583da961bb6f] Deprecated: Default quota for resource: volumes is set by the default quota flag: quota_volumes, it is now deprecated. Please use the the default quota class for default quota.

horizon logs

[Thu Jul 25 10:56:18 2013] [error] REQ: curl -i <a href="http://172.17.45.120:8776/v1/3758d357774f454fa9de583da961bb6f/volumes/detail">http://172.17.45.120:8776/v1/3758d357774f454fa9de583da961bb6f/volumes/detail</a> -X GET -H "X-Auth-Project-Id: 3758d357774f454fa9de583da961bb6f" -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: e942ff48ae052e166019540f35b317e9"
[Thu Jul 25 10:56:18 2013] [error]
[Thu Jul 25 10:56:19 2013] [error] RESP: [200] {'date': 'Thu, 25 Jul 2013 10:56:19 GMT', 'x-compute-request-id': 'req-3c589bb5-5683-4b85-b792-bb5fadb6b48c', 'content-type': 'application/json', 'content-length': '3474'}
[Thu Jul 25 10:56:19 2013] [error] RESP BODY: {"volumes": [{"status": "available", "display_name": "test", "attachments": [], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-25T10:04:41.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": "", "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "9f2daa00-377f-4276-9c78-5025e7e6c23e", "size": 1}, {"status": "available", "display_name": "vol24", "attachments": [], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-25T05:25:34.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": "", "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "d0d2409f-4558-43d6-bef7-29296367fac5", "size": 1}, {"status": "in-use", "display_name": "test3gb", "attachments": [{"host_name": null, "device": "/dev/vdh", "server_id": "66390ff3-506b-42ed-b9eb-222f14322cd7", "id": "78beb153-57c4-4294-9e43-d820a5fc80f3", "volume_id": "78beb153-57c4-4294-9e43-d820a5fc80f3"}], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-24T08:54:20.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": "", "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "78beb153-57c4-4294-9e43-d820a5fc80f3", "size": 3}, {"status": "in-use", "display_name": "test2gbvollocal", "attachments": [{"host_name": null, "device": "/dev/vdd", "server_id": "66390ff3-506b-42ed-b9eb-222f14322cd7", "id": "2a1023aa-211e-458c-b1ba-c71893266bf1", "volume_id": "2a1023aa-211e-458c-b1ba-c71893266bf1"}], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-24T04:39:33.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": "", "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "2a1023aa-211e-458c-b1ba-c71893266bf1", "size": 2}, {"status": "available", "display_name": "test2gb", "attachments": [], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-24T04:28:37.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": "", "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "52a8d8f9-c3ef-43e0-b5c2-9d5185f40ad6", "size": 2}, {"status": "available", "display_name": "vol6", "attachments": [], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-19T08:37:24.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": null, "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "f3eac013-dd49-4a0e-8b00-fdd62637c7eb", "size": 1}, {"status": "available", "display_name": "vol5", "attachments": [], "availability_zone": "nova", "bootable": false, "created_at": "2013-07-19T08:28:07.000000", "os-vol-tenant-attr:tenant_id": "3758d357774f454fa9de583da961bb6f", "display_description": null, "os-vol-host-attr:host": "openstack-test", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "899b2e35-7ddf-4ae7-b7d4-c400c87705c7", "size": 1}]}
[Thu Jul 25 10:56:19 2013] [error]
[Thu ...
(more)
edit retag flag offensive close merge delete

Comments

Is there any information in the apache error logs?

jpichon gravatar imagejpichon ( 2013-07-25 05:18:15 -0500 )edit

I am getting blank errors in horizon logs, added to the question above

coolsvap gravatar imagecoolsvap ( 2013-07-25 06:00:40 -0500 )edit

Could you try to create a snapshot again and show the logs for this? It looks like the current apache logs paste only shows listing/looking at volumes and snapshot details, rather than the create action.

jpichon gravatar imagejpichon ( 2013-07-25 07:37:04 -0500 )edit

These are the only logs present everytime I try to create snapshot from dashboard

coolsvap gravatar imagecoolsvap ( 2013-07-26 00:02:37 -0500 )edit

Hi coolsvap I am getting the same error, did you found the reason of this error?

waqasriaz gravatar imagewaqasriaz ( 2014-02-03 00:37:43 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-26 03:41:08 -0500

Got it working, I still dont know what was the error, I commented the create_snapshot & delete snapshot implementation to get the NotImplemented error and added them back again. And its working!!!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-25 05:09:39 -0500

Seen: 2,041 times

Last updated: Jul 26 '13