octavia amphora image upload should update glance image if changed

Bug #1754039 reported by Brent Eagles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Carlos Goncalves

Bug Description

The octavia deployment currently only uploads the amphora image if it doesn't exist in glance. It should update it if it has changed using "some reasonable scheme" TBD

Brent Eagles (beagles)
Changed in tripleo:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Brent Eagles (beagles)
milestone: none → rocky-1
tags: added: queens-backport-potential
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/562019

Changed in tripleo:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/562086

Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
assignee: Brent Eagles (beagles) → Nir Magnezi (nmagnezi)
Changed in tripleo:
assignee: Nir Magnezi (nmagnezi) → Carlos Goncalves (cgoncalves)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

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

commit 549f9e004c37682cb9c1232099ea63cadf36511b
Author: Brent Eagles <email address hidden>
Date: Tue Apr 17 15:50:49 2018 -0230

    Octavia amphora image handles updates and symlinks

    This patch adds logic to the octavia image upload to update the
    amphora image if a glance image of the same name already exists but has
    a different checksum. It also adds some logic for distro specific
    default behavior.

    Closes-Bug: #1754039
    Change-Id: I48ad8971e34ddebd50f5eb36e22a3d072e011d14

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/562086
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4d8a80f3860cffc9064c51cbe39b5a11ea150e04
Submitter: Zuul
Branch: master

commit 4d8a80f3860cffc9064c51cbe39b5a11ea150e04
Author: Brent Eagles <email address hidden>
Date: Tue Apr 17 21:40:29 2018 -0230

    Octavia amphora image handling updates

    This patch changes some defaults that turned out to be not very good in
    practice to be empty values. The default behavior is instead
    distribution specific behavior in the ansible playbooks.

    Change-Id: Ib5338d0fadc9c1c8fcf73c53e4364d35a5f29fe7
    Related-Bug: #1754039
    Depends-On: https://review.openstack.org/#/c/562019/

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/566556

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

Related fix proposed to branch: stable/queens
Review: https://review.openstack.org/566557

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

Reviewed: https://review.openstack.org/566556
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=675587eeeb956e838d42759fe415e6c3e08ff26f
Submitter: Zuul
Branch: stable/queens

commit 675587eeeb956e838d42759fe415e6c3e08ff26f
Author: Brent Eagles <email address hidden>
Date: Tue Apr 17 15:50:49 2018 -0230

    Octavia amphora image handles updates and symlinks

    This patch adds logic to the octavia image upload to update the
    amphora image if a glance image of the same name already exists but has
    a different checksum. It also adds some logic for distro specific
    default behavior.

    Closes-Bug: #1754039
    Change-Id: I48ad8971e34ddebd50f5eb36e22a3d072e011d14
    (cherry picked from commit 549f9e004c37682cb9c1232099ea63cadf36511b)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.6.2

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/queens)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/566557
Reason: The gate is suffering of timeouts, we need to clear it. Please do not restore or recheck this patch, I'll take care of it when gate is stable again.

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

Reviewed: https://review.openstack.org/566557
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=81e68b02d69c09c2b39eea2a19b999869c38a52f
Submitter: Zuul
Branch: stable/queens

commit 81e68b02d69c09c2b39eea2a19b999869c38a52f
Author: Brent Eagles <email address hidden>
Date: Tue Apr 17 21:40:29 2018 -0230

    Octavia amphora image handling updates

    This patch changes some defaults that turned out to be not very good in
    practice to be empty values. The default behavior is instead
    distribution specific behavior in the ansible playbooks.

    Change-Id: Ib5338d0fadc9c1c8fcf73c53e4364d35a5f29fe7
    Related-Bug: #1754039
    Depends-On: https://review.openstack.org/#/c/562019/
    (cherry picked from commit 4d8a80f3860cffc9064c51cbe39b5a11ea150e04)

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.