Bug 1168223

Summary: koji spin-livecd cannot build a working live CD
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: kojiAssignee: Dennis Gilmore <dennis>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dennis, mikem
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-21 14:07:19 UTC Type: Bug
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 Flags
p2v.ks none

Description Richard W.M. Jones 2014-11-26 12:58:03 UTC
Created attachment 961654 [details]
p2v.ks

Description of problem:

$ koji spin-livecd --scratch virt-p2v 1.29.10 rawhide x86_64 p2v.ks
with the attached p2v.ks file

The scratch build worked:

http://koji.fedoraproject.org/koji/taskinfo?taskID=8236086

but the live CD does not work.  It doesn't get past the
initial boot menu.

Version-Release number of selected component (if applicable):

How to find out?

How reproducible:

100%

Steps to Reproduce:
1. Run the command above.
2. Download and boot the live CD:
   qemu-kvm -hda rhel-6.5.img -cdrom virt-p2v-1.29.10-1.iso -boot d -serial stdio

Actual results:

It boots to the initial menu, but selecting the option just
brings you back to the same menu.

Expected results:

The live CD boots.

Additional info:

This works fine for me when I run livecd-creator in Rawhide, so
I'm guessing whatever version of livecd-creator is used by
Koji is broken.  How to find out what version?

Comment 1 Richard W.M. Jones 2014-11-26 12:58:34 UTC
Sorry, the qemu command should be:

   qemu-kvm -cdrom virt-p2v-1.29.10-1.iso -boot d -serial stdio

Comment 2 Jaroslav Reznik 2015-03-03 16:32:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Dennis Gilmore 2015-10-21 14:07:19 UTC
sorry for the delay.

There is an issue with your kickstart. not with the tools or koji.

I was able to reproduce your issue, when examining the livecd the issue is obvious

[root@ra dennis]# ls /mnt/isolinux/
boot.cat  isolinux.bin  isolinux.cfg  ldlinux.c32  libcom32.c32  libutil.c32  version  vesamenu.c32  vmlinuz0
[root@ra dennis]# cat  /mnt/isolinux/isolinux.cfg 
say Virt P2V 1.29.10
menu title virt-p2v 1.29.10

default vesamenu.c32
timeout 60
menu background 
menu autoboot Starting Virt P2V in # second{,s}. Press any key to interrupt.

menu clear
menu vshift 8
menu rows 18
menu margin 8
#menu hidden
menu helpmsgrow 15
menu tabmsgrow 13

menu color border * #00000000 #00000000 none
menu color sel 0 #ffffffff #00000000 none
menu color title 0 #ff7ba3d0 #00000000 none
menu color tabmsg 0 #ff3a6496 #00000000 none
menu color unsel 0 #84b8ffff #00000000 none
menu color hotsel 0 #84b8ffff #00000000 none
menu color hotkey 0 #ffffffff #00000000 none
menu color help 0 #ffffffff #00000000 none
menu color scrollbar 0 #ffffffff #ff355594 none
menu color timeout 0 #ffffffff #00000000 none
menu color timeout_msg 0 #ffffffff #00000000 none
menu color cmdmark 0 #84b8ffff #00000000 none
menu color cmdline 0 #ffffffff #00000000 none

menu tabmsg Press Tab for full configuration options on menu items.
menu separator
menu separator
label linux0
  menu label ^Start Virt P2V
  kernel vmlinuz0
  append initrd=initrd0.img root=CDLABEL=virt-p2v-1.29.10-1 rootfstype=auto ro rd.live.image quiet console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH 
  menu default
menu separator
menu begin ^Troubleshooting
  menu title Troubleshooting
label basic0
  menu label Start Virt P2V in ^basic graphics mode.
  kernel vmlinuz0
  append initrd=initrd0.img root=CDLABEL=virt-p2v-1.29.10-1 rootfstype=auto ro rd.live.image quiet console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH nomodeset
  text help
      Try this option out if you're having trouble starting.
  endtext
menu separator
label local
  menu label Boot from ^local drive
  localboot 0xffff
menu separator
label returntomain
  menu label Return to ^main menu.
  menu exit
menu end



the config points at an initrd but the filesystem does not have an initrd. so booting fails.