Message from discussion
No LVM No DRBD recipe?
Received: by 10.14.47.80 with SMTP id s56mr6506459eeb.5.1341396433852;
Wed, 04 Jul 2012 03:07:13 -0700 (PDT)
X-BeenThere: ganeti@googlegroups.com
Received: by 10.14.97.130 with SMTP id t2ls1548941eef.5.gmail; Wed, 04 Jul
2012 03:07:12 -0700 (PDT)
Received: by 10.14.98.134 with SMTP id v6mr6521119eef.2.1341396432410;
Wed, 04 Jul 2012 03:07:12 -0700 (PDT)
Received: by 10.14.98.134 with SMTP id v6mr6521118eef.2.1341396432394;
Wed, 04 Jul 2012 03:07:12 -0700 (PDT)
Return-Path: <ius...@google.com>
Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41])
by gmr-mx.google.com with ESMTPS id b15si12444683een.0.2012.07.04.03.07.12
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 04 Jul 2012 03:07:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of ius...@google.com designates 74.125.83.41 as permitted sender) client-ip=74.125.83.41;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ius...@google.com designates 74.125.83.41 as permitted sender) smtp.mail=ius...@google.com; dkim=pass header...@google.com
Received: by eekb47 with SMTP id b47so3062862eek.0
for <ganeti@googlegroups.com>; Wed, 04 Jul 2012 03:07:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=date:from:to:subject:message-id:references:mime-version
:content-type:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=++gv0x0P2/Sut5xlYOiRJtAxMLg/fQE40ohsrVkl/Wg=;
b=VpVUEId6byfmKE/beqL31I9cQcSxK2VptXyujA/5ur2i+RqVOTBDCTV4z6JPQPh2Js
0jTOarwe78j52YoCZZQp0yQ+5Iht19rh3tfcjJe0J/Gz0rmR3DBzyqmSoX9k1cOuoCpX
FplsB299A8KYZTkeKDf6anTFdCJdQJNARRgRzYKrVeN3gRo1JmAJV15RyLbTECEMLxVM
RN8uAQElSVxktjUQC5VlilwkHWs7sWqwXoBIC6dpNwPAz8GAqP1nYNDcvuQKREcLBBQY
nkiF0WttBHNFQRrxWmaFb7dtu8LZPVvore6Km6FGxpTV52A6utNBDQZqpDBbOs/9THVj
0m9g==
d=google.com; s=20120113;
h=date:from:to:subject:message-id:references:mime-version
:content-type:content-disposition:content-transfer-encoding
:in-reply-to:user-agent:x-gm-message-state;
bh=++gv0x0P2/Sut5xlYOiRJtAxMLg/fQE40ohsrVkl/Wg=;
b=WNsbb+Mc+HzsG3QhEycCUyeec525qggCWKTjLROkZhbfnu/cK4bpXF4MctNQVWcdL+
YUmwxeHJxSHgW83I3FAaFOr4WzT7bsE1nVHDVgMPKrTrcxlTEYT3xUiaET+XnRhECoU5
cWfGfSU8lI0SLKB7YfU4QlU8XaataOcoMOYTlR3+pvP2va/ZXcJWFQknXF0C1DUFPUam
t15jA9pzyt5dvwkJhbb0zRGHcvHu2DQ5s6aeJEQicRca3dD8HSPTgY/SKBqEglJRMTgx
YWIzMiWtfhJUmSo9U/j6tZEybyMu+5YeXXj+v81/cjfSQRkef3YAKBlwye6Cj749mKYa
2D6g==
Received: by 10.14.98.77 with SMTP id u53mr5236925eef.185.1341396432210;
Wed, 04 Jul 2012 03:07:12 -0700 (PDT)
Received: by 10.14.98.77 with SMTP id u53mr5236914eef.185.1341396431914;
Wed, 04 Jul 2012 03:07:11 -0700 (PDT)
Return-Path: <ius...@google.com>
Received: from google.com ([2620:0:105f:5:226:b9ff:fe84:a92e])
by mx.google.com with ESMTPS id t3sm52470836eeb.15.2012.07.04.03.07.09
(version=SSLv3 cipher=OTHER);
Wed, 04 Jul 2012 03:07:10 -0700 (PDT)
Date: Wed, 4 Jul 2012 12:07:08 +0200
From: Iustin Pop <ius...@google.com>
To: ganeti@googlegroups.com
Subject: Re: No LVM No DRBD recipe?
Message-ID: <20120704100701.GB28...@google.com>
References: <60593d15-3027-44ec-ae13-68b08b96d78e@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <60593d15-3027-44ec-ae13-68b08b96d78e@googlegroups.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Gm-Message-State: ALoCoQmiky5dkFQbNf2v6qTuxHbO1jBKYEsRkw7qI2qo7EU15OIAc2phsMyyVwzC5/k1CerS/hqCa4HKlSsFozuXmQBGs7KMBRMewf7wzkoB20Ps7sGO+AP4jPcBIp9ZZTm3QNc35Mxv5ooGnicq5oIuX9ky4AQwW4qDqas+N6YvmseIAUpvJwoPl7EIooZpCJOhFsGe+gIPLGiwqrcwcya7b5/ejQCAFQ==
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