Skip to content

Commit

Permalink
docs(598): Update for SCDF limitation with application version and tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup authored Jul 21, 2023
1 parent 7bd7642 commit 09a6d00
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [#652 - \[BUG\] \[Infra\] egress nodes: additional egress node creation at netplan configuration](https://github.com/COPRS/rs-issues/issues/652)
- [#647 - \[BUG\] Bad performance to retrieve data from OBS / network congestion on Gateway.](https://github.com/COPRS/rs-issues/issues/647)
- [#558 - \[BUG\] \[Infra\] fluent-bit: grafana-loki plugin fails after node restart deletes some files](https://github.com/COPRS/rs-issues/issues/558)
- [#598 - \[BUG\] \[PRO\] The first version of a rs-core/rs-addon is always deployed instead of the new version (docker image tag)](https://github.com/COPRS/rs-issues/issues/598)

### Fixed

Expand Down
41 changes: 40 additions & 1 deletion docs/user_manuals/how-to/Limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
- [7. Manually bypass gateway for object storage traffic](#7-manually-bypass-gateway-for-object-storage-traffic)
- [Issue](#issue-6)
- [Workaround](#workaround-6)
- [8. SCDF : First known tag is always used if not explicitly specified](#8-scdf--first-known-tag-is-always-used-if-not-explicitly-specified)
- [Issue](#issue-7)
- [Workaround](#workaround-7)

## 1. Unable to use SCDF Undeploy/Deploy function without misconfiguration

Expand Down Expand Up @@ -227,4 +230,40 @@ On every nodes ( /!\ **except the gateways** /!\ ), add the subnet of the object
ip route
```

Search for the line `100.64.0.0/10 via 192.168.0.1 dev ens3 proto static`
Search for the line `100.64.0.0/10 via 192.168.0.1 dev ens3 proto static`

## 8. SCDF : First known tag is always used if not explicitly specified

Ticket : [COPRS/rs-issues#598](https://github.com/COPRS/rs-issues/issues/598)

### Issue

In SCDF, if you do not **explicitly** specify a tag version for an application, the docker tag version will be ignored and the first known will be used. For e.g. if you have the following configuration at one time, using the tag `1.12.0-rc1` in the configuration file `stream-application-list.properties` :

```shell
processor.s1l1-preparation=docker:artifactory.coprs.esa-copernicus.eu/rs-docker/rs-core-preparation-worker:1.12.0-rc1
```

SCDF will deploy the application with the tag `1.12.0-rc1`.

**Now**, if later you update the tag version to use `1.13.2-rc1` in the configuration file `stream-application-list.properties` :

```shell
processor.s1l1-preparation=docker:artifactory.coprs.esa-copernicus.eu/rs-docker/rs-core-preparation-worker:1.13.2-rc1
```

SCDF will still deploy the version `1.12.0-rc1` instead of the desired `1.13.2-rc1`.

### Workaround

You must set the application's version in the configuration file `stream-parameters.properties` :

```bash
version.preparation-worker=1.13.2-rc1
```

**And** in the configuration file `stream-application-list.properties` :

```shell
processor.s1l1-preparation=docker:artifactory.coprs.esa-copernicus.eu/rs-docker/rs-core-preparation-worker:1.13.2-rc1
```

0 comments on commit 09a6d00

Please sign in to comment.