cinder backup failed for external ceph backend

Bug #1740222 reported by caoyuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
caoyuan

Bug Description

2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 397, in create_backup
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server self._run_backup(context, backup, volume)
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 447, in _run_backup
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server backup_service.backup(backup, device_path)
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 864, in backup
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server self._backup_rbd(backup, volume_file, volume.name, length)
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 615, in _backup_rbd
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server if base_name not in self.rbd.RBD().list(ioctx=client.ioctx):
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server File "rbd.pyx", line 630, in rbd.RBD.list (rbd.c:4125)
2017-12-27 14:57:29.295 7 ERROR oslo_messaging.rpc.server PermissionError: error listing images

caoyuan (cao-yuan)
description: updated
Changed in kolla:
assignee: nobody → caoyuan (cao-yuan)
affects: kolla → kolla-ansible
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/530181
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a3a0e920e61420e0922bdaa69b8551e51925a6ce
Submitter: Zuul
Branch: master

commit a3a0e920e61420e0922bdaa69b8551e51925a6ce
Author: caoyuan <cao.yuan@99cloud.net>
Date: Wed Dec 27 15:00:26 2017 +0800

    Fix the cinder backup action failed when use external ceph

    when cinder use external ceph, and edit the cinder-backup.conf follow
    the external-ceph-guide.rst, cinder will backup failed because the
    backup_ceph_user is not cinder-backup, the patch to fix it.

    Change-Id: Ie7213c1280b2b8fc0a4648d09d9ba132427952aa
    Closes-Bug: #1740222

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/pike)

Reviewed: https://review.openstack.org/530222
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=466a08042ef5af7534df77fa85dd42295916c310
Submitter: Zuul
Branch: stable/pike

commit 466a08042ef5af7534df77fa85dd42295916c310
Author: caoyuan <cao.yuan@99cloud.net>
Date: Wed Dec 27 15:00:26 2017 +0800

    Fix the cinder backup action failed when use external ceph

    when cinder use external ceph, and edit the cinder-backup.conf follow
    the external-ceph-guide.rst, cinder will backup failed because the
    backup_ceph_user is not cinder-backup, the patch to fix it.

    Closes-Bug: #1740222
    (cherry picked from commit Ie7213c1280b2b8fc0a4648d09d9ba132427952aa)

    Change-Id: I28dd9c0d48a4917ced0c7243292e0c775f93c521

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 6.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.2

This issue was fixed in the openstack/kolla-ansible 5.0.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.