"undercloud upgrade --use-heat" doesn't work for updating containerized undercloud

Bug #1768269 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Emilien Macchi

Bug Description

Before containerised undercloud, I always used the "undercloud upgrade" command to keep my undercloud up-to-date with the latest packages / upstream changes.

My development workflow looks like this:

1. Set up a new env or VM
2. Follow the instructions at http://tripleo.org/installation/installation.html#installing-the-undercloud (aka "$ openstack undercloud install --use-heat" now).

From then on, if I need to work with the latest changes or keep my undercloud from becoming stale I follow the instructions at http://tripleo.org/installation/installation.html#updating-undercloud-components :

3. $ openstack undercloud upgrade --use-heat
4. Repeat every few days until I get rid of the VM

The documentation on that installation page suggests to me that this command is used to "update" the undercloud components, so it should be used to keep the undercloud up to date and healthy in general, and not used just once per major release.

From a stable release perspective, that's the process I use as well to get the latest fixes applied onto my Newton (OSP10) undercloud, except step 4 is every few weeks/months instead whenever there's a new point release.

Expectations when running "undercloud upgrade":
- End up with an undercloud that has all packages up to date
- Any changes to e.g. mistral workflows are applied correctly (which wouldn't be the case with only yum update, mistral needs a restart / db populate step)
- Ideally any other necessary step is taken care of (e.g. services that need to be stopped first) but I know that hasn't always been the case, especially with Newton.

It seems counter-intuitive to use "undercloud install" multiple times on the same system in order to keep it up to date.

Tags: containers
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Emilien Macchi (emilienm) wrote :
tags: added: containers
summary: - "undercloud upgrade --use-heat" doesn't work for updating containerised
+ "undercloud upgrade --use-heat" doesn't work for updating containerized
undercloud
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/565521

Revision history for this message
Emilien Macchi (emilienm) wrote :

So this bug will be closed by https://review.openstack.org/#/c/566214 and https://review.openstack.org/#/c/566145/ for information. I'm testing it at this time but I think it'll really close it.

Changed in tripleo:
status: In Progress → Fix Released
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.