Comment 0 for bug 1778107

Revision history for this message
Will Szumski (willjs) wrote : cinder cephfs volumes don't work unless nova cephfs backend is enabled

When trying to boot an instance that makes use of a cinder cephfs volume, you get the following errors:

2018-06-21 11:29:01.454 24 ERROR nova.scheduler.utils [req-504318b7-666c-44ae-b3b8-e57388be604e aa63d0eb27bd41fbb8a7de48556a972e c90400f
36cdb434984a3c436d34630b9 - default default] [instance: 41e3cbe2-19a2-48ca-aeef-26f387d499f0] Error from last host: svn4-dr06-u7 (node s
vn4-dr06-u7): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1840,
in _do_build_and_run_instance\n filter_properties, request_spec)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.
py", line 2117, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build
of instance 41e3cbe2-19a2-48ca-aeef-26f387d499f0 was re-scheduled: Secret not found: no secret with matching uuid 'b01fe2fa-46e7-48ed-8b
c0-3d078e29366d'\n"]

and:

(openstack) 1 stack@eod-seed:~/will/kayobe-env/src/kayobe$ openstack server show test -c fault -f json
{
  "fault": {
    "message": "Build of instance f1bceb3a-4e8a-4cc6-b775-f5fe1ec8901e aborted: Volume attachment 2e6ee797-8e27-4b7e-858f-59ec37fa998b could not be found.",
    "code": 500,
    "details": " File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 1840, in _do_build_and_run_instance\n filter_properties, request_spec)\n File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2062, in _build_and_run_instance\n bdms=block_device_mapping)\n File \"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2014, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib64/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2221, in _build_resources\n reason=e.format_message())\n",
    "created": "2018-06-21T10:12:45Z"
  }

if you haven't configured the nova cephfs backend. It should be possible to use cinder with nova without enabling this.