Skip to content

Commit

Permalink
Bump nuclio version and fix issues from the outdated version (#6610)
Browse files Browse the repository at this point in the history
Issue #6183 still exists in CVAT
v2.5.2. Following up the addressed issue
nuclio/nuclio#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.
  • Loading branch information
MuhammadSYahyaS authored Aug 24, 2023
1 parent 4a5aa28 commit 40f2472
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<https://github.com/opencv/cvat/pull/6727>)
- Organization now opened immediately after it is created (<https://github.com/opencv/cvat/pull/6705>)
- More responsive automatic annotation progress bar (<https://github.com/opencv/cvat/pull/6734>)
Expand Down
5 changes: 2 additions & 3 deletions components/serverless/docker-compose.serverless.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 40f2472

Please sign in to comment.