Bug 1166548

Summary: Failed to make livecd via "livecd-iso-to-disk" tools if the source iso include plugins
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: ecohen, fdeutsch, gklein, hadong, huiwa, iheim, leiwang, lsurette, rbarry, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-25 09:32:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1094719    

Description cshao 2014-11-21 08:56:42 UTC
Description of problem:
Failed to make livecd via "livecd-iso-to-disk" tools if the source iso 
include plugins(e.g. puppet, bnx2x ...)

#./livecd-iso-to-disk --format --reset-mbr 
/home/samba/RHEV-H/iso/7.0/rhev-hypervisor7-7.0-20141006.kmod-bnx2x.0.iso /dev/sdb
......
......
cp: omitting directory `/media/srctmp.k6bpOc/isolinux/update1'
Cleaning up to exit...

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm
ovirt-node-plugin-puppet-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm

How reproducible:
100%


Steps to Reproduce:
1. #mount -o loop rhev-hypervisor7-7.0-20141006.kmod-bnx2x.0.iso /mnt
2. #cd /mnt/LiveOS/
3. run  #./livecd-iso-to-disk --format --reset-mbr 
rhev-hypervisor7-7.0-20141006.kmod-bnx2x.0.iso /dev/sd*

Actual results:
1. Failed to make livecd via "livecd-iso-to-disk" tools if the source 
iso include plugins
2. Failed to boot form the livecd.

Expected results:
1. Make livecd via "livecd-iso-to-disk" tools can succeed even if the 
source iso include plugins

Additional info:
No such issue via dd.

Comment 1 Fabian Deutsch 2014-11-21 09:07:13 UTC
Seems as if the livecd tool has a problem with subdirectories.

I see two ways to solve this:

a) Don't use the subdirectory for plugin metadata
b) Fix the livecd tool to also handle subdirectories (probably easier)

Comment 3 Fabian Deutsch 2015-06-25 09:32:22 UTC
Please reopen if you think it's necessary to fix this.