Bug 1533854

Summary: Update building foreman discovery image chapter
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: DocumentationAssignee: Melanie Corr <mcorr>
Status: CLOSED CURRENTRELEASE QA Contact: Sergei Petrosian <spetrosi>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: adahms, mcorr
Target Milestone: UnspecifiedKeywords: Reopened
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-01 14:12:57 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:
Bug Depends On: 1569901, 1624027    
Bug Blocks:    

Description Lukas Zapletal 2018-01-12 11:47:16 UTC
I am sure we have a section about how to build FDI image from sources. It basically links https://github.com/theforeman/foreman-discovery-image repository asking users to read README and follow that.

Now things changed in Satellite 6.3, we ship source kickstart so users can easily build the FDI from scratch. I recorded a short video describing the process, please turn it into some chapter or appendix:

https://www.youtube.com/watch?v=QPQZThbMCbY

Here are some commands used:

yum install livecd-tools

yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/livecd-tools-21.4-2.el7.x86_64.rpm http://mirror.centos.org/centos/7/extras/x86_64/Packages/hfsplus-tools-540.1.linux3-4.el7.x86_64.rpm http://mirror.centos.org/centos/7/extras/x86_64/Packages/python-imgcreate-21.4-2.el7.x86_64.rpm

livecd-creator -v --title="Discovery Image" --compression-type=xz --cache /var/cache/build-fdi --config /usr/share/foreman-discovery-image/foreman-discovery-image.ks -f fdi -t /var/tmp

repo --name=rhel --baseurl=...

Comment 1 Melanie Corr 2018-04-10 13:22:51 UTC
Hi Lukas

We can only document things that you can do on a RHEL server or workstation using packages from the standard repos. 

From the video, it seems that you can only perform this procedure by either using a Fedora or CentOS workstation, or by using unsupported packages in RHEL. 

Please let us know if there is a way to do this in a Red Hat supported way.

As you said in the video there is no supported way to do this on RHEL, I will close as CANTFIX for now.

Please feel free to reopen if and when there is a Red Hat supported way.

Comment 3 Lukas Zapletal 2018-04-20 08:44:25 UTC
We will put livecd-tools package back into repos, ignore the centos mention in the video and please do the documentation change, I expect this to land in 6.3.4.

https://bugzilla.redhat.com/show_bug.cgi?id=1569901

Note: Some Satellite versions (6.3.0 - 6.3.4) will not automatically pull the livecd-tools, ask the user to yum install it if they are missing livecd-creator command.

Thanks!

Comment 4 Melanie Corr 2018-04-20 08:59:40 UTC
Thank you, Lzap. 

Will start on this today.

Comment 10 Andrew Dahms 2018-10-17 01:10:14 UTC
Updated release flags.