Bug 593602
Summary: | Unable to upgrade system on md raid (installer doesn't see the array) | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leszek Matok <lam> | ||||||||||||||
Component: | anaconda | Assignee: | Hans de Goede <hdegoede> | ||||||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||
Priority: | low | ||||||||||||||||
Version: | 13 | CC: | jonathan, vanmeeuwen+fedora | ||||||||||||||
Target Milestone: | --- | ||||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | All | ||||||||||||||||
OS: | Linux | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2010-05-26 07:19:41 UTC | Type: | --- | ||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Attachments: |
|
Description
Leszek Matok
2010-05-19 09:50:20 UTC
Can you please provide screenshots of what anaconda says when it "wants to format your drives" and preferably a lot more detailed description of what you are seeing. Please provide: -a step by step description of the steps successfully passed in the install process (so that we know where you was when you got the unexpected message about formatting your drives) -screenshots of the screen just before the error and the error -attach all logs found under /tmp (/tmp/*log) at the time of the failure you can get these from tty2 (ctrl + alt + f2) and use for example scp to get them out of the installer environment. Created attachment 415885 [details]
console number 3 (IIRC) showing what appears to be failed downloads
Let's start from the beginning. I don't get any error whatsoever, it's just that the installer insists on _installing_ and not _upgrading_.
(TL;DR version at the very bottom)
Some of my confusion came from the fact that "Firmware RAID" is translated to "Software RAID" in Polish translation. It was obvious for me that my md raid should just be there because it's a software array. So if there's no option to upgrade, and at the same time I don't see the device on which my root file system is, I just came to the conclusion that it can't detect my system to upgrade and starts installation.
But then I started taking pictures for you using the installer in English and noticed what it was originally. It's "Firmware RAID", which I get are the motherboard fake arrays, pretending to be physical devices. My software RAID shouldn't be there after all. Polish translation FTL.
Then there's this really weird idea of asking me of what physical devices I want to use in my installation. Every one of the disks is a part of the array. They could also be parts of an LVM VG. I imagine having no idea which is which if they're all same size (or do you know your HDDs serial numbers?). So how can I decide which drives to use and which to not use?
Why even ask me this question about HDDs, then ask me 5 other question, then ask me the same question again (asks me to tell it which physical devices contain data and which don't? Come on, all of them can have data, even if there's free space on them / even if I want to format one partition on them) and again (third time it actually allows me to mount existing file systems if I click appropriate buttons first). I mean, WTF? OK, that's better, I just HAD to vent.
So apart of whining, I'm actually discovering how the installer wants to work, even if I will never believe that it was designed this way. So I think at last I know what I would click if I were to install on a new computer (provided I know the serial numbers, that is). But still, there is no option to upgrade the system. As already mentioned, I have many pictures of different screens, but I don't think they are required just now (keep on reading)..
_____
TL;DR: I think it just runs wrong image. See attached picture. Looks like it tries to download updates.img, then product.img and lastly install.img, which succeeds.
So does that mean I'm just running a wrong build of the installer?
updates.img and product.img are optional files, and the failure to download them is pretty common. They're only needed to apply modifications to anaconda at runtime. As such, they have nothing to do with this bug. Error or no, the log files asked for in comment #1 are still going to be necessary to fix this bug. Leslez, Let me try to explain the new UI a bit, the first disk selection screen is what we call the filter UI, normally one would select all disks in the system here (note it only shows disks, nothing else, no lvm, mdraid, etc). This meant to be able to tell the installer to not look at a disk *at all*, this includes not taking it into account for BIOS drive order (for grub), etc. This is a feature mostly targeted at enterprise setups. For a normal installation even a somewhat advanced one. You should just select all disks at the first screen. Have you tried selecting all disks there, and does your raid set then still not get seen? Note that not getting the option to upgrade is not necessarily the same as your raid set not being seen. To verify the set is seen or not seen, proceed with the install and choose custom partitioning, then select all your disks again, now you end up in the storage editor, here you can see if we've recognized your raid sets or not. Note do not continue passed this point unless you want changes to be made to your disks. Regards, Hans Created attachment 416378 [details]
anaconda.log
Created attachment 416379 [details]
program.log
Created attachment 416380 [details]
storage.log
Created attachment 416388 [details]
It sees my RAID after all...
Like I've mentioned earlier, I was confused by the fact that there is a "Software RAID" tab in the Polish translation and for me, it was obvious that I should simply see my md there. But in English version it's "Firmware RAID".
I've attached a picture which shows that it actually DOES see my array and this bug's title is completely wrong (plus all my original assumptions).
This image is from a try I did in Polish, the logs above were from the try I did in English.
So again, I'm really, really sorry for all the confusion, but on the other hand, it's not my fault that it's less user-friendly and badly translated than anything I've ever seen (BTW I actually was an Anaconda translator some time ago, but got tired fighting with people who speak worse Polish than I do English, my bad...)
Please hold on for just one more image before you claim NOTABUG...
Created attachment 416396 [details]
No upgrade option for me?
I have some more nice screen shots, but this one is the main problem. There's no upgrade option.
As already mentioned, after selecting hard drives, it goes on to ask me for root password and host name. This already makes it a new installation and not an upgrade. Originally, I also took is as a proof that it really didn't discover my RAID.
But I've went through the screens and was greeted with the one on picture. It's English version again and there's no "upgrade existing system" anywhere.
This is also the session for which I've attached logs above.
So should there be an option to upgrade anywhere? Or maybe I need to create some custom layout with some special secret options and it will silently upgrade instead of installing over my system?
I've just realised that "AttachURL" option attaches a text file with an URL in it :) I was expecting to either download the file and host a copy, or simply have an URL clickable :) Can't I do anything right lately? :( After the first disk selection screen, you will get the choice between upgrade or install *if* an upgradable product is found, otherwise we move directly into installation. From the logs you've linked to: 17:42:33,667 INFO storage: product Fedora version 13 found on md127 is not upgradable So you already have F-13 on there (perhaps an older version but still F-13), so indeed no upgrade for you. To upgrade from F-13 pre-releases to final you can simply do "yum update" from the running system. When I first started this bug, I had Fedora 12. Then proceeded with yum update and I now have Fedora 13. So _now_ it correctly detects a system that can't be upgraded, but still fails to tell me about it and I have to look into some hidden logs using obscure unix commands to know it? I've started my (to be) Fedora experience with RHL 4.1 actually and let me tell you the installer was never this unfriendly and illogical. The original situation I can no longer reproduce myself [and I don't have any logs from the F12 upgrade tries :(], so I'm happy with your NOTABUG. Which doesn't change the fact that back then it was F13 installer that couldn't upgrade F12. Just clearing that out, for future reference maybe. |