Bug 1545151

Summary: Push latest Octavia amphora image to Glance on OSP update & upgrade
Product: Red Hat OpenStack Reporter: Carlos Goncalves <cgoncalves>
Component: openstack-tripleo-commonAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Alexander Stafeyev <astafeye>
Severity: low Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: amuller, astafeye, beagles, dbecker, jamsmith, jschluet, lmarsh, mburns, morazi, rhel-osp-director-maint, slinaber
Target Milestone: z3Keywords: TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-8.6.1-12.el7ost Doc Type: Enhancement
Doc Text:
Director uploads the latest amphora image to glance when OpenStack is updated and/or upgraded. The latest amphora image ensures amphora instances run with the latest general bug and security fixes, not only for Octavia agent fixes, but also for operating system fixes. With this release, newly created and recreated amphora instances are made with the latest amphora image. Previous amphora images will remain stored in glance and be renamed to include the timestamp in the suffix.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 22:26:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1477480, 1615128, 1645188    
Bug Blocks:    

Description Carlos Goncalves 2018-02-14 11:34:48 UTC
On a fresh deployment, the Octavia amphora image is pushed to Glance [1] and consumed by the service to create service VMs. The image is provided via RPM (rhbz 1477480) and is updated every now and then to include latest bug and security fixes. On an OSP update, the latest image is not automatically uploaded to Glance. As a result of that, newly created amphora instances will be built based on an outdated image.

We would like to have a procedure that ensures that, on an OSP update, the amphora image provided in the latest RPM is uploaded to Glance.

[1] https://github.com/openstack/tripleo-common/blob/master/playbooks/roles/octavia-undercloud/tasks/main.yml

Comment 3 Brent Eagles 2018-06-26 16:18:31 UTC
This should be handled by a combination of:

1. https://code.engineering.redhat.com/gerrit/#/c/139628/ - which is part of a series that installs the rpm as part of the overcloud deploy

and 

2. https://code.engineering.redhat.com/gerrit/#/c/137926/ - which updates the image in glance if it is different than the one on the filesystem, follows the symbolic links and uses the versioned filename as glance image name.

Comment 5 Jon Schlueter 2018-06-27 17:22:52 UTC
According to our records, this should be resolved by openstack-tripleo-common-8.6.1-20.el7ost.  This build is available now.

Comment 15 errata-xmlrpc 2018-11-13 22:26:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3587