net.ifnames is disabled by default under rhel8

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

Bug Description

net.ifnames is set to 0 in the /etc/default/grub under rhel 8. This can make it hard to generate configurations for os-net-config and sriov deployments. Let's explicitly enable net.ifnames when we build the overcloud images to ensure a consistent naming scheme.

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

Fix proposed to branch: master
Review: https://review.opendev.org/678581

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.opendev.org/678581
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=8da8d9a51b287d520c465fae254262fc4286e92e
Submitter: Zuul
Branch: master

commit 8da8d9a51b287d520c465fae254262fc4286e92e
Author: Alex Schultz <email address hidden>
Date: Mon Aug 26 08:49:44 2019 -0600

    Clear net.ifnames definition

    With RHEL8, net.ifnames is set to 0 in the grub config. This is a change
    in the default image which can have user impacts. We want to clear it to
    go back to the previously defined behavior in RHEL7.

    Change-Id: I621066ea5e0e934668ff4c91e991a95d18e019f7
    Closes-Bug: #1841441

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/679169

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

Reviewed: https://review.opendev.org/679169
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=1ebd7afac1c49b9fe413a286c21c311bb0a31072
Submitter: Zuul
Branch: stable/stein

commit 1ebd7afac1c49b9fe413a286c21c311bb0a31072
Author: Alex Schultz <email address hidden>
Date: Mon Aug 26 08:49:44 2019 -0600

    Clear net.ifnames definition

    With RHEL8, net.ifnames is set to 0 in the grub config. This is a change
    in the default image which can have user impacts. We want to clear it to
    go back to the previously defined behavior in RHEL7.

    Change-Id: I621066ea5e0e934668ff4c91e991a95d18e019f7
    Closes-Bug: #1841441
    (cherry picked from commit 8da8d9a51b287d520c465fae254262fc4286e92e)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 10.4.2

This issue was fixed in the openstack/tripleo-image-elements 10.4.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 10.5.1

This issue was fixed in the openstack/tripleo-image-elements 10.5.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/712571

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

Reviewed: https://review.opendev.org/712571
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=2589b8f22ad2d263bcecbb8278e73f0822e7eba3
Submitter: Zuul
Branch: master

commit 2589b8f22ad2d263bcecbb8278e73f0822e7eba3
Author: Alex Schultz <email address hidden>
Date: Wed Mar 11 15:20:22 2020 -0600

    Add interface-names to centos8 images

    Back in Bug #1841441, we disabled the net.ifnames because of the
    RHEL7->RHEL8 changes to interface names. Now that we have centos8, we
    need to ensure this action is also run on those images.

    Depends-On: https://review.opendev.org/#/c/712487/
    Change-Id: Ice40fec0eacefd9778614996fb3417b78cdd17d3
    Related-Bug: #1866202
    Related-Bug: #1841441

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

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/712949

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/712949
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=e64cccf5e6cb6bd923efbc6b82eca95cf0b9a119
Submitter: Zuul
Branch: stable/train

commit e64cccf5e6cb6bd923efbc6b82eca95cf0b9a119
Author: Alex Schultz <email address hidden>
Date: Wed Mar 11 15:20:22 2020 -0600

    Add interface-names to centos8 images

    Back in Bug #1841441, we disabled the net.ifnames because of the
    RHEL7->RHEL8 changes to interface names. Now that we have centos8, we
    need to ensure this action is also run on those images.

    Depends-On: https://review.opendev.org/#/c/712947/
    Change-Id: Ice40fec0eacefd9778614996fb3417b78cdd17d3
    Related-Bug: #1866202
    Related-Bug: #1841441
    (cherry picked from commit 2589b8f22ad2d263bcecbb8278e73f0822e7eba3)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-common/+/786146

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/786146
Committed: https://opendev.org/openstack/tripleo-common/commit/4a2e95d143d26a3f58f5235f3e8f630f0b708c32
Submitter: "Zuul (22348)"
Branch: master

commit 4a2e95d143d26a3f58f5235f3e8f630f0b708c32
Author: Steve Baker <email address hidden>
Date: Wed Apr 14 11:16:54 2021 +1200

    Add interface-names to overcloud-hardened-images-uefi-rhel8

    This was missing from change ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5
    which added this element to every other rhel8 image yaml file.

    Related-Bug: 1841441
    Change-Id: I463eb84a84e37b1a782c06ae74cf5c943e273bcd

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

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-common/+/789813

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/789813
Committed: https://opendev.org/openstack/tripleo-common/commit/59583c466443f19dce1e6cd7d198c01fa4281aec
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 59583c466443f19dce1e6cd7d198c01fa4281aec
Author: Steve Baker <email address hidden>
Date: Wed Apr 14 11:16:54 2021 +1200

    Add interface-names to overcloud-hardened-images-uefi-rhel8

    This was missing from change ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5
    which added this element to every other rhel8 image yaml file.

    Related-Bug: 1841441
    Change-Id: I463eb84a84e37b1a782c06ae74cf5c943e273bcd

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/victoria)

Related fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/tripleo-common/+/794693

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

Related fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/tripleo-common/+/794694

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

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/tripleo-common/+/794695

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/794693
Committed: https://opendev.org/openstack/tripleo-common/commit/eaf32cc3c9b393c7f8ffd13d2b5419bb6256c8f1
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit eaf32cc3c9b393c7f8ffd13d2b5419bb6256c8f1
Author: Steve Baker <email address hidden>
Date: Wed Apr 14 11:16:54 2021 +1200

    Add interface-names to overcloud-hardened-images-uefi-rhel8

    This was missing from change ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5
    which added this element to every other rhel8 image yaml file.

    Related-Bug: 1841441
    Change-Id: I463eb84a84e37b1a782c06ae74cf5c943e273bcd
    (cherry picked from commit 4a2e95d143d26a3f58f5235f3e8f630f0b708c32)

tags: added: in-stable-victoria
tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/794694
Committed: https://opendev.org/openstack/tripleo-common/commit/0ae5db6e390ef0d1d95d6c11c4153018b8268d81
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 0ae5db6e390ef0d1d95d6c11c4153018b8268d81
Author: Steve Baker <email address hidden>
Date: Wed Apr 14 11:16:54 2021 +1200

    Add interface-names to overcloud-hardened-images-uefi-rhel8

    This was missing from change ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5
    which added this element to every other rhel8 image yaml file.

    Related-Bug: 1841441
    Change-Id: I463eb84a84e37b1a782c06ae74cf5c943e273bcd
    (cherry picked from commit 4a2e95d143d26a3f58f5235f3e8f630f0b708c32)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/794695
Committed: https://opendev.org/openstack/tripleo-common/commit/c6c3ac1122b697dfc88daa5c899ed248e8e048db
Submitter: "Zuul (22348)"
Branch: stable/train

commit c6c3ac1122b697dfc88daa5c899ed248e8e048db
Author: Steve Baker <email address hidden>
Date: Wed Apr 14 11:16:54 2021 +1200

    Add interface-names to overcloud-hardened-images-uefi-rhel8

    This was missing from change ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5
    which added this element to every other rhel8 image yaml file.

    Related-Bug: 1841441
    Change-Id: I463eb84a84e37b1a782c06ae74cf5c943e273bcd
    (cherry picked from commit 4a2e95d143d26a3f58f5235f3e8f630f0b708c32)

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.