fm-rest-api helm chart failure to apply with error raising the pod
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Heitor Matsui |
Bug Description
Brief Description
-----------------
While trying to apply stx-openstack application, the apply fails during the fm-rest-api helm chart, with an error while trying to raise the fm-rest-api pod.
Severity
--------
Critical: System/Feature is not usable due to the defect
Steps to Reproduce
------------------
- system application-upload <stx-openstack.
- system application-apply stx-openstack
Expected Behavior
------------------
Application stx-openstack applied successfully
Actual Behavior
----------------
Application stx-openstack apply-failure with timeout
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
20211118T032155Z
Last Pass
---------
Unknown
Timestamp/Logs
--------------
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
2021-11-
Test Activity
-------------
Sanity
Workaround
----------
None
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
assignee: | nobody → Heitor Matsui (heitormatsui) |
Changed in starlingx: | |
importance: | High → Critical |
Reviewed: https:/ /review. opendev. org/c/starlingx /helm-charts/ +/818454 /opendev. org/starlingx/ helm-charts/ commit/ 4c6bd7423d776a9 14ef6743fcb50a6 f7434d324a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4c6bd7423d776a9 14ef6743fcb50a6 f7434d324a
Author: Heitor Matsui <email address hidden>
Date: Thu Nov 18 16:14:06 2021 -0300
Include CONTAINER env var in fm helm chart
Currently the stx-openstack application apply is failing during
the fm-rest-api helm chart, and the pod log indicate a file not
found error while creating the log handler, as it uses a syslog
handler (/dev/log socket) that doesn't exist on the pod.
This change includes an environment variable to indicate that
it is running in a container, so that when in this condition fm
writes it's logs to standard output instead of using the syslog
handler.
Partial-Bug: 1951579 8878843730143bb 1e5f8d6a6fd
Signed-off-by: Heitor Matsui <email address hidden>
Change-Id: Icd853ae34851df