cinder v2 backup-export /import broken

Bug #1468304 reported by Benny Kopilov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Hi ,

Installed redhat rhel7.1 with latest rhos7
Cinder with swift as cinder backup

Versions:
python-cinder-2015.1.0-3.el7ost.noarch
openstack-cinder-2015.1.0-3.el7ost.noarch
python-cinderclient-1.1.1-1.el7ost.noarch

When i create a backup-export , the URL is a long string with \n at the end and it change the table layout.
Is it a valid reply ?
When i run the same command for import , the action was failed.

See attachmend file for debug and output.

Revision history for this message
Benny Kopilov (bkopilov) wrote :
Revision history for this message
Benny Kopilov (bkopilov) wrote :
Revision history for this message
Benny Kopilov (bkopilov) wrote :
Download full text (3.2 KiB)

Add the import fails due to :
48463eabc47ec062ed77fe - - -] Import record started, backup_url: eyJzdGF0dXMiOiAiYXZhaWxhYmxlIiwgIm9iamVjdF9jb3VudCI6IDIyLCAiZGVsZXRlZF9hdCI6\nIG51bGwsICJzZXJ2aWNlX21ldGFkYXRhIjogInZvbHVtZV82ZjVhY2FiZS01YTU4LTRiOGItYjVm\nMy1kODYzOWY1OTJiMGIvMjAxNTA2MjQxMDM5NDQvYXpfbm92YV9iYWNrdXBfZDg4N2U2YjgtNzQ5\nMi00YTdhLTg1NDQtZTA0ZGVmYzJjYjAyIiwgInVzZXJfaWQiOiAiODg3NjljMGEwZTVkNDM4OWJh\nYTM0ZDljNTJkNDQ1NTEiLCAic2VydmljZSI6ICJjaW5kZXIuYmFja3VwLmRyaXZlcnMuc3dpZnQi\nLCAiYXZhaWxhYmlsaXR5X3pvbmUiOiAibm92YSIsICJkZWxldGVkIjogZmFsc2UsICJjcmVhdGVk\nX2F0IjogIjIwMTUtMDYtMjRUMTA6Mzk6NDMuMDAwMDAwIiwgInVwZGF0ZWRfYXQiOiAiMjAxNS0w\nNi0yNFQxMDo0MDo0NS4wMDAwMDAiLCAiZGlzcGxheV9kZXNjcmlwdGlvbiI6IG51bGwsICJwYXJl\nbnRfaWQiOiBudWxsLCAiaG9zdCI6ICJkZWJ1Z2pvYi1ia29waWxvdi10ZXN0LWJrb3BpbG92LWNv\nbnRyb2xsZXIubm92YWxvY2FsIiwgImNvbnRhaW5lciI6ICJ2b2x1bWVzX2JhY2t1cCIsICJ2b2x1\nbWVfaWQiOiAiNmY1YWNhYmUtNWE1OC00YjhiLWI1ZjMtZDg2MzlmNTkyYjBiIiwgImRpc3BsYXlf\nbmFtZSI6IG51bGwsICJmYWlsX3JlYXNvbiI6IG51bGwsICJwcm9qZWN0X2lkIjogIjM3MmU5NjY4\nODI0ODQ2M2VhYmM0N2VjMDYyZWQ3N2ZlIiwgImlkIjogImQ4ODdlNmI4LTc0OTItNGE3YS04NTQ0\nLWUwNGRlZmMyY2IwMiIsICJzaXplIjogMX0=.
2015-06-24 06:54:02.262 16133 INFO cinder.backup.manager [req-ba43bd56-1f44-4fdc-87c0-e4e11fcc5552 88769c0a0e5d4389baa34d9c52d44551 372e96688248463eabc47ec062ed77fe - - -] Backend not found in hostname (None) so using default.
2015-06-24 06:54:02.290 16133 ERROR oslo_messaging.rpc.dispatcher [req-ba43bd56-1f44-4fdc-87c0-e4e11fcc5552 88769c0a0e5d4389baa34d9c52d44551 372e96688248463eabc47ec062ed77fe - - -] Exception during message handling: Invalid backup: 'utf8' codec can't decode byte 0x9c in position 57: invalid start byte
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/backup/manager.py", line 587, in import_record
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher raise exception.InvalidBackup(reason=msg)
2015-06-24 06:54:02.290 16133 TRACE oslo_messaging.rpc.dispatcher InvalidBackup: Invalid backup: 'utf8' codec c...

Read more...

affects: openstack-api-site → cinder
summary: - cinder v3 backup-export /import broken
+ cinder v2 backup-export /import broken
Ivan Kolodyazhny (e0ne)
Changed in cinder:
assignee: nobody → Ivan Kolodyazhny (e0ne)
assignee: Ivan Kolodyazhny (e0ne) → nobody
tags: added: backup-service
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Need to check if this can be repro'd on current code.

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.