Can't remove oidc-app when its in failed state

Bug #1888961 reported by ayyappa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
Low
Unassigned

Bug Description

Brief Description
-----------------

If the app is in failed state for some reason(one of the image pull failed), trying to remove/delete the app fails and it stays in that failed state forever

Severity
--------
Major

Steps to Reproduce
------------------
1)If the oidc app is in failed state, we need to explicitly bring the app to failed to reproduce this bug, one of the scenario is make the image pull fail

2)Trying to remove,delete the app fails
system application-remove oidc-auth-apps

system application-list
[sysadmin@controller-1 ssl(keystone_admin)]$ system application-list
+--------------------------+---------+-----------------------------------+----------------------------------------+---------------+-----------------------------------+
| application | version | manifest name | manifest file | status | progress |
+--------------------------+---------+-----------------------------------+----------------------------------------+---------------+-----------------------------------+
| cert-manager | 1.0-5 | cert-manager-manifest | certmanager-manifest.yaml | applied | completed |
| nginx-ingress-controller | 1.0-0 | nginx-ingress-controller-manifest | nginx_ingress_controller_manifest.yaml | applied | completed |
| oidc-auth-apps | 1.0-27 | oidc-auth-manifest | manifest.yaml | remove-failed | operation aborted, check logs for |
| | | | | | detail |
| | | | | | |
| platform-integ-apps | 1.0-9 | platform-integration-manifest | manifest.yaml | applied | completed |
+--------------------------+---------+-----------------------------------+----------------------------------------+---------------+-----------------------------------+

Expected Behavior
------------------
the app should be removed even if its in failed state

Actual Behavior
----------------
it fails to remove or delete the app

Reproducibility
---------------
100%

System Configuration
--------------------
wp_13_14 duplex ipv6

Branch/Pull Time/Commit
-----------------------
2020-07-25

Last Pass
---------
This is a new scenario

Timestamp/Logs
--------------
2020-07-25 20:27:24.752

Test Activity
-------------
Automation

Workaround
----------
haven't found any

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

Is this specific to the oidc application? Or is this issue seen in other applications?

Changed in starlingx:
status: New → Incomplete
Revision history for this message
ayyappa (mantri425) wrote :

Also seen this with other apps, interestingly after a while(maybe some lock time expired,not sure) it allows the user to remove,delete.

Ghada Khalil (gkhalil)
tags: added: stx.apps stx.containers
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Given the remove/delete eventually passes, suggest to mark this as Low priority / not gating for any release

Changed in starlingx:
status: Incomplete → New
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
Changed in starlingx:
assignee: nobody → Michel Thebeau [WIND] (mthebeau)
assignee: Michel Thebeau [WIND] (mthebeau) → nobody
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.