Re: No LVM No DRBD recipe?

75 views
Skip to first unread message

Iustin Pop

unread,
Jul 4, 2012, 6:07:08 AM7/4/12
to gan...@googlegroups.com
On Tue, Jul 03, 2012 at 02:34:08PM -0700, Lou wrote:
> I had a cluster working a while back with sharedfile instances and no lvm
> or drbd. Now, however, I cannot reproduce those results. Here is my
> cluster info:

[…]

> However, whenever I try to create an instance:
>
> gnt-instance add -t sharedfile -s 10G -o debootstrap+default testvm
>
> I get this:
>
> Node 'testnode.lan' returned invalid value for 'vg_size': None
>
> Why would it be trying to gather lvm info when it has no lvm disks, and how
> can I fix it?

The root problem is caused by the fact that we don't have a
multi-storage model in Ganeti; i.e., the IAllocator interface only
supports one disk_free/disk_total set of properties, but not multiple.
As such, we don't support mixed or even "just" file-based storage. This
is a longer-term cleanup, etc.

However, your problem is more directly caused by the fact that you don't
pass a node (-n) and thus ask the IAllocator to compute one for you
(which it won't due to the above problem). By passing a node explicitly
it should work without problems.

regards,
iustin
Reply all
Reply to author
Forward
0 new messages