This commit is contained in:
Balena CI 2023-02-14 21:09:30 +00:00
parent f1f85b364a
commit 29ad906146
No known key found for this signature in database
GPG key ID: E2ADEC9754128402
3 changed files with 125 additions and 1 deletions

View file

@ -1,3 +1,100 @@
- commits:
- subject: Update layers/meta-balena to 7cc56305880ded60850c3440840dcdba823bd179
hash: f2cf879ec3ef1bd195edcf309cc8dacf92ef492c
body: Update layers/meta-balena
footer:
Changelog-entry: Update layers/meta-balena to 7cc56305880ded60850c3440840dcdba823bd179
changelog-entry: Update layers/meta-balena to 7cc56305880ded60850c3440840dcdba823bd179
author: Renovate Bot
nested:
- commits:
- subject: Update balena-supervisor to v14.9.0
hash: d436bcdd9aedb07602b7ac18008525312409fb82
body: |
Update balena-supervisor from 14.8.0 to 14.9.0
footer:
Change-type: minor
change-type: minor
author: Renovate Bot
nested:
- commits:
- subject: Find and remove duplicate networks
hash: 89175432af9beb9f9765a6cfdbc8914a8eae251e
body: >
We have seen a few times devices with duplicated network names for some
reason. While we don't know the cause the networks get duplicates, this
can be disruptive for updates as trying to create a container referencing a duplicate
network results in a 400 error from the engine.
This commit finds and removes duplicate networks via the state engine,
this means that even if somehow a container could be referencing a
network that has been duplicated later somehow, this will remove the
container first.
While thies doesn't solve the problem of duplicate networks being
created in the first place, it will fix the state of the system to
correct the inconsistency.
footer:
Change-type: minor
change-type: minor
Closes: "#590"
closes: "#590"
author: Felipe Lalanne
nested: []
- subject: Reference networks by Id instead of by name
hash: 180c4ff31ad719fb2b00217548514d42a4b5c4cf
body: >
We have seen a few times devices with duplicated network names for some
reason. While we don't know the cause the networks get duplicates,
this is disruptive of updates, as the supervisor usually queries
resource by name, resulting in a 400 error from the engine because of
the ambiguity.
This replaces those queries by name to queries by id. This includes
network removal. If a `removeNetwork` step is generated, the supervisor
opts to remove all instances of the network with the same name as it
cannot easily resolve the ambiguity.
This doesn't solve the problem of ambiguous networks, because even if
networks are referenced by id when creating a container, the engine will
throw an error (see https://github.com/balena-os/balena-supervisor/issues/590#issuecomment-1423557871)
footer:
Change-type: patch
change-type: patch
Relates-to: "#590"
relates-to: "#590"
author: Felipe Lalanne
nested: []
version: balena-supervisor-14.9.0
title: ""
date: 2023-02-14T17:10:08.122Z
version: meta-balena-2.112.0
title: ""
date: 2023-02-14T19:28:11.748Z
version: 2.112.0
title: ""
date: 2023-02-14T21:09:25.478Z
- commits:
- subject: Update layers/meta-balena to b48ce7abc1eb2506eb81ebbb18a1c4b90e55c4d4
hash: 3ea1c5caaa03d465a6c578f4fabf849700ab384c

View file

@ -1,6 +1,33 @@
Change log
-----------
# v2.112.0
## (2023-02-14)
<details>
<summary> Update layers/meta-balena to 7cc56305880ded60850c3440840dcdba823bd179 [Renovate Bot] </summary>
> ## meta-balena-2.112.0
> ### (2023-02-14)
>
>
> <details>
> <summary> Update balena-supervisor to v14.9.0 [Renovate Bot] </summary>
>
>> ### balena-supervisor-14.9.0
>> #### (2023-02-14)
>>
>> * Find and remove duplicate networks [Felipe Lalanne]
>> * Reference networks by Id instead of by name [Felipe Lalanne]
>>
>
> </details>
>
>
</details>
# v2.111.4
## (2023-02-14)

View file

@ -1 +1 @@
2.111.4
2.112.0