opensearch image too large - duplicated layer

Bug #2104007 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned

Bug Description

When building an image, the RUN command grants
permissions which causes the previous layer
to be copied.

During the test, the image was reduced from 2.84GB to 1.57GB

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/941384
Committed: https://opendev.org/openstack/kolla/commit/47a6ad020d7a52b14106938e03e27d65280999cb
Submitter: "Zuul (22348)"
Branch: master

commit 47a6ad020d7a52b14106938e03e27d65280999cb
Author: Piotr Milewski <email address hidden>
Date: Wed Feb 12 13:53:14 2025 +0100

    Opensearch and opensearch-dashboard image size reduction

    When building an image, the RUN command grants
    permissions which causes the previous layer
    to be copied.

    During the test, the image was reduced from 2.84GB to 1.57GB

    Closes-Bug: #2104007

    Change-Id: I7d2367d4c277287f4db2885f5720a35d934f94b7

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

Fix proposed to branch: stable/2024.2
Review: https://review.opendev.org/c/openstack/kolla/+/945537

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/kolla/+/945538

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla/+/945539

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (unmaintained/2023.1)

Fix proposed to branch: unmaintained/2023.1
Review: https://review.opendev.org/c/openstack/kolla/+/945540

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/945538
Committed: https://opendev.org/openstack/kolla/commit/8cf022c3553a087925114278cc6af8da16819ab0
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 8cf022c3553a087925114278cc6af8da16819ab0
Author: Piotr Milewski <email address hidden>
Date: Wed Feb 12 13:53:14 2025 +0100

    Opensearch and opensearch-dashboard image size reduction

    When building an image, the RUN command grants
    permissions which causes the previous layer
    to be copied.

    During the test, the image was reduced from 2.84GB to 1.57GB

    Closes-Bug: #2104007

    Change-Id: I7d2367d4c277287f4db2885f5720a35d934f94b7
    (cherry picked from commit 47a6ad020d7a52b14106938e03e27d65280999cb)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/945539
Committed: https://opendev.org/openstack/kolla/commit/00d434e2c5cacf5549f326af8416e48a50bc8df8
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 00d434e2c5cacf5549f326af8416e48a50bc8df8
Author: Piotr Milewski <email address hidden>
Date: Wed Feb 12 13:53:14 2025 +0100

    Opensearch and opensearch-dashboard image size reduction

    When building an image, the RUN command grants
    permissions which causes the previous layer
    to be copied.

    During the test, the image was reduced from 2.84GB to 1.57GB

    Closes-Bug: #2104007

    Change-Id: I7d2367d4c277287f4db2885f5720a35d934f94b7
    (cherry picked from commit 47a6ad020d7a52b14106938e03e27d65280999cb)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/2024.2)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/945537
Committed: https://opendev.org/openstack/kolla/commit/b9c24c0decebb57a48129cdcdeb32fe3393c0210
Submitter: "Zuul (22348)"
Branch: stable/2024.2

commit b9c24c0decebb57a48129cdcdeb32fe3393c0210
Author: Piotr Milewski <email address hidden>
Date: Wed Feb 12 13:53:14 2025 +0100

    Opensearch and opensearch-dashboard image size reduction

    When building an image, the RUN command grants
    permissions which causes the previous layer
    to be copied.

    During the test, the image was reduced from 2.84GB to 1.57GB

    Closes-Bug: #2104007

    Change-Id: I7d2367d4c277287f4db2885f5720a35d934f94b7
    (cherry picked from commit 47a6ad020d7a52b14106938e03e27d65280999cb)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 20.0.0.0rc1

This issue was fixed in the openstack/kolla 20.0.0.0rc1 Epoxy release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (unmaintained/2023.1)

Change abandoned by "Michal Nasiadka <email address hidden>" on branch: unmaintained/2023.1
Review: https://review.opendev.org/c/openstack/kolla/+/945540
Reason: not doing it

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.