Project

General

Profile

Actions

Bug #12519

closed

dhcpd.conf file deleted during 'katello-installer --upgrade' when dhcp_managed = false

Added by Stephen Benjamin over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247397
Description of problem:
Even after setting dhcp_managed = false in /etc/katello-installer/answers.katello-installer.yaml the /etc/dhcpd/dhcpd.conf file was still deleted and restored during a katello-installer --upgrade run

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

How reproducible:
katello-installer --upgrade

Actual results:
/etc/dhcpd/dhcpd.conf is overwritten

Expected results:
/etc/dhcpd/dhcpd.conf left as-is

Additional info:
Here are the relevant sections in our answers file

  1. grep C3 managed /etc/katello-installer/answers.katello-installer.yaml
    dhcp_listen_on: https
    dhcp_option_domain:
    - <example.com>
    dhcp_managed: false
    dhcp_interface: eth0
    dhcp_gateway: "10.106.231.254"
    dhcp_range: "10.106.228.100 10.106.228.254"
    -

    dhcp_key_name: ""
    dhcp_key_secret: ""
    dns: true
    dns_managed: false
    dns_provider: nsupdate
    dns_zone: example.com
    dns_reverse: "228.106.10.in-addr.arpa"

This brought down dhcp for our network and required a restore from backups to get network working again.

Actions #1

Updated by Stephen Benjamin over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/puppet-capsule/pull/65 added
Actions #2

Updated by Stephen Benjamin over 8 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Eric Helms over 8 years ago

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

Also available in: Atom PDF