Bug 688514

Summary: anaconda fails to get disc uuid
Product: [Fedora] Fedora Reporter: G.Wolfe Woodbury <redwolfe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: anaconda-maint-list, bigslowfat, jlaska, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-17 11:59:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Error #1
none
Error #2 none

Description G.Wolfe Woodbury 2011-03-17 09:39:10 UTC
Description of problem:
Anaconda fails to get the uuid of discs


Version-Release number of selected component (if applicable):
15.22-1.fc15?

How reproducible:
always


Steps to Reproduce:
1.
2.
3.
  
Actual results:
anaconda throws an exception mentioning blkid/uuid when examining discs.


Expected results:


Additional info:
inside vbox 4.0.4 vm if that matters

Comment 1 bsfmig 2011-03-17 10:12:12 UTC
OK. I also experienced the very same result.
Meanwhile, the grub menu got Chinese characters involved in that will NOT be displaying normally.

Following are some log files' contents and several screenshots to make things clear.

1.preupgrade commandline output (note with Chinese chars):
-------------------------------BEGIN-------------------------------
[root@localhost ~]# preupgrade
已加载插件:blacklist, langpacks, whiteout
没有匹配 rpm-warm-cache 的插件
没有匹配 remove-with-leaves 的插件
没有匹配 auto-update-debuginfo 的插件
Adding zh_CN to language list
侦测到正在执行升级到 Fedora 15 (Lovelock)
preupgrade-main (mirrorlist) 
  url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-15&arch=$basearch
  now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-15&arch=x86_64
preupgrade (mirrorlist) 
  url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/development/15/$basearch/os/
  now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/development/15/x86_64/os/
preupgrade-rpmfusion-free-rawhide (mirrorlist) 
  url: http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-rawhide&arch=x86_64
  now: http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-rawhide&arch=x86_64
未知元数据被下载:repomdTtUEsTtmp.xml
preupgrade-rpmfusion-nonfree-rawhide (mirrorlist) 
  url: http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-rawhide&arch=x86_64
  now: http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-rawhide&arch=x86_64
未知元数据被下载:repomdCJNNbutmp.xml
未知元数据被下载:MEMORY
从 http://mirrors.163.com/fedora/development/15/x86_64/os//.treeinfo 获取消息树
消息树时间戳:Wed Mar 16 08:12:33 2011
/boot/upgrade/vmlinuz 校验正常
/boot/upgrade/initrd.img 校验正常
正在下载 0.0bytes
升级需要 500.0MB
/usr 可用磁盘空间:5.2GB
内核需要 26.0MB
/boot 可用磁盘空间:289.9MB
正在为 preupgrade repo 生成元数据
DEBUG /sbin/grubby --title="升级到 Fedora 15 (Lovelock)" --remove-kernel="/boot/upgrade/vmlinuz" --add-kernel="/boot/upgrade/vmlinuz" --initrd="/boot/upgrade/initrd.img" --args="preupgrade repo=hd::/var/cache/yum/preupgrade  ks=hd:UUID=40018ae4-af9d-4c2a-b784-cb9b6420c968:/upgrade/ks.cfg"
------------------------------END------------------------------------
2.ks.cfg it generated
------------------------------BEGIN----------------------------------
# ks.cfg generated by preupgrade
lang zh_CN.UTF-8
keyboard us
bootloader --upgrade --location=none
clearpart --none
upgrade --root-device=UUID=a958d32f-abc5-445a-aba2-c51b748f5e72
reboot


%post
grubby --remove-kernel=/boot/upgrade/vmlinuz
rm -rf /boot/upgrade /var/cache/yum/preupgrade*
%end
-----------------------------END-------------------------------------
3./etc/fstab:
------------------------------BEGIN----------------------------------
#
# /etc/fstab
# Created by anaconda on Thu Mar 17 01:29:38 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/VolGroup-lv_root /                       ext4    defaults        1 1
UUID=40018ae4-af9d-4c2a-b784-cb9b6420c968 /boot                   ext4    defaults        1 2
/dev/mapper/VolGroup-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
---------------------------------END---------------------------------
4.grub.cfg:
----------------------------BEGIN------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title 升级到 Fedora 15 (Lovelock)      //Chinese chars should NOT be present here!
	kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=40018ae4-af9d-4c2a-b784-cb9b6420c968:/upgrade/ks.cfg
	initrd /upgrade/initrd.img
title Fedora (2.6.35.11-83.fc14.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us rhgb quiet vga=789
	initrd /initramfs-2.6.35.11-83.fc14.x86_64.img
------------------------------------END------------------------------

Comment 2 bsfmig 2011-03-17 10:13:08 UTC
Created attachment 485976 [details]
Error #1

Comment 3 bsfmig 2011-03-17 10:13:52 UTC
Created attachment 485977 [details]
Error #2

Note I used vga=789 here.

Comment 4 James Laska 2011-03-17 11:59:49 UTC
Based on attachment#485977 [details], this is a duplicate of bug#684742

*** This bug has been marked as a duplicate of bug 684742 ***