Hi Klaus,
Hi Vangelis,

shouldn't "--reserved-lvs" be used for this?
because you can use different VGs like vg_main & vg_ssd

And if I see this right this patch would now ignore vg_ssd (assuming
vg_main is the vg set via --vg-name)
Or am I wrong?

Greetings
Neal

Am 21.08.2014 um 16:56 schrieb 'Klaus Aehlig' via ganeti-devel:
> Hello Vangelis,
>
> thanks for your report. As far as I can see, your
> analysis is correct. Can you please...
>
>> This one-line patch against stable-2.10 fixes the problem:
>> $ git diff
>> diff --git a/lib/backend.py b/lib/backend.py
>> index e638e1c..3c7469c 100644
>> --- a/lib/backend.py
>> +++ b/lib/backend.py
>> @@ -1055,7 +1055,7 @@ def VerifyNode(what, cluster_name, all_hvparams):
>>
>>    if constants.NV_LVLIST in what and vm_capable:
>>      try:
>> -      val = GetVolumeList(utils.ListVolumeGroups().keys())
>> +      val = GetVolumeList([what[constants.NV_LVLIST]])
>>      except RPCFail, err:
>>        val = str(err)
>>      result[constants.NV_LVLIST] = val
>
> ...send out that patch officially?
>
> Thanks,
> Klaus
>
>

Reply via email to