Project

General

Profile

Bug #12519

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

Added by Stephen Benjamin over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
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.

Associated revisions

Revision 0aa50caa (diff)
Added by Stephen Benjamin over 3 years ago

fixes #12519 - pass dhcp-managed through to foreman-proxy

Revision 0aa50caa (diff)
Added by Stephen Benjamin over 3 years ago

fixes #12519 - pass dhcp-managed through to foreman-proxy

Revision ed8470c7
Added by Stephen Benjamin over 3 years ago

Merge pull request #65 from stbenjam/12519

fixes #12519 - pass dhcp-managed through to foreman-proxy

Revision ed8470c7
Added by Stephen Benjamin over 3 years ago

Merge pull request #65 from stbenjam/12519

fixes #12519 - pass dhcp-managed through to foreman-proxy

History

#1 Updated by Stephen Benjamin over 3 years ago

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

#2 Updated by Stephen Benjamin over 3 years ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

Also available in: Atom PDF