Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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.