[CI] New image prepare workflow is incompatible with updates and upgrades

Bug #1791332 reported by Jiří Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Jiří Stránský

Bug Description

To reuse the ContainerImagePrepare way of preparing containers for update/upgrade, we'd have to amend things a little.

Main issue is probably that we do not (and cannot) run any external_*_tasks during normal `update run` and `upgrade run` commands, because those commands are sometimes run multiple times for granularity (e.g. even per-node). And external_*_tasks are used to run things like ceph-ansible, so we don't want to reexeute such things on each per-node update/upgrade call.

This is also why the current proposed fixes for update job don't make the job green yet.

tags: added: alert
description: updated
summary: - New image prepare workflow is incompatible with updates and upgrades
+ [ci] New image prepare workflow is incompatible with updates and
+ upgrades
summary: - [ci] New image prepare workflow is incompatible with updates and
+ [CI] New image prepare workflow is incompatible with updates and
upgrades
Changed in tripleo:
assignee: nobody → Jiří Stránský (jistr)
Revision history for this message
Jiří Stránský (jistr) wrote :

We should probably try:

1) Plug in whatever generates correct Heat image parameters to the updates+upgrades workflows

2) Use external update/upgrade commands to run the image uploading? Initially it seemed a bit weird but more i think about it, the more it feels ok, and at least we'd be using the same thing under the hood that we're using during deploy.

I'll look into this more next week and gather some feedback on this idea.

Changed in tripleo:
milestone: none → stein-1
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/601231

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/601430

Changed in tripleo:
assignee: Jiří Stránský (jistr) → Steve Baker (steve-stevebaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Jiri Stransky (<email address hidden>) on branch: master
Review: https://review.openstack.org/601231

Changed in tripleo:
assignee: Steve Baker (steve-stevebaker) → Jiří Stránský (jistr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/601430
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=93ebf8962cbe044c6ec716d549b86e92a3d0ce5f
Submitter: Zuul
Branch: master

commit 93ebf8962cbe044c6ec716d549b86e92a3d0ce5f
Author: Steve Baker <email address hidden>
Date: Mon Sep 10 15:27:01 2018 -0600

    Run prepare during package_update workflow

    Image prepare is not currently running during the updates workflow,
    which is breaking the updates CI job.

    Depends-On: I9bd21b67a9bf9254458351e8ba784ed66f9949f4
    Change-Id: I26ed63c8e8428b05af20ee68ca6a2b089b3d8bc7
    Partial-Bug: #1791332

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/609718

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

Reviewed: https://review.openstack.org/609718
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=67bab1682ea5d210c30868236908094cb19cbc36
Submitter: Zuul
Branch: stable/rocky

commit 67bab1682ea5d210c30868236908094cb19cbc36
Author: Steve Baker <email address hidden>
Date: Mon Sep 10 15:27:01 2018 -0600

    Run prepare during package_update workflow

    Image prepare is not currently running during the updates workflow,
    which is breaking the updates CI job.

    Depends-On: I9bd21b67a9bf9254458351e8ba784ed66f9949f4
    Change-Id: I26ed63c8e8428b05af20ee68ca6a2b089b3d8bc7
    Partial-Bug: #1791332
    (cherry picked from commit 93ebf8962cbe044c6ec716d549b86e92a3d0ce5f)

tags: added: in-stable-rocky
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.