[Openstack-operators] Milestone version - volume snapshots

Linux Datacenter linuxdatacenter at gmail.com
Mon Feb 6 20:27:44 UTC 2012


Hi,

I keep getting this error when I try to take a snapshot of an iscsi volume:

(nova.api.openstack.wsgi): TRACE: Traceback (most recent call last):
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 834, in
__call__
(nova.api.openstack.wsgi): TRACE:     action_result = self.dispatch(meth,
request, action_args)
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 908, in
dispatch
(nova.api.openstack.wsgi): TRACE:     return method(req=request,
**action_args)
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/volumes.py",
line 528, in create
(nova.api.openstack.wsgi): TRACE:     snapshot.get('display_description'))
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/api.py", line 292, in
create_snapshot
(nova.api.openstack.wsgi): TRACE:     False)
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/api.py", line 266, in
_create_snapshot
(nova.api.openstack.wsgi): TRACE:     check_policy(context,
'create_snapshot', volume)
(nova.api.openstack.wsgi): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/api.py", line 61, in
check_policy
(nova.api.openstack.wsgi): TRACE:     target.update(target_obj or {})
(nova.api.openstack.wsgi): TRACE: TypeError: 'int' object is not iterable
(nova.api.openstack.wsgi): TRACE:
2012-02-06 21:24:56,861 INFO nova.api.openstack.wsgi
[req-42b3cde5-e079-4c4f-b1da-30b4f616654c testproject testproject]
http://10.190.0.10:8774/v1.1/testproject/os-snapshots returned with HTTP 400


It looks like there's something wrong with my policy.json I guess. I don't
really know what to look at in this file (no docs on this yet(?)). Anybody
has ideas what to change to make snapshots work?

Cheers,

-- 
checkout my blog on linux clusters:
-- linuxdatacenter.blogspot.com --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120206/a1b6fb6b/attachment-0002.html>


More information about the Openstack-operators mailing list