cinder backup error , not taking ceph configuration

asked 2017-03-01 00:03:59 -0500

deepak2112 gravatar image

I have two different ceph cluster , i am using cinder backup service to take backup of ceph backed volume to other ceph cluster . but getting error in configuration file

InvalidBackup: Invalid backup: Delete backup aborted, the backup service currently configured [cinder.backup.drivers.swift] is not the backup service that was used to create this backup [cinder.backup.drivers.ceph].

ERROR oslo_messaging.rpc.server BackupDriverException: Backup driver reported an error: Could not determine which Swift endpoint to use. This can either be set in the service catalog or with the cinder.conf config option 'backup_swift_url'.

rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
my_ip = xxxxxxxx
transport_url = rabbit://openstack:rabbit@123@controller
auth_strategy = keystone
glance_api_servers = http://controller:9292
enabled_backends = RBD-backend

keyring = /etc/ceph/ceph.client.volumes.keyring
connection = mysql+pymysql://cinder:cinder123@controller/cinder

auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = cinder@123

lock_path = /var/lib/cinder/tmp

volume_backend_name= RBD-backend
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_user = volumes
rbd_secret_uuid = 23ba0f36-b073-4595-ba1b-4f29230ab115

backup_driver = cinder.backup.drivers.ceph
backup_ceph_conf = /etc/ceph/ceph-secoundry.conf
backup_ceph_user = cinder-backup
backup_ceph_chunk_size = 134217728
backup_ceph_pool = volumes
backup_ceph_stripe_unit = 0
backup_ceph_stripe_count = 0

driver = messagingv2

please help..!!

edit retag flag offensive close merge delete


i configured in default section also but it is not working .

deepak2112 gravatar imagedeepak2112 ( 2017-03-01 00:22:16 -0500 )edit

The message Delete backup aborted means that someone or something tries to delete an existing backup, which fails. In your case, I guess that you had Swift backup configured earlier, created a backup, then switched to Ceph. However, who/what wants to delete the backup and why, I can't say.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-01 03:32:19 -0500 )edit

Perhaps you can list backups then force-delete whatever you see? Or clean the backups from the database.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-01 03:32:52 -0500 )edit

I haven't configured swift backend for backup . its first time i am configuring ceph as backup backend. can you tell how to rectify this.!! thankyou.!!

deepak2112 gravatar imagedeepak2112 ( 2017-03-01 22:31:27 -0500 )edit

I have same situation. did you solve this problem?

grkim gravatar imagegrkim ( 2019-03-12 23:48:33 -0500 )edit