CEPH RBD mirroring - failed to create a replicated volume from an image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Description of problem: When using Cinder CEPH RBD mirroring, creating a none replicated volume from an image works fine. Creating a replicated volume from an image fails status - error. Creating an empty replicated volume also works fine.
Version-Release number of selected component (if applicable):
# rpm -qa | grep cinder
openstack-
python-
puppet-
python-
How reproducible:
Every time
Steps to Reproduce:
1. Configure a system with CEPH RBD mirroring
2. Upload an image
3. Create a none replicated volume from an image - works.
# openstack volume create NoneReplVolFrom
4. Create a replicated volume from an image - status error.
# openstack volume create ReplVolFromImage --size 2 --type REPL --image 06ea4aa6-
5. An empty replicated volume is created successfully, basic replication works.
6. Cinder list see error status on vol from #4
[stack@undercloud-0 ~]$ cinder list
[stack@undercloud-0 ~]$ cinder list
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 1f25cc1b-
| 58b4bf7d-
| be55fec9-
+------
Actual results:
Failed to create a replicated volume from an image.
Expected results:
Replicated volume from an image should be successfully created.
Additional info:
Uploaded Cinder logs.
Glance image is a Cirros image in raw format, Glance also uses CEPH backend.
#glance image-list
+------
| ID | Name |
+------
| 06ea4aa6-
+------
$ cinder type-show REPL
+------
| Property | Value |
+------
| description | None |
| extra_specs | {'replication_
| id | fb3f6fe6-
| is_public | True |
| name | REPL |
| os-volume-
| qos_specs_id | None |
+------