From 40f2472a210808f74d0be3ffbb8607c39d10004f Mon Sep 17 00:00:00 2001 From: Muhammad Shalahuddin Yahya Sunarko <34974598+MuhammadSYahyaS@users.noreply.github.com> Date: Thu, 24 Aug 2023 12:51:57 +0400 Subject: [PATCH] Bump nuclio version and fix issues from the outdated version (#6610) Issue https://github.com/opencv/cvat/issues/6183 still exists in CVAT v2.5.2. Following up the addressed issue https://github.com/nuclio/nuclio/issues/2938 in the [nuclio community](https://github.com/nuclio/nuclio), they suggested to use new nuclio version (1.11.x). It seems that the templates fetching mechanism on the old nuclio versions is not supported anymore, causing the mentioned issue. ### How has this been tested? Following the [Semi-automatic and Automatic Annotation](https://opencv.github.io/cvat/docs/administration/advanced/installation_automatic_annotation/) guideline on the CVAT v2.5.2 release branch (for the sake of stability) in a RHEL 8 machine, but changed the nuclio version to 1.11.24 and disabling the `/tmp` mounting to the nuclio container. Additionally, removed the unused static IP address value in the `no_proxy` environment. Tested using [SAM model](https://www.cvat.ai/post/facebook-segment-anything-model-in-cvat) with GPU following that guideline on some random images from a remote client. --- CHANGELOG.md | 1 + components/serverless/docker-compose.serverless.yml | 5 ++--- .../advanced/installation_automatic_annotation.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d544a138a2e6..eed44f701af0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Bumped nuclio version to 1.11.24 and removed `/tmp` mounting in the nuclio container to adhere the update. - Response code for empty cloud storage preview 204 -> 404 () - Organization now opened immediately after it is created () - More responsive automatic annotation progress bar () diff --git a/components/serverless/docker-compose.serverless.yml b/components/serverless/docker-compose.serverless.yml index 552edad370ca..778dc2759c11 100644 --- a/components/serverless/docker-compose.serverless.yml +++ b/components/serverless/docker-compose.serverless.yml @@ -1,17 +1,16 @@ services: nuclio: container_name: nuclio - image: quay.io/nuclio/dashboard:1.8.14-amd64 + image: quay.io/nuclio/dashboard:1.11.24-amd64 restart: always networks: - cvat volumes: - - /tmp:/tmp - /var/run/docker.sock:/var/run/docker.sock environment: http_proxy: https_proxy: - no_proxy: 172.28.0.1,${no_proxy:-} + no_proxy: ${no_proxy:-} NUCLIO_CHECK_FUNCTION_CONTAINERS_HEALTHINESS: 'true' NUCLIO_DASHBOARD_DEFAULT_FUNCTION_MOUNT_MODE: 'volume' ports: diff --git a/site/content/en/docs/administration/advanced/installation_automatic_annotation.md b/site/content/en/docs/administration/advanced/installation_automatic_annotation.md index f74cfa798c69..1a324c515c0c 100644 --- a/site/content/en/docs/administration/advanced/installation_automatic_annotation.md +++ b/site/content/en/docs/administration/advanced/installation_automatic_annotation.md @@ -29,7 +29,7 @@ description: 'Information about the installation of components needed for semi-a ``` - You have to install `nuctl` command line tool to build and deploy serverless - functions. Download [version 1.8.14](https://github.com/nuclio/nuclio/releases/tag/1.8.14). + functions. Download [version 1.11.24](https://github.com/nuclio/nuclio/releases/tag/1.11.24). It is important that the version you download matches the version in [docker-compose.serverless.yml](https://github.com/cvat-ai/cvat/blob/develop/components/serverless/docker-compose.serverless.yml). For example, using wget.