[rhel6-branch] Fix KeyError in devicetree. (#1225469)

David Lehman dlehman at redhat.com
Tue Jun 2 20:44:22 UTC 2015


On 06/02/2015 10:27 AM, Samantha N. Bueno wrote:
> On Tue, Jun 02, 2015 at 09:10:40AM -0500, David Lehman wrote:
>> On 06/02/2015 08:50 AM, Samantha N. Bueno wrote:
>>> This occurred during default installation with a previous thinp
>>> install.
>>
>> Does the install work well with this patch or are we taking it
>> one step at a time?
>
> Installation works fine with it; I had someone from RTT test an
> updates.img with this applied.
>
> Samantha

Okay, then. ACK.

>
>> David
>>
>>>
>>> Resolves: rhbz#1225469
>>> ---
>>>   storage/devicetree.py | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/storage/devicetree.py b/storage/devicetree.py
>>> index d0a2509..8d1ed5f 100644
>>> --- a/storage/devicetree.py
>>> +++ b/storage/devicetree.py
>>> @@ -1634,7 +1634,7 @@ class DeviceTree(object):
>>>                   lv_name = re.sub(r'_[tr]meta.*', '', lv_name[1:-1])
>>>                   name = "%s-%s" % (vg_name, lv_name)
>>>                   addRequiredLV(name, "failed to look up raid lv")
>>> -                raid[name]["meta"] += lv_size
>>> +                raid[lv_name]["meta"] += lv_size
>>>                   return
>>>               elif lv_attr[0] == 'l':
>>>                   # log volume
>>>
>>
>> _______________________________________________
>> anaconda-patches mailing list
>> anaconda-patches at lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
>



More information about the anaconda-patches mailing list