[blivet][master,rhel7] do not try to install over broken storage

Chris Lumens clumens at redhat.com
Fri Jan 9 22:05:31 UTC 2015


> The basic reason we have issues trying to clear devices from disks with
> partially-corrupt gpt disklabels is that we rely on pyparted to manage
> partitions and disklabels and it currently does not allow us to proceed
> with partially corrupt disklabels. I know clumens started looking into
> making pyparted capable of letting us proceed in the face of a partially
> corrupt gpt disklabel. If that gets done soon enough it would be relevant
> here, especially if we decide the lvm part of these patches isn't suitable
> for rhel7-branch.

So, I've been looking at this a bit today and I think I've talked myself
around in circles.  As I see it, I'm supposed to be making up a patch
for pyparted that serves two purposes at the same time:

(1) We do not want interactivity during disk discovery, but
(2) We want people to be able to decide whether to proceed with a given
disk or not.

I'm having trouble reconciling these two seemingly at-odds requirements.

I'd have an easier time of this with some pointers to where in
blivet/anaconda we'd want to be able to make a decision about a given
disk and what kind of interaction we want from the user.  I've got a
couple ideas about what sorts of things I can do, I just need to know
which direction to go in.

- Chris


More information about the anaconda-patches mailing list