[Bug 1581572] Re: Upgrade L->M: FunctionNotSupported on volume-create

James Page james.page at ubuntu.com
Thu May 26 09:50:56 UTC 2016


This is due to a mismatch between the client library version (which
would have been jewel) and the backend (still hammer).

We don't test for this type of mixed deployment; the ceph backend really
should be upgraded in advance of clients to prevent this type of
situation.

** Changed in: cinder (Juju Charms Collection)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1581572

Title:
  Upgrade L->M: FunctionNotSupported on volume-create

Status in cinder package in Juju Charms Collection:
  Won't Fix

Bug description:
  Upgraded cinder running on 14.04.4 with

  $ juju set cinder openstack-origin="cloud:trusty-mitaka"

  The upgrade completes without errors.

  However, creating volumes fails, with this traceback:

  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher [req-7d4fdec9-7720-41fe-8c7e-38643f894ba2 2ac8326863b64ea3ba9ba96a7ab70214 51419d6b9c8f475db199c24b0e50a99d - - -] Exception during message handling: error creating image
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 630, in create_volume
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     _run_flow()
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 617, in _run_flow
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     flow_engine.run()
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 230, in run
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     for _state in self.run_iter(timeout=timeout):
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 308, in run_iter
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     failure.Failure.reraise_if_any(fails)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 336, in reraise_if_any
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     failures[0].reraise()
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 343, in reraise
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     six.reraise(*self._exc_info)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 82, in _execute_task
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     result = task.execute(**arguments)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 819, in execute
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     **volume_spec)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 797, in _create_raw_volume
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     return self.driver.create_volume(volume_ref)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 548, in create_volume
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     features=client.features)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in doit
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in proxy_call
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     rv = execute(f, *args, **kwargs)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in execute
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     six.reraise(c, e, tb)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in tworker
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher     rv = meth(*args, **kwargs)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher   File "rbd.pyx", line 432, in rbd.RBD.create (/build/ceph-nvmN7S/ceph-10.2.0/src/build/rbd.c:3048)
  2016-05-13 12:57:55.748 955 ERROR oslo_messaging.rpc.dispatcher FunctionNotSupported: error creating image

  The ceph backend is running version 0.94.6-0ubuntu0.15.10.1~cloud0;
  from the above trace I suspect that upgrading the ceph backend is a
  requirement, is that correct? If that is indeed the case this should
  probably be reflected in the relnotes eg. here
  https://wiki.ubuntu.com/ServerTeam/OpenStackCharms/ReleaseNotes1604

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1581572/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list