armada raises a 404 exception on a transient resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Iago Filipe |
Bug Description
Brief Description
-----------------
Application reapply failed due to a non-existing job while trying to delete it. During an application reapply armada receives a 404 response from the Kubernetes API for a resource (job in this case) that does not exist. This happens because the job has a lifecycle, every x minutes the job disappears. Armada must handle the response "gracefully" and continue to execute the application reapply if the resource was not found.
Severity
--------
Minor
Steps to reproduce
------------------
Execute an application reapply.
Actual Behavior
----------------
Breaking the application reapply if the job was not found.
Expected Behavior
----------------
Don't break the application reapply if the job was not found.
Reproducibility
---------------
Intermittent.
System Configuration
-------
Duplex
Branch/Pull Time/Commit
-------
Unknown
Last Pass
---------
Unknown
Timestamp/Logs
--------------
2021-09-18 15:15:27.699 1075 INFO armada.
2021-09-18 15:15:27.699 1075 DEBUG armada.handlers.k8s [-] [chart=
2021-09-18 15:15:27.716 1075 ERROR armada.handlers.k8s [-] [chart=
Reason: Not Found
Workaround
----------
Reapply the application.
Changed in starlingx: | |
assignee: | nobody → Iago Filipe (ifest1) |
description: | updated |
description: | updated |
description: | updated |
summary: |
- application reapply breaking: job was not found + armada raises a 404 exception on a transient resource |
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.containers |
Changed in starlingx: | |
status: | In Progress → Invalid |
Changed in starlingx: | |
status: | Invalid → In Progress |
Change abandoned by "Iago Filipe <email address hidden>" on branch: master /review. opendev. org/c/starlingx /integ/ +/814906 /opendev. org/starlingx/ integ/src/ commit/ 7e4d52bc3b30527 9fbbff56e7a8abf 6f2e590f06/ kubernetes/ armada/ centos/ files/0001- Add-Helm- v2-client- initialization- using-tiller- postS.patch specifies the symbolic link creation inside the tiller container, thus no need to update the helmv2-cli anymore.
Review: https:/
Reason: https:/