Cinder external ceph volumes don't work unless nova ceph backend is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Will Szumski | ||
Pike |
Confirmed
|
Medium
|
Unassigned | ||
Queens |
Fix Released
|
Medium
|
Unassigned | ||
Rocky |
Fix Released
|
Medium
|
Will Szumski |
Bug Description
In a cloud with external ceph [1] configured as the backend for Cinder but not nova, we see problems when creating volume-backed instances. The following errors are seen in nova logs:
2018-06-21 11:29:01.454 24 ERROR nova.scheduler.
36cdb434984a3c4
vn4-dr06-u7): [u'Traceback (most recent call last):\n', u' File "/usr/lib/
in _do_build_
py", line 2117, in _build_
of instance 41e3cbe2-
13-1456789'\n"]
and:
(openstack) 1 stack@eod-
{
"fault": {
"message": "Build of instance f1bceb3a-
"code": 500,
"details": " File \"/usr/
"created": "2018-06-
}
if you haven't configured the nova ceph backend. It should be possible to use cinder with nova without enabling this.
Here is a snippet of globals.yml configuration that leads to this issue:
enable_ceph: "no"
cinder_
nova_backend_ceph: "no"
[1] https:/
description: | updated |
summary: |
- cinder cephfs volumes don't work unless nova cephfs backend is enabled + cinder ceph volumes don't work unless nova ceph backend is enabled |
summary: |
- cinder ceph volumes don't work unless nova ceph backend is enabled + Cinder external ceph volumes don't work unless nova ceph backend is + enabled |
description: | updated |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Will Szumski (ccx-will) |
milestone: | none → rocky-3 |
Reviewed: https:/ /review. openstack. org/577239 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=19b1e9c08dc b706ad7e396db6e 03d3726f35747c
Committed: https:/
Submitter: Zuul
Branch: master
commit 19b1e9c08dcb706 ad7e396db6e03d3 726f35747c
Author: Will Szumski <email address hidden>
Date: Thu Jun 21 17:36:30 2018 +0100
Allow nova to use cephfs cinder volumes without nova cephfs backend
It is not necessary to enable the nova cephfs backend to make use
of cinder cephfs volumes.
Change-Id: I35c3d2e4976996 2e5c47f585d91d1 efd492a53d6
Closes-Bug: #1778107