Skip to content

LUNA PLATFORM v.5.58.0#

LP changes

  • Note: After one release, the default value of the neural network for extracting face descriptors will be updated from version 59 to version 62. Support for version 52 of the neural network will also be discontinued.

  • Support for using a token (Bearer authentication) via cookies has been added to simplify the authentication process in web browsers.

    To save Cookies, you need to perform the "set login cookie" request, specifying the token as authorization. The cookies are then sent back to the user's browser. Subsequent requests sent by the user's browser automatically include these Cookies, allowing the server to recognize the user's authorization, without having to explicitly send a token in each request.

    If necessary, you can clear Cookies by requesting "clear login cookie".

  • A new environment variable "LUNA_SKIP_CHECK_CONNECTION" has been added to all services.

    The variable enables you to disable connection check (value "1") to all general services (Image Store, Faces, etc.), which is performed by default at the start of the service.

    Connection check is performed to exclude errors related to incorrect configuration of the LUNA PLATFORM, but it may slow down the process of lifting the container. In addition, in some cases, checking the connection can cause problems when lifting the container, especially if the connection is unstable.

    The environment variable can be passed using the --env argument when starting the container.

  • Support for running services using the HTTPS protocol has been added.

    To utilize this feature, the following command line arguments need to be provided for the respective service:

    • tls_cert — Path to the SSL certificate.
    • tls_key — Path to the SSL private key.
    • tls_key_pass — Password for the SSL private key (optional).

    Example command: python3 /srv/luna_<service>/run.py --tls_cert /srv/my_certificate.crt --tls_key /srv/my_private_key.key --tls_key_pass my_password

    Note that the certificate and key must be mounted to the Docker container in the specified directories.

    A list of all available arguments can be obtained using the following command: python3 /srv/luna_<service>/run.py -h

  • The ability to specify the environment variable --EXTEND_CMD has been added to all LP services. This enables passing arguments to the service launch command that are not covered by existing environment variables.

    For example, you can explicitly set tagged settings when starting services: --env=EXTEND_CMD="--INFLUX_MONITORING=TAG_1 --LUNA_EVENTS_DB=TAG_2"

    See the "Service arguments" section in the installation manuals for details on environment variables and arguments.

  • A new parameter "workers" has been added to the bodies of "create lambda" and "put lambda" requests, enabling you to allocate the number of workers to the specified Lambda instance.

  • SDK version for Handlers-lambda has been updated from version 5.16.0 to version 5.17.0.

LP fixed errors

  • In the descriptions of the "create handler", "validate handler policies" and "generate events" requests, the lack of information about the allowed length of characters in the "callbacks" policy parameters has been fixed.

  • Fixed the error that caused the new value of a setting passed in an environment variable to not be updated if the setting was not in the Configurator service or configuration file.

  • Fixed the "Internal server error" that occurred when trying to access resources /1/buckets/{bucket}/objects/{object_id} and /1/buckets/{bucket}/objects of the Image Store service, which are not supported methods.

    Correct errors are now returned.

  • Fixed the error due to which, when creating an Estimator task with a non-existent handler, a corresponding entry was still created in the Handlers database.