Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1624027 - Re-add livecd-tools back to satellite repos
Re-add livecd-tools back to satellite repos
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Packaging (Show other bugs)
6.3.1
Unspecified Unspecified
unspecified Severity medium (vote)
: 6.3.4
: Unused
Assigned To: satellite6-bugs
Roman Plevka
: Regression, Triaged
Depends On:
Blocks: 1533854
  Show dependency treegraph
 
Reported: 2018-08-30 12:56 EDT by Mike McCune
Modified: 2018-10-11 11:18 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously building foreman-discovery-image required downloading some extra packages from 3rd party repos (e.g. livecd-creator). This is now shipped in 6.4 repositories. Please update Extending discovery image chapter with building instructions: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/host_configuration_guide/sect-red_hat_satellite-host_configuration_guide-discovering_bare_metal_hosts_on_satellite-extending_the_discovery_image Instructions are in a comment in this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1624027#c8
Story Points: ---
Clone Of: 1569901
Environment:
Last Closed: 2018-10-11 11:18:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2915 None None None 2018-10-11 11:18 EDT

  None (edit)
Comment 4 Patrick Creech 2018-09-06 16:19:15 EDT
Lukas,

What is needed for this?
Comment 5 Lukas Zapletal 2018-09-07 06:05:02 EDT
Start shipping livecd-tools package in Satellite 6 repository (and Capsule as well).
Comment 8 Roman Plevka 2018-09-17 17:48:17 EDT
VERIFIED
on sat6.3.4-1

- the package is available and able to install with satellite repo.
- i was able to build the build on the host successfully:


[root@lenovo-rd230-01 foreman-discovery-image]# yum list livecd-tools
Available Packages
livecd-tools.x86_64               1:20.4-1.6.el7sat               Sat6-CI_Red_Hat_Satellite_6_3_Composes_Satellite_6_3_RHEL7
[root@lenovo-rd230-01 foreman-discovery-image]# cd

[root@lenovo-rd230-01 ~]# git clone https://github.com/theforeman/foreman-discovery-image
Cloning into 'foreman-discovery-image'...
remote: Counting objects: 1141, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 1141 (delta 9), reused 19 (delta 7), pack-reused 1112
Receiving objects: 100% (1141/1141), 221.87 KiB | 0 bytes/s, done.
Resolving deltas: 100% (466/466), done.
[root@lenovo-rd230-01 ~]# cd foreman-discovery-image/
[root@lenovo-rd230-01 foreman-discovery-image]# ls
00-repos-centos7.ks  20-packages.ks   aux                clean-cache      fdi-centos7.ks   LICENSE
00-repos-f21.ks      22-discovery.ks  build-livecd       example_zip      fdi-empty.ks     README.md
10-header.ks         25-minimize.ks   build-livecd-root  extract-strings  fdi-fedora21.ks  root
[root@lenovo-rd230-01 foreman-discovery-image]# yum -y install livecd-tools pykickstart isomd5sum syslinux \
>   grub2-efi shim grub2-efi-x64 grub2-efi-x64-cdboot shim-x64

Package syslinux-4.05-13.el7.x86_64 already installed and latest version
Package 1:grub2-efi-2.02-0.44.el7.x86_64 is obsoleted by 1:grub2-efi-x64-2.02-0.65.el7_4.2.x86_64 which is already installed
Package shim-0.9-2.el7.x86_64 is obsoleted by shim-x64-12-1.el7.x86_64 which is already installed
Package 1:grub2-efi-x64-2.02-0.65.el7_4.2.x86_64 already installed and latest version
Package shim-x64-12-1.el7.x86_64 already installed and latest version

============================================================================================================================
 Package                  Arch   Version                   Repository                                                  Size
============================================================================================================================
Installing:
 grub2-efi-x64-cdboot     x86_64 1:2.02-0.65.el7_4.2       rhel-7-server-optional-rpms                                1.1 M
 isomd5sum                x86_64 1:1.0.10-5.el7            rhel-7-server-rpms                                          27 k
 livecd-tools             x86_64 1:20.4-1.6.el7sat         Sat6-CI_Red_Hat_Satellite_6_3_Composes_Satellite_6_3_RHEL7  80 k
 pykickstart              noarch 1.99.66.18-1.el7          rhel-7-server-rpms                                         359 k
