Redundant file ACLs for neutron when upgrading from older version of OpenStack

Bug #1943034 reported by Purandhar Sairam Mannidi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

tripleo-heat-templates is having redundant upgrade tasks to apply file ACLs on /var/lib/neutron when upgrading from older version of OpenStack (from Mitaka / Newton) which was used to resolve a situation arising from upgrading a tripleo env with system services to containerized services.

Expected result
===============
No ACLs should be applied to /var/lib/neutron

Actual Results:
===============
ACLs are applied to /var/lib/neutron as part of post-upgrade tasks.

Additional Details
===========
Latest OpenStack code at https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/deployment/neutron/neutron-l3-container-puppet.yaml#L368-L397

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)
Changed in tripleo:
status: New → In Progress
Revision history for this message
wes hayutin (weshayutin) wrote :

sorry.. going to use this bug for a moment, to test tooling.

Changed in tripleo:
importance: Undecided → Critical
milestone: none → xena-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/807974
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/a522941695e07d943c4908b4f403edf9d24f0108
Submitter: "Zuul (22348)"
Branch: master

commit a522941695e07d943c4908b4f403edf9d24f0108
Author: Purandhar Sairam Mannidi <email address hidden>
Date: Thu Sep 9 10:02:53 2021 +1000

    Remove setting ACLs during Upgrade

    Currently, we are setting file ACLs on /var/lib/neutron as part of
    upgrade tasks if there is a neutron user in the system. Since moving to
    containerized deployment, we don't have neutron user on the system
    anymore. This code was added to resolve issues arising with existing
    neutron resources when moving from system services to containerized
    services.

    This patch is to remove the stale upgrade tasks to remove file ACLs.

    Closes-Bug: #1943034

    Signed-off-by: Purandhar Sairam Mannidi <email address hidden>
    Change-Id: I19f457a99dedfd781bd56987e3fea6626737500d

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

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/808669

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/808669
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/b9fe05d56c4aa7645b900fc92bfac2f45da91c20
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b9fe05d56c4aa7645b900fc92bfac2f45da91c20
Author: Purandhar Sairam Mannidi <email address hidden>
Date: Thu Sep 9 10:02:53 2021 +1000

    Remove setting ACLs during Upgrade

    Currently, we are setting file ACLs on /var/lib/neutron as part of
    upgrade tasks if there is a neutron user in the system. Since moving to
    containerized deployment, we don't have neutron user on the system
    anymore. This code was added to resolve issues arising with existing
    neutron resources when moving from system services to containerized
    services.

    This patch is to remove the stale upgrade tasks to remove file ACLs.

    Closes-Bug: #1943034

    Signed-off-by: Purandhar Sairam Mannidi <email address hidden>
    Change-Id: I19f457a99dedfd781bd56987e3fea6626737500d
    (cherry picked from commit a522941695e07d943c4908b4f403edf9d24f0108)

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

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/809967

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/809967
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/2d21dcce74df7affbf1a91aff18da3dc3840c74f
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 2d21dcce74df7affbf1a91aff18da3dc3840c74f
Author: Purandhar Sairam Mannidi <email address hidden>
Date: Thu Sep 9 10:02:53 2021 +1000

    Remove setting ACLs during Upgrade

    Currently, we are setting file ACLs on /var/lib/neutron as part of
    upgrade tasks if there is a neutron user in the system. Since moving to
    containerized deployment, we don't have neutron user on the system
    anymore. This code was added to resolve issues arising with existing
    neutron resources when moving from system services to containerized
    services.

    This patch is to remove the stale upgrade tasks to remove file ACLs.

    Closes-Bug: #1943034

    Signed-off-by: Purandhar Sairam Mannidi <email address hidden>
    Change-Id: I19f457a99dedfd781bd56987e3fea6626737500d
    (cherry picked from commit a522941695e07d943c4908b4f403edf9d24f0108)
    (cherry picked from commit b9fe05d56c4aa7645b900fc92bfac2f45da91c20)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ussuri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/810058
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/193d2311a3d7b878d303965c419248f9e9c35fdc
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 193d2311a3d7b878d303965c419248f9e9c35fdc
Author: Purandhar Sairam Mannidi <email address hidden>
Date: Thu Sep 9 10:02:53 2021 +1000

    Remove setting ACLs during Upgrade

    Currently, we are setting file ACLs on /var/lib/neutron as part of
    upgrade tasks if there is a neutron user in the system. Since moving to
    containerized deployment, we don't have neutron user on the system
    anymore. This code was added to resolve issues arising with existing
    neutron resources when moving from system services to containerized
    services.

    This patch is to remove the stale upgrade tasks to remove file ACLs.

    Closes-Bug: #1943034

    Signed-off-by: Purandhar Sairam Mannidi <email address hidden>
    Change-Id: I19f457a99dedfd781bd56987e3fea6626737500d
    (cherry picked from commit a522941695e07d943c4908b4f403edf9d24f0108)
    (cherry picked from commit b9fe05d56c4aa7645b900fc92bfac2f45da91c20)
    (cherry picked from commit 2d21dcce74df7affbf1a91aff18da3dc3840c74f)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/810203
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/28f96b1f6a73c40588ab7dcf50d546a2d8de895d
Submitter: "Zuul (22348)"
Branch: stable/train

commit 28f96b1f6a73c40588ab7dcf50d546a2d8de895d
Author: Purandhar Sairam Mannidi <email address hidden>
Date: Thu Sep 9 10:02:53 2021 +1000

    Remove setting ACLs during Upgrade

    Currently, we are setting file ACLs on /var/lib/neutron as part of
    upgrade tasks if there is a neutron user in the system. Since moving to
    containerized deployment, we don't have neutron user on the system
    anymore. This code was added to resolve issues arising with existing
    neutron resources when moving from system services to containerized
    services.

    This patch is to remove the stale upgrade tasks to remove file ACLs.

    Closes-Bug: #1943034

    Signed-off-by: Purandhar Sairam Mannidi <email address hidden>
    Change-Id: I19f457a99dedfd781bd56987e3fea6626737500d
    (cherry picked from commit a522941695e07d943c4908b4f403edf9d24f0108)
    (cherry picked from commit b9fe05d56c4aa7645b900fc92bfac2f45da91c20)
    (cherry picked from commit 2d21dcce74df7affbf1a91aff18da3dc3840c74f)
    (cherry picked from commit 193d2311a3d7b878d303965c419248f9e9c35fdc)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 15.1.0

This issue was fixed in the openstack/tripleo-heat-templates 15.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.4.6

This issue was fixed in the openstack/tripleo-heat-templates 12.4.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 13.6.0

This issue was fixed in the openstack/tripleo-heat-templates 13.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates train-eol

This issue was fixed in the openstack/tripleo-heat-templates train-eol 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.