Ask Your Question
0

cinder backup-create failing in Openstack Liberty

asked 2017-11-19 04:16:32 -0500

NovelKumar gravatar image

updated 2017-11-19 08:46:57 -0500

cinder volume backup creation is failing in Openstack Liberty code base installation.

Setup:

Cinder volume with VSA as backend [hplefthand] Cinder volume creation works fine A boot from volume instance is also created fine. I am using swift as my backend driver with the following backup configuration in cinder.conf:

backup_swift_url=http://10.18.126.26:8080/v1/AUTH_
backup_swift_auth=per_user
backup_swift_user=<None>
backup_swift_key=<None>
backup_swift_container=volumebackups
backup_swift_object_size=52428800
backup_swift_retry_attempts=3
backup_swift_retry_backoff=2
backup_compression_algorithm=zlib
backup_driver=cinder.backup.drivers.swift

#cinder service-list
| cinder-backup | BASE-CCP-T1-VIP-CND-SVC-NETCLM | nova | enabled | up | 2017-11-17T20:49:56.000000 | None |
| cinder-scheduler | BASE-CCP-T1-VIP-CND-SVC-NETCLM | nova | enabled | up | 2017-11-17T20:49:55.000000 | None |
| cinder-volume | BASE-CCP-T1-VIP-CND-SVC-NETCLM@hplefthand | nova | enabled | up | 2017-11-17T20:49:56.000000 | None |

#cinder backup-list
| 397efd0f-a164-4ce0-8009-7920b5e99bb5 | 0379fb5a-f94f-4fea-9216-ec06d6720b19 | error | None | 6 | None | None |
| 51cb7ddf-4925-4ba5-87c3-862a2a44bf4e | 9c62b29b-71fe-4703-85e5-bae48079f77a | error | None | 5 | None | None |

cinder backup-show 397efd0f-a164-4ce0-8009-7920b5e99bb5
+-------------------+----------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+-------------------+----------------------------------------------------------------------------------------------------------------------------------+
| availability_zone | None |
| container | None |
| created_at | 2017-11-17T20:47:26.000000 |
| description | None |
| fail_reason | Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'initiator' |
| id | 397efd0f-a164-4ce0-8009-7920b5e99bb5 |
| name | None |
| object_count | None |
| size | 6 |
| status | error |
| volume_id | 0379fb5a-f94f-4fea-9216-ec06d6720b19 |
+-------------------+----------------------------------------------------------------------------------------------------------------------------------+

#openstack --version
openstack 1.0.5

/opt/stack/venvs/cinder/local/lib/python2.7/site-packages/cinder/backup/drivers# ls
ceph.py ceph.pyc __init__.py __init__.pyc nfs.py nfs.pyc swift.py swift.pyc tsm.py tsm.pyc
edit retag flag offensive close merge delete

Comments

Can you share your cinder-backup logs? Is the service cinder-backup up and running?

eblock gravatar imageeblock ( 2017-11-20 04:30:39 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-11-20 00:09:12 -0500

NovelKumar gravatar image

anyone who has made it work.. please reply

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-11-19 04:16:32 -0500

Seen: 123 times

Last updated: Nov 20 '17