stx-openstack application sometimes indicates apply-failed when configuring overrides

Bug #1856579 reported by Paul-Ionut Vaduva
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
Low
Frank Miller

Bug Description

Brief Description
-----------------
When we activate additional openstack services using application overrides we sometimes
get an apply-failed status after stx-openstack is applied

Severity
--------
Minor

Steps to Reproduce
------------------
1. Upload the stx-application charts e.g. $ system application-upload stx-openstack-1.0-19.tgz
2. (Optional) You can inspect the overrides with: $ system helm-override-list stx-openstack --long
3. Override the original enable attributes to activate some openstack services that are deactivated by default e.g. ceilometer, aodh, gnocchi, panko
$ system helm-chart-attribute-modify stx-openstack gnocchi openstack --enabled true
$ system helm-chart-attribute-modify stx-openstack panko openstack --enabled true
$ system helm-chart-attribute-modify stx-openstack aodh openstack --enabled true
$ system helm-chart-attribute-modify stx-openstack ceilometer openstack --enabled true
4. Apply stx-openstack: $ system application-apply stx-openstack (YOu have to do this very fast after the overrides are configured (within one minute), you can run this command and previous in a batch)

Expected Behavior
------------------
Application stx-openstack is succesfuly applied

Actual Behavior:
-----------------
Sometimes the stx-openstack is succesfuly applied and after at most one minute the applicatin passes into an apply-failed state.

Reproducibility
---------------
Intermittent

System Configuration
--------------------
Virtual
Any Configuration

Branch/Pull Time/Commit
-----------------------
master/ (Seen on multiple builds)

Last Pass
---------
Not sure

Preliminary investigation:
---------
There seem to be some inconsistencies on the way application overrides are generated and checked after the installation of stx-openstack application which generated an Invalid override exception. for the aditional chart group e.g.
cg-openstack-telemetry-meta.yaml

Timestamp/Logs
--------------
Attached.

Test Activity
-------------
Developer Testing

Workaround:
----------
Wait at least 60 seconds after manually configure the overrides
system application-apply stx-openstack and the issue does not appear.

Revision history for this message
Paul-Ionut Vaduva (pvaduva) wrote :
information type: Public → Public Security
description: updated
description: updated
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low priority / not gating - intermittent issue with openstack helm overrides for optional services. Issue can be avoided by waiting 60 seconds before re-applying the application after the overrides are specified.

tags: added: stx.4.0 stx.containers
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Frank Miller (sensfan22)
importance: Medium → Low
tags: removed: stx.4.0
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.