Skip to content

LUNA PLATFORM v.5.40.0#

Summary#

  • 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: task/subtask results will not be saved
      • Garbage Collection, Estimator, Linker: after the subtask completes, the task status will be updated to Done, and the task result ID will be None.
      • 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 the remove_image_origins parameter, the Tasks service will still attempt to delete the source images with an external URL.

    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-\<user_defined_key>:<user_defined_value>", 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 the multipart/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.

API (v.6.14.0 - v.6.14.1)#

Improvements#

  • Service dependencies were updated.

  • The ADDITIONAL_SERVICES_USAGE setting was extended by LUNA_IMAGE_STORE. From now on it is possible to run Luna Api service without Luna Image Store. In this case images, objects, samples and all handlers/verifiers samples storage policies will be unavailable. Only gc/linker/estimator tasks is available in this case, subtasks/task results also will not be saved.

Fixed bugs#

Faces (v.4.8.3 - v.4.8.4)#

Improvements#

  • Service dependencies were updated.

Image Store (v.3.8.3 - v.3.8.4)#

Improvements#

  • Service dependencies were updated.

Accounts (v.0.1.3 - v.0.1.4)#

Improvements#

  • Service dependencies were updated.

Tasks (v.3.15.0 - v.3.15.1)#

Improvements#

  • Service dependencies were updated.

  • The ADDITIONAL_SERVICES_USAGE setting was extened by LUNA_IMAGE_STORE. From now on it is possible to run Luna Tasks service without Luna Image Store, but only gc/linker/estimator tasks is available in this case, subtasks/task result alse will not be saved.

Events (v.4.8.3 - v.4.8.4)#

Improvements#

  • Service dependencies were updated.

Configurator (v.2.1.6 - v.2.1.9)#

Improvements#

  • Service dependencies were updated.

Sender (v.2.6.3 - v.2.6.4)#

Improvements#

  • Service dependencies were updated.

Admin (v.5.2.0 - v.5.2.1)#

Improvements#

  • Service dependencies were updated.

  • The ADDITIONAL_SERVICES_USAGE setting was extened by LUNA_IMAGE_STORE. From now on it is possible to run Luna Admin service without Luna Image Store. Only gc tasks is available in this case, subtasks/task results also will not be saved.

Fixed bugs#

  • Header Exclude-Header was added to exclude WWW-Authorization from response and prevent standard basic authentication form from appearing, which made logging out impossible until browser restart

Licenses (v.0.6.4 - v.0.6.7)#

Improvements#

  • HASP library was updated to version 1.7.3.

  • Service dependencies were updated.

Fixed bugs#

  • Fixed bug which caused error when using trial license for specified number of days.

Handlers (v.2.17.0 - v.2.17.1)#

Improvements#

  • Support for image origin user-defined headers was added for event generation . Headers to be passed to the Luna Image Store when saving an image origin should be specified in the image_origin part of the multipart request.

  • The ADDITIONAL_SERVICES_USAGE setting was extened by LUNA_IMAGE_STORE. From now on it is possible to use Luna Handlers without Luna Image Store service.

  • If LUNA_SENDER from ADDITIONAL_SERVICES_USAGE setting turned off, the attempt to use handler with enabled notification policy will lead to 403 error.

Fixed bugs#

  • Saving the image_origin according image_origin_policy for requests to generate events .

Python Matcher and Python Matcher Proxy (v.1.4.3 - v.1.5.0)#

Improvements#

Backport3 (v.0.7.3 - v.0.8.0)#

Improvements#

  • The possibility to run Luna Backport 3 without Luna Image Store was added (The BACKPORT3_ENABLE_PORTRAITS setting).

    If BACKPORT3_ENABLE_PORTRAITS is disabled:

  • Service dependencies were updated.

Backport4 (v.1.3.3 - v.1.3.4)#

Improvements#

  • Service dependencies were updated.