Hi all, With a running boot-from-volume instance backed in ceph, i launch command to create an image from instance. All seems to work fine but if i look in bdd i notice that location is empty mysql>
select * from images where id="b7674970-5d60-41da-bbb9-
*************************** 1. row ***************************
id: b7674970-5d60-41da-bbb9-
name: snapshot_athena326
size: 0
status: active
is_public: 1
location: NULL
created_at: 2013-08-29 14:41:16
updated_at: 2013-08-29 14:41:16
deleted_at: NULL
deleted: 0
disk_format: raw
container_format: bare
checksum: 8e79e146ce5d2c71807362730e7b5a
owner: 36d462972b1d49c5850ca864b6f39d
min_disk: 0
min_ram: 0
protected: 0
1 row in set (0.00 sec)
Bug? Aditional info # glance index
ID Name
Disk Format Container Format Size
------------------------------
7729788f-b80a-4d90-b3c7-
b0692408-6bcf-40b1-94c6-
I
created a instance from image 7729788f-b80a-4d90-b3c7-
#nova
list
+-----------------------------
| ID | Name | Status |
Networks |
+-----------------------------
| bffd1b30-5690-4d2f-9347-
+-----------------------------
#nova
image-create bffd1b30-5690-4d2f-9347-
///LOGS
in cinder_volume
2013-08-29 16:41:16 INFO cinder.volume.manager
[req-8fc22aae-a516-4f62-a836-
2013-08-29 16:41:16 DEBUG cinder.volume.manager
[req-8fc22aae-a516-4f62-a836-
2013-08-29 16:41:16 DEBUG cinder.utils
[req-8fc22aae-a516-4f62-a836-
2013-08-29 16:41:17 DEBUG cinder.utils
[req-8fc22aae-a516-4f62-a836-
2013-08-29 16:41:17 DEBUG cinder.utils
[req-8fc22aae-a516-4f62-a836-
2013-08-29 16:41:17 DEBUG cinder.volume.manager
[req-8fc22aae-a516-4f62-a836-
///LOGS in cinder_volume
root@nova-volume-lnx001:/home/
ID Name
Disk Format Container Format Size
------------------------------
b7674970-5d60-41da-bbb9-
7729788f-b80a-4d90-b3c7-
b0692408-6bcf-40b1-94c6-
# glance image-show b7674970-5d60-41da-bbb9-
+-----------------------------
| Property | Value
|
+-----------------------------
| Property 'block_device_mapping' | [{"device_name": "vda",
"delete_on_termination": true, "snapshot_id": "7a41d848-6d35-47a6-b3ce-
| Property 'root_device_name' | /dev/vda
|
| checksum | 8e79e146ce5d2c71807362730e7b5a
| container_format | bare
|
| created_at | 2013-08-29T14:41:16
|
| deleted | False
|
| disk_format | raw
|
| id | b7674970-5d60-41da-bbb9-
| is_public | True
|
| min_disk | 0
|
| min_ram | 0
|
| name | snapshot_athena326
|
| owner | 36d462972b1d49c5850ca864b6f39d
| protected | False
|
| size | 0
|
| status | active
|
| updated_at | 2013-08-29T14:41:16
|
+-----------------------------
#
glance show b7674970-5d60-41da-bbb9-
Id:
b7674970-5d60-41da-bbb9-
Public:
Yes
Protected:
No
Name:
snapshot_athena326
Status:
active
Size:
0
Disk
format: raw
Container
format: bare
Minimum
Ram Required (MB): 0
Minimum
Disk Required (GB): 0
Owner:
36d462972b1d49c5850ca864b6f39d
Property
'root_device_name': /dev/vda
Property 'block_device_mapping': [{"device_name": "vda",
"delete_on_termination": true, "snapshot_id": "7a41d848-6d35-47a6-b3ce-
Created
at: 2013-08-29T14:41:16
Updated
at: 2013-08-29T14:41:16
#
rbd ls volumes | grep volume-1b1e9684-05fa-4d8b-
volume-1b1e9684-05fa-4d8b-
#
rbd snap ls volumes/volume-1b1e9684-05fa-
SNAPID
NAME SIZE
87 snapshot-0e431fb7-b24e-4ca4-
90 snapshot-6d99f645-96ce-4847-
89 snapshot-7a41d848-6d35-47a6-
88 snapshot-8b136189-f06c-4598-
Regards |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com