Bug 1885900 - [osp16.1][update] Online db migration is not run during external update step.
Summary: [osp16.1][update] Online db migration is not run during external update step.
Keywords:
Status: CLOSED DUPLICATE of bug 1884556
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Sofer Athlan-Guyot
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-07 09:25 UTC by Sofer Athlan-Guyot
Modified: 2020-10-19 13:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-19 13:20:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sofer Athlan-Guyot 2020-10-07 09:25:35 UTC
Description of problem:  Hi,

this issue was first reported there https://review.opendev.org/#/c/755751/

Basically running:

openstack overcloud external-update run --tags online_upgrade

as documented doesn't run online db migration.

The problem is that online db migration are defined for upgrade, but not for update.  This is an instance of the issue[1]


      external_upgrade_tasks:
        - when: step|int == 1
          block:
            - name: Online data migration for Nova
              command: "{{ container_cli }} exec nova_conductor nova-manage db online_data_migrations"
              delegate_to: "{{ groups['nova_conductor'][0] }}"
              become: true
              tags:
                - online_upgrade
                - online_upgrade_nova


There is no equivalent external_update_tasks, so no db migration happen.

Currently we don't see any breakage related to this as we are staying on the same version.

But:
 - this is not working as expected;
 - this break 15->16.1 update new protocol.

So, not a blocker, but should be fixed asap.

[1] https://github.com/openstack/tripleo-heat-templates/blob/stable/train/deployment/nova/nova-conductor-container-puppet.yaml#L264..L274

Comment 1 Jiri Stransky 2020-10-19 13:20:29 UTC

*** This bug has been marked as a duplicate of bug 1884556 ***


Note You need to log in before you can comment on or make changes to this bug.