yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16921
[Bug 1337902] [NEW] do not show option for taking volume snapshots with --force is not supported by policy
Public bug reported:
1. log in with user demo
2. launch an instance from an image using "create new volume"
3. go to volumes -> create snapshot
snapshot is created with status error because --force option is not
supported by cinder
2014-07-04 18:01:58.042 2434 ERROR oslo.messaging.rpc.dispatcher [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] Exception during message handling: Policy doesn't allow
compute_extension:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 484, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher {'status': 'error'})
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 475, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher model_update = self.driver.create_snapshot(snapshot_ref)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/lockutils.py", line 247, in inner
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher retval = f(*args, **kwargs)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 310, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher return self._create_snapshot(snapshot)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 428, in _create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher raise e
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher Forbidden: Policy doesn't allow compute_extension:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher
2014-07-04 18:01:58.043 2434 ERROR oslo.messaging._drivers.common [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] Returning exception Policy doesn't allow compute_extens
ion:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40) to caller
2014-07-04 18:01:58.043 2434 ERROR oslo.messaging._drivers.common [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] ['Traceback (most recent call last):\n', ' File "/usr/
lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return
self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/p
ython2.7/site-packages/cinder/volume/manager.py", line 484, in create_snapshot\n {\'status\': \'error\'})\n', ' File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.
type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 475, in create_snapshot\n model_update = self.driver.create_snapshot(snapshot_ref)\n', ' File "/usr/lib/python2.7/site-package
s/cinder/openstack/common/lockutils.py", line 247, in inner\n retval = f(*args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 310, in create_snapshot\n return self._create_snapsh
ot(snapshot)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 428, in _create_snapshot\n raise e\n', "Forbidden: Policy doesn't allow compute_extension:os-assisted-volume-snapshots:create to be
performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)\n"]
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1337902
Title:
do not show option for taking volume snapshots with --force is not
supported by policy
Status in OpenStack Dashboard (Horizon):
New
Bug description:
1. log in with user demo
2. launch an instance from an image using "create new volume"
3. go to volumes -> create snapshot
snapshot is created with status error because --force option is not
supported by cinder
2014-07-04 18:01:58.042 2434 ERROR oslo.messaging.rpc.dispatcher [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] Exception during message handling: Policy doesn't allow
compute_extension:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 484, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher {'status': 'error'})
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 475, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher model_update = self.driver.create_snapshot(snapshot_ref)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/lockutils.py", line 247, in inner
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher retval = f(*args, **kwargs)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 310, in create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher return self._create_snapshot(snapshot)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 428, in _create_snapshot
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher raise e
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher Forbidden: Policy doesn't allow compute_extension:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)
2014-07-04 18:01:58.042 2434 TRACE oslo.messaging.rpc.dispatcher
2014-07-04 18:01:58.043 2434 ERROR oslo.messaging._drivers.common [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] Returning exception Policy doesn't allow compute_extens
ion:os-assisted-volume-snapshots:create to be performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40) to caller
2014-07-04 18:01:58.043 2434 ERROR oslo.messaging._drivers.common [req-f3e31ee1-60b4-4033-be63-acc07e9b9a32 5a67ce69c6824e17b44bf15003ccc29f d22192179d3042a587ebd06bd6fd48d1 - - -] ['Traceback (most recent call last):\n', ' File "/usr/
lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return
self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/p
ython2.7/site-packages/cinder/volume/manager.py", line 484, in create_snapshot\n {\'status\': \'error\'})\n', ' File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.
type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 475, in create_snapshot\n model_update = self.driver.create_snapshot(snapshot_ref)\n', ' File "/usr/lib/python2.7/site-package
s/cinder/openstack/common/lockutils.py", line 247, in inner\n retval = f(*args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 310, in create_snapshot\n return self._create_snapsh
ot(snapshot)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/glusterfs.py", line 428, in _create_snapshot\n raise e\n', "Forbidden: Policy doesn't allow compute_extension:os-assisted-volume-snapshots:create to be
performed. (HTTP 403) (Request-ID: req-5ad5aa61-a6f0-4919-b008-9cb9ff4c5a40)\n"]
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1337902/+subscriptions
Follow ups
References