Bluefin Apps: Error "[emptyDirVolume] A dict was expected" when adding Memory Backed Volume

Description

I've just upgraded to Bluefin and got an error when editing one of my existing apps which has a "Memory Backed Volume" configured. Here is the error message from the UI:

Error: [EINVAL] values.emptyDirVolumes: Item#0 is not valid per list types: [emptyDirVolume] A dict was expected

I've captured the Websocket message that is sent when saving the app in the UI. Here you can see all details if the app I'm trying to set:

And this is the response from the server. There is also an exception Trace that should help to find the problem:

I found out that the WebUI is sending a wrong format for the emptyDirVolumes part.

the UI sends:

But what it should send is:

I was able to update my container using the Restful API and with this format for emptyDirVolumes as a workarround.

I’ve also discussed this problem in the forum:

Problem/Justification

None

Impact

None

Activity

Show:

Macgyver Hoferkamp April 13, 2023 at 2:31 AM

@Bonnie Follweiler not sure if it's just me, but I am still experiencing this issue in 22.12.2 even though it claims to be fixed in the release notes. Am I missing something?

Dave Cole February 19, 2023 at 5:01 AM

I might be missing something here, but should the schema be expanded to allow a sizeLimit?

The example from kubernetes docs:

Bug Clerk February 9, 2023 at 1:00 PM

Automation for Jira February 9, 2023 at 1:00 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk February 8, 2023 at 11:53 AM

Complete

Details

Assignee

Reporter

Labels

Impact

Medium

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created December 16, 2022 at 12:04 PM
Updated April 13, 2023 at 12:17 PM
Resolved February 9, 2023 at 1:00 PM