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 1172700 - discovery images that are provided by foreman-plugin-discovery are bad
Summary: discovery images that are provided by foreman-plugin-discovery are bad
Keywords:
Status: CLOSED DUPLICATE of bug 1145964
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Plugin
Version: 6.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 15:14 UTC by sefi litmanovich
Modified: 2017-02-23 20:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-10 15:53:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sefi litmanovich 2014-12-10 15:14:07 UTC
Description of problem:

the images provided by 
katello-installer --foreman-plugin-discovery-install-images=true

are corrupted 

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

sat 6.0.6
foreman-discovery 1.3.0

How reproducible:


Steps to Reproduce:
1. install satellite with subscription manager following this:
https://access.redhat.com/products/red-hat-satellite/get-started
2. install katello with the host serving as dhcp and dns server in a closed network of hosts set prior to installation.

katello-installer --capsule-dns true --capsule-dns-forwarders "{host_ip}" --capsule-dns-interface {host_interface} --capsule-dns-zone something.com --capsule-dhcp true --capsule-dhcp-gateway {host_ip} --capsule-dhcp-interface {host_interface} --capsule-dhcp-nameservers {host_ip} --capsule-dhcp-range "192.168.105.10 192.168.105.100" --capsule-tftp true --capsule-tftp-servername {host_ip}

3. install foreman-plugin-discovery to get disovery images:

katello-installer --foreman-plugin-discovery-install-images=true

4. set /var/lib/tftpboot/pxelinux.cfg/default:

DEFAULT menu
PROMPT 0
MENU TITLE PXE Menu
TIMEOUT 50
TOTALTIMEOUT 6000
ONTIMEOUT discovery
 
LABEL local
     MENU LABEL (local)
     MENU DEFAULT
     LOCALBOOT 0
 
LABEL discovery
  MENU LABEL Foreman Discovery
  MENU DEFAULT
  KERNEL boot/foreman-discovery-image-latest.el6.iso-vmlinuz
  APPEND rootflags=loop initrd=boot/foreman-discovery-image-latest.el6.iso-img  root=live:/foreman.iso rootfstype=auto ro rd.live.image rd.live.check rd.lvm=0 rootflags=ro crashkernel=128M elevator=deadline max_loop=256 rd.luks=0 rd.md=0 rd.dm=0 nomodeset selinux=0 stateless foreman.url=https://{foreman_url} rootpw={foreman_root_pw}.
  IPAPPEND 2

5. start a host (or vm for testing) which is connected only to inner network with foreman host, start from pxe and choose foreman-discovery.

Actual results:

get an error: "invalid or corrupt kernel image".

Expected results:

host discovery is complete and host is available for provisioning on satellite. 

Additional info:

After replacing both images with images from a different working setup of satellite, discovery worked.

Comment 1 RHEL Program Management 2014-12-10 15:24:11 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-12-10 15:53:05 UTC
This option isn't supported in Satellite 6, instead I think there's a "foreman-discovery-image" RPM that's shipped.

*** This bug has been marked as a duplicate of bug 1145964 ***


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