Project

General

Profile

Actions

Bug #10614

closed

Kickstart template on rhel5 includes --device=MAC

Added by Justin Sherrill almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1206615
Description of problem:

The Satellite Kickstart Default provisioning template will render the following:

network --bootproto dhcp --device=52:54:00:35:17:60 --hostname moe-59-64.lexample.com

However rhel5 does not seem to support specifying the mac address with --device, only rhle6 and newer. This causes rhel5 provisioning to fail with an error "The Following network interface <MAC> does not exist"

Version-Release number of selected component (if applicable):
katello-2.2.0.8-1.el7sat.noarch
katello-ca-consumer-ibm-x3250m4-06.lab.eng.rdu2.redhat.com-1.0-1.noarch
katello-certs-tools-2.2.1-1.el7sat.noarch
katello-common-2.2.0.8-1.el7sat.noarch
katello-debug-2.2.0.8-1.el7sat.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.3.5-1.el7sat.noarch
katello-installer-base-2.3.5-1.el7sat.noarch
katello-server-ca-1.0-1.noarch

The relevant line form the snippet:

network --bootproto <%= dhcp ? 'dhcp' : "static --ip=#{@host.ip} --netmask=#{subnet.mask} --gateway=#{subnet.gateway} --nameserver=#{[subnet.dns_primary, subnet.dns_secondary].select(&:present?).join(',')}" > --device=<= @host.mac -> --hostname <= @host %>

How reproducible:
Always

Steps to Reproduce:
1. Attempt to provision a rhel5 machine

Actual results:
Fails with error "The Following network interface <MAC> does not exist"

Expected results:
Successful provision

Additional info:

The foreman kickstart default for rhel does not seem to have the same networking line (and does not include a --device reference), but I'm not sure the history behind this.

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5248 added
  • Pull request deleted ()
Actions #2

Updated by Justin Sherrill almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF