Cinder backup service can not create volume backup with ceph enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Bartłomiej Piotrowski |
Bug Description
Cinder backup service can not create volume backup
Steps to reproduce:
1. Checked that cinder-backup service is running:
root@node-1:~# service cinder-backup status
cinder-backup start/running, process 32491
root@node-1:~# cinder service-list
+------
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------
| cinder-backup | rbd:volumes | nova | enabled | up | 2015-04-
| cinder-scheduler | rbd:volumes | nova | enabled | up | 2015-04-
| cinder-volume | rbd:volumes | nova | enabled | up | 2015-04-
+------
2. Created a Volume
# cinder create 1 --display-name VOLUME1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2015-04-
| display_description | None |
| display_name | VOLUME1 |
| encrypted | False |
| id | 6ad0216d-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| volume_type | None |
+------
3. Check that volume available:
cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 6ad0216d-
4. Create volume backup:
# cinder backup-create 6ad0216d-
+------
| Property | Value |
+------
| id | aad20643-
| name | None |
| volume_id | 6ad0216d-
+------
5. Note error in backup list
# cinder backup-list
+------
| ID | Volume ID | Status | Name | Size | Object Count | Container |
+------
| aad20643-
6. Inspect backup details:
# cinder backup-show aad20643-
+------
| Property | Value |
+------
| availability_zone | None |
| container | None |
| created_at | 2015-04-
| description | None |
| fail_reason | Volume driver not ready. |
| id | aad20643-
| name | None |
| object_count | None |
| size | 1 |
| status | error |
| volume_id | 6ad0216d-
+------
Note: | fail_reason | Volume driver not ready. |
6. Inspect error in cinder-backup log.
/var/log/
2015-04-07 10:50:06.986 32491 INFO cinder.
2015-04-07 10:50:06.990 32491 INFO cinder.
2015-04-07 10:50:07.008 32491 INFO cinder.
2015-04-07 10:50:07.014 32491 ERROR cinder.utils [req-c1b7c11c-
2015-04-07 10:50:07.164 32491 ERROR oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
2015-04-07 10:50:07.164 32491 TRACE oslo.messaging.
Environment:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
api: "1.0"
build_number: "282"
build_id: "2015-04-
nailgun_sha: "a2dc04af9c5838
python-
astute_sha: "240bfefe0a0b5a
fuellib_sha: "601cc8e1dccbdc
ostf_sha: "b978badb43243d
fuelmain_sha: "f90d7d40ceff39
Settings:
1 controller
1 compute
1 storage with CephOSD.
Ceph RDB for Cinder and Glance. QEMU, Neutron VLAN, no additional components installed.
Changed in mos: | |
milestone: | none → 6.1 |
tags: | added: ceph cinder |
Changed in mos: | |
importance: | Undecided → Critical |
Changed in mos: | |
assignee: | nobody → Ivan Kolodyazhny (e0ne) |
Changed in mos: | |
importance: | Critical → High |
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 6.1 |
no longer affects: | mos |
summary: |
- Cinder backup service can not create volume backup + Cinder backup service can not create volume backup with ceph enabled |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Stanislav Makar (smakar) |
Changed in fuel: | |
status: | Fix Committed → Triaged |
Changed in fuel: | |
assignee: | Stanislav Makar (smakar) → Bartlomiej Piotrowski (bpiotrowski) |
Changed in fuel: | |
status: | Triaged → Fix Released |
cinder-backup can't initialize RBD driver and use default (Swift backend).
root@node-1:~# cinder backup-list | grep avail e37a-4238- a900-077a072668 72 | e614bc39- 0f2a-45d8- a68d-a3afa81e71 f8 | available | None | 1 | 22 | volumebackups |
| fdedf323-
root@node-1:~# swift list volumebackups e614bc39- 0f2a-45d8- a68d-a3afa81e71 f8/201504071135 56/az_nova_ backup_ fdedf323- e37a-4238- a900-077a072668 72-00001 e614bc39- 0f2a-45d8- a68d-a3afa81e71 f8/201504071135 56/az_nova_ backup_ fdedf323- e37a-4238- a900-077a072668 72-00002
volume_
volume_
...