Installing for dependencies:
 dosfstools               x86_64 3.0.20-9.el7              rhel-7-server-rpms                                         101 k
 dumpet                   x86_64 2.1-8.el7                 rhel-7-server-rpms                                          22 k
 hfsplus-tools            x86_64 332.14-12.el7             Sat6-CI_Red_Hat_Satellite_6_3_Composes_Satellite_6_3_RHEL7 118 k
 lorax                    x86_64 19.6.104-1.el7            rhel-7-server-rpms                                         175 k
 plymouth-graphics-libs   x86_64 0.8.9-0.31.20140113.el7   rhel-7-server-rpms                                          47 k
 plymouth-plugin-label    x86_64 0.8.9-0.31.20140113.el7   rhel-7-server-rpms                                          37 k
 plymouth-plugin-two-step x86_64 0.8.9-0.31.20140113.el7   rhel-7-server-rpms                                          45 k
 pyparted                 x86_64 1:3.9-15.el7              rhel-7-server-rpms                                         195 k
 python-beaker            noarch 1.5.4-10.el7              rhel-7-server-rpms                                          80 k
 python-imgcreate         x86_64 1:20.4-1.6.el7sat         Sat6-CI_Red_Hat_Satellite_6_3_Composes_Satellite_6_3_RHEL7 102 k
 python-mako              noarch 0.8.1-2.el7               rhel-7-server-rpms                                         307 k
 python-paste             noarch 1.7.5.1-9.20111221hg1498.el7
                                                           rhel-7-server-rpms                                         866 k
 python-tempita           noarch 0.5.1-6.el7               rhel-7-server-rpms                                          33 k
 redhat-upgrade-dracut    x86_64 0.8.10-1.el7              rhel-7-server-rpms                                          32 k
 redhat-upgrade-dracut-plymouth
                          noarch 0.8.10-1.el7              rhel-7-server-rpms                                         201 k
 squashfs-tools           x86_64 4.3-0.21.gitaae0aff4.el7  rhel-7-server-rpms                                         101 k
 syslinux-extlinux        x86_64 4.05-13.el7               rhel-7-server-rpms                                         363 k
 system-config-keyboard   noarch 1.4.0-4.el7               rhel-7-server-rpms                                          33 k
 system-config-keyboard-base
                          noarch 1.4.0-4.el7               rhel-7-server-rpms                                         103 k

Transaction Summary
============================================================================================================================
Install  4 Packages (+19 Dependent packages)

Total download size: 4.4 M
Installed size: 15 M

Installed:
  grub2-efi-x64-cdboot.x86_64 1:2.02-0.65.el7_4.2  isomd5sum.x86_64 1:1.0.10-5.el7  livecd-tools.x86_64 1:20.4-1.6.el7sat 
  pykickstart.noarch 0:1.99.66.18-1.el7           

Dependency Installed:
  dosfstools.x86_64 0:3.0.20-9.el7                               dumpet.x86_64 0:2.1-8.el7                                  
  hfsplus-tools.x86_64 0:332.14-12.el7                           lorax.x86_64 0:19.6.104-1.el7                              
  plymouth-graphics-libs.x86_64 0:0.8.9-0.31.20140113.el7        plymouth-plugin-label.x86_64 0:0.8.9-0.31.20140113.el7     
  plymouth-plugin-two-step.x86_64 0:0.8.9-0.31.20140113.el7      pyparted.x86_64 1:3.9-15.el7                               
  python-beaker.noarch 0:1.5.4-10.el7                            python-imgcreate.x86_64 1:20.4-1.6.el7sat                  
  python-mako.noarch 0:0.8.1-2.el7                               python-paste.noarch 0:1.7.5.1-9.20111221hg1498.el7         
  python-tempita.noarch 0:0.5.1-6.el7                            redhat-upgrade-dracut.x86_64 0:0.8.10-1.el7                
  redhat-upgrade-dracut-plymouth.noarch 0:0.8.10-1.el7           squashfs-tools.x86_64 0:4.3-0.21.gitaae0aff4.el7           
  syslinux-extlinux.x86_64 0:4.05-13.el7                         system-config-keyboard.noarch 0:1.4.0-4.el7                
  system-config-keyboard-base.noarch 0:1.4.0-4.el7              



[root@lenovo-rd230-01 foreman-discovery-image]# ./build-livecd fdi-centos7.ks
Now run as root ./build-livecd-root or submit fdi-image.ks into koji
[root@lenovo-rd230-01 foreman-discovery-image]# ./build-livecd-root 
++ id -u
+ '[' 0 '!=' 0 ']'
+ which livecd-creator isohybrid implantisomd5
+ trap cleanup EXIT
+++ dirname ./build-livecd-root
++ readlink -f .
+ srcdir=/root/foreman-discovery-image
+ destdir=/root/foreman-discovery-image
++ mktemp -d /tmp/build-fdi-XXXXXX
+ tmpdir=/tmp/build-fdi-pZBtCZ
+ cd /root/foreman-discovery-image
++ git describe --abbrev=0 --tags
+ last_tag=3.5.2
++ git log --pretty=format:%h -n 1
+ last_sha=f3a35b4
+ cd /tmp/build-fdi-pZBtCZ
+ echo Working in directory /tmp/build-fdi-pZBtCZ
Working in directory /tmp/build-fdi-pZBtCZ
+ echo '* Running livecd-creator'
* Running livecd-creator
+ livecd-creator -v '--title=Discovery Image' --compression-type=xz --cache /var/cache/build-fdi --config /root/foreman-discovery-image/fdi-image.ks -f fdi -t /tmp
Using title 'Discovery Image' and product 'Fdi'
...
...
...
* Done
+ echo 'The image was built:'
The image was built:
+ du -h /root/foreman-discovery-image/fdi-image-3.5.2.tar
209M	/root/foreman-discovery-image/fdi-image-3.5.2.tar
+ exit 0
+ cleanup
+ '[' -n '' ']'
+ '[' -d /tmp/build-fdi-pZBtCZ ']'
+ rm -rf /tmp/build-fdi-pZBtCZ


[root@lenovo-rd230-01 foreman-discovery-image]# ll -lh fdi-image*tar
-rw-r--r--. 1 root root 209M Sep 17 17:46 fdi-image-3.5.2.tar
Comment 10 errata-xmlrpc 2018-10-11 11:18:07 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2915

Note You need to log in before you can comment on or make changes to this bug.