Release osh-kube-system-ingress failed during stx-openstack apply

Bug #1877548 reported by Nicolae Jascanu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Don Penney

Bug Description

Brief Description
-----------------
ON MONOLITHIC - Application stx-openstack apply failed with message: Release osh-kube-system-ingress failed

Severity
--------
Critical:

Steps to Reproduce
------------------
Following the steps for installing StarlingX it fails at Provision when applying stx-openstack

Expected Behavior
------------------
Apply stx-openstack shall pass

Actual Behavior
----------------
Apply stx-openstack shall fails

Reproducibility
---------------
Reproducible on Baremetal SIMPLEX, STANDARD, STANDARD EXTERNAL STORAGE

System Configuration
--------------------
Baremetal SIMPLEX, STANDARD, STANDARD EXTERNAL STORAGE

OS="centos"
SW_VERSION="20.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20200507T080012Z"

JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="533"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2020-05-07 08:00:12 +0000"

Branch/Pull Time/Commit
-----------------------
ISO=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/monolithic/20200507T080012Z/outputs/iso/

HELM_CHART= http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/containers/20200505T204039Z/outputs/helm-charts/

Timestamp/Logs
--------------
Please see attached:
 - sysinv.log
 - ansible.log
 - stx-openstack-apply_2020-05-08-03-58-38.log

Test Activity
-------------
Sanity

Workaround
----------

Revision history for this message
Nicolae Jascanu (njascanu-intel) wrote :
Revision history for this message
Nicolae Jascanu (njascanu-intel) wrote :
Revision history for this message
Nicolae Jascanu (njascanu-intel) wrote :
Revision history for this message
Nicolae Jascanu (njascanu-intel) wrote :

SIMPLEX: The Sanity check on Layered build http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200508T061331Z/outputs/iso/

FAILED with the same error.

The log files are uploaded at: https://files.starlingx.kube.cengn.ca/launchpad/1877548

Revision history for this message
Nicolae Jascanu (njascanu-intel) wrote :

DUPLEX - I'm seeing the same error.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

For reference, a similar issue was reported a few months ago (although the error logs are not exactly the same). See https://bugs.launchpad.net/starlingx/+bug/1827877

summary: - Release osh-kube-system-ingress failed
+ Release osh-kube-system-ingress failed during stx-openstack apply
Revision history for this message
Austin Sun (sunausti) wrote :
Changed in starlingx:
status: New → Invalid
Revision history for this message
Austin Sun (sunausti) wrote :

just realize [1] was not a normal application format , need build team check where can get monolithic helm chart.

[1]http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/monolithic/20200505T080012Z/outputs/tarballs/openstack-armada-app-v3.0.0.rc0-19.tgz

Changed in starlingx:
status: Invalid → Incomplete
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Critical
Frank Miller (sensfan22)
Changed in starlingx:
assignee: nobody → Scott Little (slittle1)
Revision history for this message
Frank Miller (sensfan22) wrote :

I have confirmed this is an issue with the incorrect helm chart being used by the build system. Austin's analysis is correct that this commit is not being included in the generated helm-charts:
https://review.opendev.org/#/c/724385

Looking at the stx-openstack.yaml in the helm-charts-stx-openstack-centos-stable-latest.tgz tarball we see:
data:
  chart_name: ingress
  dependencies:
  - helm-toolkit
  install:
    no_hooks: false
  namespace: kube-system
  release: kube-system-ingress

But Sabeel's commit changed this to release: openstack-ingress

The reason for the build output to not include Sabeel's change is unclear at this time. The theory is that the layered build system builds this package but because the version did not change it is not able to properly distinguish a previously built package with the same version from the newly built package. Scott will need to confirm this theory. As a workaround the package is being upversioned to see if this addresses the issue and results in the right helm chart package in the build output directory. Even if this works a more robust solution will be required in the build system.

On a side note, now that we have cutover to the build layering method, the monolithic method still runs nightly but does not generate docker images or helm charts. As such when using a monolithic build the helm charts picked up by sanity are from the build layer method - this is not correct and needs to be addressed separately.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

An additional commit just merged to bump up the version# for the openstack application:
https://review.opendev.org/#/c/726909/

Based on the explanation above, this should trigger the building of the helm charts properly.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

As per emails on the stx-discuss mailing list, there was another issue with the CENGN build as well.

The CENGN flock build was skipping the stx-openstack helm charts due to a script issue. This has been corrected by Don Penney.

The charts are available at:
http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/latest_build/outputs/helm-charts/

This was addressed in the 2020-05-12 CENGN build.

Changed in starlingx:
status: Incomplete → Fix Released
assignee: Scott Little (slittle1) → Don Penney (dpenney)
Revision history for this message
Ghada Khalil (gkhalil) wrote :
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.