os-net-config element overwrites the t-h-t os-net-config scripts config file

Bug #1695091 reported by Dan Prince on 2017-06-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Dan Prince

Bug Description

We now drive configuration of os-net-config templates via the Heat script hook. This works fine except that both tripleo-image-elements and tripleo-heat-templates can write to the same /etc/os-net-config/config.json file if the old element is installed (this is currently the default for tripleo-common).

We should consider:

1) updating the old element to use an alternate config file location

2) stop using the old os-net-config element entirely

Dan Prince (dan-prince) on 2017-06-01
Changed in tripleo:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
Changed in tripleo:
milestone: none → pike-3

Reviewed: https://review.openstack.org/470014
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=45e8bde2e61a8146d6dcc64f55fe5b57e17aed76
Submitter: Jenkins
Branch: master

commit 45e8bde2e61a8146d6dcc64f55fe5b57e17aed76
Author: Dan Prince <email address hidden>
Date: Thu Jun 1 17:07:45 2017 -0400

    Use /etc/os-net-config/element_config.json

    Change-Id: I93b9d2f6c13de739a32decefe3bc785be795839f
    Related-bug: #1695091

Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → pike-rc2
Changed in tripleo:
milestone: pike-rc2 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1

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

commit bce76efbcdf39383cae627c46634f2ca1b9aaf6b
Author: Dan Prince <email address hidden>
Date: Thu Jun 1 17:12:23 2017 -0400

    Install os-net-config as a package, not an element

    This change drops use of the os-net-config element from
    t-h-t and simply installs the tool as a standard package.

    The use of os-net-config has been deprecated in favor of
    the new template styles for awhile now. The new hook gives better
    signals when errors occur configuring the physical networks.

    Change-Id: Ie4f5d771a16ea453b470be8ea103b2bde4aa892a
    Related-bug: #1695091

Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers