On Tue, Aug 14, 2012 at 06:18:40PM +0300, Constantinos Venetsanopoulos wrote:
> On 8/14/2012 4:53 PM, Damien Churchill wrote:
> >On 13 August 2012 13:39, Ansgar Jazdzewski <a.jazdzew...@googlemail.com> 
> >wrote:
> >>Hi,
> >>
> >>I like to build an instance on a RBD Storage with Kernel inside the VM
> >>
> >>So i did,
> >>############
> >>root@node01# gnt-instance add -t rbd -s 30G --net 0:link=br-untagged
> >>-B memory=2G -H kvm:kernel_path="" -o debootstrap+default -n node01
> >>--no-start --no-install webmanager
> >>Mon Aug 13 14:17:39 2012 * disk 0, size 30.0G
> >>Mon Aug 13 14:17:39 2012 * creating instance disks...
> >>Mon Aug 13 14:17:39 2012 adding instance webmanager to cluster config
> >>Mon Aug 13 14:17:39 2012  - INFO: Waiting for instance webmanager to sync 
> >>disks.
> >>Mon Aug 13 14:17:39 2012  - INFO: Instance webmanager's disks are in sync.
> >>############
> >>
> >>If i start the VM i get the following Error :-(
> >>############
> >>root@node01# gnt-instance start -H
> >>boot_order=cdrom,cdrom_image_path=/root/ubuntu-12.04-server-amd64.iso
> >>webmanager
> >>Waiting for job 1607 for webmanager ...
> >>Job 1607 for webmanager has failed: Failure: command execution error:
> >>Could not start instance: Error while executing backend function: 'pool'
> >>root@node01:/etc/ganeti/instance-debootstrap#
> >>############
> >>
> >>what is wrong? are their some more options i have to use in case of RBD?
> >>
> >I also received this error whilst trying to use RBD.
> >
> >It seemed to be down to 2 calls to the activate block devices rpc
> >method when trying to start the instance. The first call correctly
> >included the params {'pool': 'rbd'}, whereas the second call seemed to
> >give {} as it's params, so it's raising a KeyError when trying to
> >check what pool it should be mapping the image from.
> 
> Hmm,
> 
> This looks like disk-parameters not being correctly annotated during
> the rpc.
> 
> @rene: this sounds like the same problem (but in a different rpc)
> addressed in
>               commits 55de1d6, 4504bfc, b5cbddd
> 
> Unfortunately, I'm on vacation right now, so I won't be able to take
> a closer look
> (and provide a patch if needed), until next week :(

Thanks a lot for checking so fast, especially on vacation!

iustin

Reply via email to