[rhel6-branch] Fix KeyError in devicetree. (#1225469)
David Lehman
dlehman at redhat.com
Tue Jun 2 14:10:40 UTC 2015
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?
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
>
More information about the anaconda-patches
mailing list