Activity log for bug #1801316

Date Who What changed Old value New value Message
2018-11-02 09:16:21 Brin Zhang bug added bug
2018-11-02 09:19:50 Brin Zhang cinder: assignee Brin Zhang (zhangbailin)
2018-11-02 09:49:36 Brin Zhang description The backup file failed to be deleted because the backup driver configured on the same storage backend is different. You can reproduce the problem by following the steps below. 1.Config the "backup_driver=cinder.backup.drivers.ceph.CephBackupDriver" in cinder.conf, and then create a backup from a available/in-use volume, backup name is "vol_backup01"; 2.Change the "backup_driver=cinder.backup.drivers.ceph", and then to delete the backup with "vol_backup01", there will be throw an exception (under below). Hint: You can also change the order of setting backup_driver in steps 1 and 2 to test, and the same problem will occur. This is the same storage backend. It is unreasonable that the delete operation cannot be performed just because the backup_driver is different. 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 756, in delete_backup 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server raise exception.InvalidBackup(reason=err) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server InvalidBackup: Invalid backup: Delete backup aborted, the backup service currently configured [cinder.backup.drivers.ceph] is not the backup service that was used to create this backup [cinder.backup.drivers.ceph.CephBackupDriver]. The backup file failed to be deleted because the backup driver configured on the same storage backend is different. You can reproduce the problem by following the steps below. 1.Config the "backup_driver=cinder.backup.drivers.ceph.CephBackupDriver" in cinder.conf, and then create a backup from a available/in-use volume, backup name is "vol_backup01"; 2.Change the "backup_driver=cinder.backup.drivers.ceph", and then to delete the backup with "vol_backup01", there will be throw an exception (under below). Hint: You can also change the order of setting backup_driver in steps 1 and 2 to test, and the same problem will occur. This is the same storage backend. It is unreasonable that the delete operation cannot be performed just because the backup_driver is different. 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 756, in delete_backup 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server raise exception.InvalidBackup(reason=err) 2018-11-02 10:05:28.088 7 ERROR oslo_messaging.rpc.server InvalidBackup: Invalid backup: Delete backup aborted, the backup service currently configured [cinder.backup.drivers.ceph] is not the backup service that was used to create this backup [cinder.backup.drivers.ceph.CephBackupDriver]. The same problem exists with restore backup file.
2018-11-02 09:50:32 OpenStack Infra cinder: status New In Progress
2018-11-02 12:32:01 Sean McGinnis nominated for series cinder/ocata
2018-11-02 12:32:01 Sean McGinnis bug task added cinder/ocata
2018-11-02 12:32:01 Sean McGinnis nominated for series cinder/rocky
2018-11-02 12:32:01 Sean McGinnis bug task added cinder/rocky
2018-11-02 12:32:01 Sean McGinnis nominated for series cinder/queens
2018-11-02 12:32:01 Sean McGinnis bug task added cinder/queens
2018-11-02 12:32:01 Sean McGinnis nominated for series cinder/pike
2018-11-02 12:32:01 Sean McGinnis bug task added cinder/pike
2018-11-02 12:34:42 Sean McGinnis cinder: status In Progress Invalid
2018-11-05 00:28:36 OpenStack Infra cinder/rocky: status New In Progress
2018-11-05 00:28:36 OpenStack Infra cinder/rocky: assignee Brin Zhang (zhangbailin)
2018-11-26 22:14:36 OpenStack Infra cinder/rocky: status In Progress Fix Committed
2019-04-26 20:29:09 OpenStack Infra cinder/queens: status New In Progress
2019-04-26 20:29:09 OpenStack Infra cinder/queens: assignee Sofia Enriquez (lsofia-enriquez)
2019-05-15 20:12:17 OpenStack Infra cinder/queens: status In Progress Fix Committed