LUNA PLATFORM v.5.40.0#
Changes
-
Starting from the current release, commands for launching PostgreSQL, InfluxDB, and Image Store containers specify paths of directories for mounting located in the root directory
/var/lib/luna/<db_or_bucket_folder>
, unlike previous versions where paths were specified for a specific LUNA PLATFORM version/var/lib/luna/current/example-docker/<db_or_bucket_folder>
.This means that PostgreSQL, InfluxDB, and Image Store data will now be stored in the root directory and will no longer need to be transferred to the directory with the new version of LUNA PLATFORM when upgrading.
The Docker Compose script has also been updated to reflect the information above.
Note: When upgrading to the current version, you must migrate the old PostgreSQL, InfluxDB, and Image Store data to the root directory, and then delete and re-create the containers with new mount directory paths. See "Move data" in the upgrade manual.
-
Added support for LUNA PLATFORM services without the Image Store service.
The service can be disabled in the "ADDITIONAL_SERVICES_USAGE" setting of the Configurator service.
Resources that require the Image Store service to be disabled will return the error
11070, Luna Image Store service is disabled
.When the Image Store service is disabled, there are some specific features to note:
-
Objects of the type
images
,objects
,samples
, and sample save policies in handlers/verifiers will be unavailable. -
All tasks, except Garbage Collection, Linker, and Estimator, will become unavailable. However, there are some limitations for these tasks:
- Garbage Collection, Estimator, Linker: after the subtask completes, the task status will be updated to
Done
, and the task result ID will beNone
. - Garbage Collection: deleting samples will become unavailable.
If the Image Store service is disabled after events with the
image_origin_policy
are generated, when using the Garbage Collection task and theremove_image_origins
parameter, the Tasks service will still attempt to delete the source images with an external URL. - Garbage Collection, Estimator, Linker: after the subtask completes, the task status will be updated to
When the Image Store service is disabled, samples and portraits, as well as the "get portrait" and "get portrait thumbnail" resources, become unavailable.
A new setting "BACKPORT3_ENABLE_PORTRAITS" has been added to the Backport 3 service, which enables you to disable the ability to use portraits but leave the ability to use the rest of the functionality of the Image Store service. If the use of the Image Store service is disabled in the "ADDITIONAL_SERVICES_USAGE" setting, then the above setting must also be disabled.
See the "Disableable services" section of the administrator manual for details.
-
-
Added support for specifying user metadata for the source image to the "generate events" request.
The metadata is passed using headers like "X-Luna-Meta-
: ", which are sent to the Image Store when the source image is saved during event generation. Headers must be specified in the
image_origin
part when using themultipart/form-data
request content type.For more information about using user metadata when saving images to the Image Store service, see the section "Source images saving" of the administrator manual.
Fixed errors
-
Fixed error where when specifying the source image in the body of the request "generate events" as not a URL, it was saved to the Image Store service regardless of the state of the
image_origin_policy
. -
Fixed description of incorrect "Content-Type" response headers for requests "detect faces" and "get list count".
-
Added new
Exclude-Header
header to almost all requests of the Admin service.This fixed an issue in the Admin UI that caused the user to log out after reloading the page.
-
Fixed license error that occurred when using a trial license for the specified number of days.