overcloud-full contains a resolv.conf with a nameserver

Bug #1749756 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

After building the overcloud-full image, it contains a /etc/resolv.conf with a nameserver value (nameserver 10.0.2.3 for centos). With newer versions of initscripts this can cause issues when the deployment occurs because this address may be used which can cause ssh delays. We shouldn't have a resolv.conf in the images we ship as that should be configured during the deployment.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-puppet-elements (master)

Fix proposed to branch: master
Review: https://review.openstack.org/545067

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/545068

tags: added: pike-backport-potential
tags: added: newton-backport-potential ocata-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-puppet-elements (master)

Reviewed: https://review.openstack.org/545067
Committed: https://git.openstack.org/cgit/openstack/tripleo-puppet-elements/commit/?id=c38d7ff551673d74b3e15415939555e8258936b5
Submitter: Zuul
Branch: master

commit c38d7ff551673d74b3e15415939555e8258936b5
Author: Alex Schultz <email address hidden>
Date: Thu Feb 15 10:47:20 2018 -0700

    Create element to purge resolv.conf

    We should be managing the network configuration with os-net-config or
    elsewhere so we should not be providing a nameserver in resolv.conf
    in overcloud images. This element will be used to ensure that the
    resolv.conf of the overcloud-full image should not contain any
    nameservers.

    Change-Id: If8c44137d120059b356675a074e3af23ea63a6f8
    Partial-Bug: #1749756

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/545068
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=e54f1a72843aa2b35a4ec273ff260c94ba05a456
Submitter: Zuul
Branch: master

commit e54f1a72843aa2b35a4ec273ff260c94ba05a456
Author: Alex Schultz <email address hidden>
Date: Thu Feb 15 10:49:27 2018 -0700

    Purge resolv.conf from the overcloud images

    When building the images we should not be including any values in the
    resolv.conf. This change adds the element to clear it for the
    overcloud-full, hardened and realtime compute images.

    Depends-On: If8c44137d120059b356675a074e3af23ea63a6f8
    Change-Id: Ib2531e0a696915ab980aea5a65a425789938786c
    Closes-Bug: #1749756

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-puppet-elements (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/546310

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/546311

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.5.0

This issue was fixed in the openstack/tripleo-common 8.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-puppet-elements (stable/pike)

Reviewed: https://review.openstack.org/546310
Committed: https://git.openstack.org/cgit/openstack/tripleo-puppet-elements/commit/?id=1ab281355bc10f3b64ee0841ae8eaccf3aa6696e
Submitter: Zuul
Branch: stable/pike

commit 1ab281355bc10f3b64ee0841ae8eaccf3aa6696e
Author: Alex Schultz <email address hidden>
Date: Thu Feb 15 10:47:20 2018 -0700

    Create element to purge resolv.conf

    We should be managing the network configuration with os-net-config or
    elsewhere so we should not be providing a nameserver in resolv.conf
    in overcloud images. This element will be used to ensure that the
    resolv.conf of the overcloud-full image should not contain any
    nameservers.

    Change-Id: If8c44137d120059b356675a074e3af23ea63a6f8
    Partial-Bug: #1749756
    (cherry picked from commit c38d7ff551673d74b3e15415939555e8258936b5)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/pike)

Reviewed: https://review.openstack.org/546311
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ab8e88c494c96637bd272727da5dba1e7a4a0cc3
Submitter: Zuul
Branch: stable/pike

commit ab8e88c494c96637bd272727da5dba1e7a4a0cc3
Author: Alex Schultz <email address hidden>
Date: Thu Feb 15 10:49:27 2018 -0700

    Purge resolv.conf from the overcloud images

    When building the images we should not be including any values in the
    resolv.conf. This change adds the element to clear it for the
    overcloud-full, hardened and realtime compute images.

    Depends-On: If8c44137d120059b356675a074e3af23ea63a6f8
    Change-Id: Ib2531e0a696915ab980aea5a65a425789938786c
    Closes-Bug: #1749756
    (cherry picked from commit e54f1a72843aa2b35a4ec273ff260c94ba05a456)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 7.6.11

This issue was fixed in the openstack/tripleo-common 7.6.11 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.