tripleo releases are promoted prior to the image upload

Bug #1724093 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Gabriele Cerami

Bug Description

The dlrn_api is reporting success prior to the images being uploaded :(

https://github.com/openstack-infra/tripleo-ci/commit/54ff19633e587bd8e2bfd8308780098ef7b7b2dc

The uploader is currently failing on:
https://review.rdoproject.org/r/#/c/10128/1/jobs/tripleo-upstream.yml

So we're getting promotions w/o images, which is a very dangerous thing to do.
You can see this happening here:
https://review.rdoproject.org/jenkins/job/periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset002-pike-upload/163/consoleFull

TO-DO:
Ensure there are two templates and builders for tripleo promotion jobs

* where one template/builder is used for all the jobs and calls the dlrnapi_client in builder than is run after everthing else.

* the upload-label builder will continue to be used, but add the dlrnapi_client script to be called after the these lines:
export RELEASE={release}
bash -xe $WORKSPACE/rdo-infra/ci-config/ci-scripts/tripleo-upstream/convert-upload-undercloud.sh
bash -xe $WORKSPACE/rdo-infra/ci-config/ci-scripts/tripleo-upstream/upload-cloud-images.sh

reference:
https://review.rdoproject.org/r/#/c/10128/1/jobs/tripleo-upstream.yml

Tags: ci
Revision history for this message
Gabriele Cerami (gcerami) wrote :
Revision history for this message
Gabriele Cerami (gcerami) wrote :
Revision history for this message
Gabriele Cerami (gcerami) wrote :
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: queens-1 → queens-2
Revision history for this message
wes hayutin (weshayutin) wrote :
tags: removed: alert quickstart
wes hayutin (weshayutin)
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.