Hi all
- @@ -419,10 +419,12 @@ class Rbd(Image):
- if path:
- try:
- self.rbd_name = path.split('/')[1]
- + self.path = path
- except IndexError:
- raise exception.InvalidDevicePath(path=path)
- else:
- self.rbd_name = '%s_%s' % (instance['name'], disk_name)
- + self.path = 'volumes/%s' % self.rbd_name
- self.snapshot_name = snapshot_name
- if not CONF.libvirt_images_rbd_pool:
- raise RuntimeError(_('You should specify'
but am not sure this is correct. I have the following problems:
1) can't inject data into image
2013-11-07 16:59:25.251 24891 INFO nova.virt.libvirt.driver [req-f813ef24-de7d-4a05-ad6f-558e27292495 c66a737acf0545fdb9a0a920df0794d9 2096e25f5e814882b5907bc5db342308] [instance: 2fa02e4f-f804-4679-9507-736eeebd9b8d] Injecting key into
image fc8179d4-14f3-4f21-a76d-72b03b5c1862
2013-11-07 16:59:25.269 24891 WARNING nova.virt.disk.api [req-f813ef24-de7d-4a05-ad6f-558e27292495 c66a737acf0545fdb9a0a920df0794d9 2096e25f5e814882b5907bc5db342308] Ignoring error injecting data into image (Error mounting volumes/ instance-0000
0089_disk with libguestfs (volumes/instance-00000089_disk: No such file or directory))
possibly the self.path = … is wrong - but what are the correct values?
2) Creating a new instance from an ISO image fails completely - no bootable disk found, says the KVM console. Related?
3) When creating a new instance from an image (non ISO images work), the disk is not resized to the size specified in the flavor (but left at the size of the original image)
I would be really grateful, if those people that have Grizzly/Havana running with an RBD backend could pipe in here…
thanks
Jens-Christian
--
SWITCH
Jens-Christian Fischer, Peta Solutions
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 15, direct +41 44 268 15 71
jens-christian.fischer@xxxxxxxxx
_______________________________________________