This commit is contained in:
flowzone-app[bot] 2023-06-23 18:46:29 +00:00 committed by GitHub
parent a0effca2c2
commit 098494d6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 46 additions and 6 deletions

View File

@ -1,3 +1,38 @@
- commits:
- subject: Parse container exit error message instead of status
hash: 71d24d6e3366b28e1466e99322d58420b5ebbb67
body: >
The previous implementation in #2170 of parsing the container status was
too general,
because it relied on the mistaken assumption that a container would have a status of
`Stopped` if it was manually stopped. This turned out to be untrue, as manually stopped
containers were also getting restarted by the Supervisor due to their inspect status of
`exited`. With this, parsing the exit message became unavoidable as there are no other
clear ways to discern a container that has been manually stopped and shouldn't be started
from a container experiencing the Engine-host race condition issue (again, see #2170).
Since we're just parsing the exit error message, we don't need to worry about different behaviors
amongst restart policies, as any container with the error message on exit should be started.
footer:
Change-type: patch
change-type: patch
Closes: "#2178"
closes: "#2178"
Signed-off-by: Christina Ying Wang <christina@balena.io>
signed-off-by: Christina Ying Wang <christina@balena.io>
author: Christina W
nested: []
version: 14.11.8
title: ""
date: 2023-06-23T18:46:22.881Z
- commits:
- subject: Fix /v2/applications/state endpoint
hash: 12eac04484e3c0a347b6f31783ed7973991046fa

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
# v14.11.8
## (2023-06-23)
* Parse container exit error message instead of status [Christina W]
# v14.11.7
## (2023-06-19)

View File

@ -1 +1 @@
14.11.7
14.11.8

View File

@ -2,6 +2,6 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false
type: sw.application
version: 14.11.7
version: 14.11.8
provides:
- slug: sw.compose.long-volume-syntax

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "balena-supervisor",
"version": "14.11.7",
"version": "14.11.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "balena-supervisor",
"version": "14.11.7",
"version": "14.11.8",
"license": "Apache-2.0",
"dependencies": {
"@balena/happy-eyeballs": "0.0.6",

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "14.11.7",
"version": "14.11.8",
"license": "Apache-2.0",
"repository": {
"type": "git",
@ -146,6 +146,6 @@
}
},
"versionist": {
"publishedAt": "2023-06-19T21:54:56.753Z"
"publishedAt": "2023-06-23T18:46:23.741Z"
}
}