Skip to content

Skaled and IMA containers are not being cleaned up during update #963

@oleksandrSydorenkoJ

Description

@oleksandrSydorenkoJ

Preconditions
1 active schain on 4 nodes created on 4.0.2 release versions

Versions
initial versions
CLI_VERSION=2.6.2
CONTAINER_CONFIGS_STREAM="regression-4.0.2"

versions to update
CLI_VERSION=3.0.2-beta.2
CONTAINER_CONFIGS_STREAM="qa-5.0.patches"

To Reproduce

  1. Update init-env for 5.0 release format
  2. update node-cli version
CLI_VERSION=3.2.0-beta.2 && sudo -E bash -c "curl -L [https://github.com/skalenetwork/node-cli/releases/download/$CLI_VERSION/skale-$CLI_VERSION-`uname](https://github.com/skalenetwork/node-cli/releases/download/$CLI_VERSION/skale-$CLI_VERSION-%60uname) -s`-`uname -m` > /usr/local/bin/skale"

sudo chmod +x /usr/local/bin/skale
  1. Run `skale node update init-env``
  2. Wait till the update complited and check the skaled and ima comtainers

Expected behavior
Should be presented skaled and ima from 5.0 release

Actual state
Skaled and IMA containers are not being cleaned up during the update, and are still present on the 4.0.2 release versions
And the Skaled and IMA containers has been running on 5.0 release versions

Logs

3.2.0-beta.2-node-cli-failed-skaled-ima-cleanup-debug.txt
3.2.0-beta.2-node-cli-failed-skaled-ima-cleanup.txt

4ee371817f3b   skalenetwork/ima:2.1.0                          "bash /ima/runner/ru…"   14 hours ago   Up 40 minutes                             sk_ima_used-canine-elnath
0e295371cd1f   skalenetwork/ima:2.1.0                          "bash /ima/runner/ru…"   14 hours ago   Up 35 minutes                             sk_ima_pleased-hairy-wezn
e05e16567250   skalenetwork/schain:5.0.0-beta.0                "/skaled/skaled --co…"   14 hours ago   Exited (1) 13 hours ago                   sk_skaled_used-canine-elnath
80cb6bb0d48f   skalenetwork/schain:5.0.0-beta.0                "/skaled/skaled --co…"   14 hours ago   Exited (1) 13 hours ago                   sk_skaled_pleased-hairy-wezn
07414a8687a9   telegraf:1.27.4                                 "/entrypoint.sh tele…"   14 hours ago   Up 14 hours                               skale_telegraf
dc94e47205c9   quay.io/prometheus/node-exporter                "/bin/node_exporter …"   14 hours ago   Up 14 hours                               monitor_node_exporter
8fb4d7dfecad   gcr.io/cadvisor/cadvisor-amd64:v0.50.0          "/usr/bin/cadvisor -…"   14 hours ago   Up 14 hours (healthy)                     monitor_cadvisor
1cac0a0f14a0   skalenetwork/admin:3.3.0-beta.2                 "celery -A tools.not…"   14 hours ago   Up 14 hours                               celery
c18f43cc8490   nginx:1.29.5                                    "/docker-entrypoint.…"   14 hours ago   Up 14 hours                               sk_nginx
1d4c2fe17de3   elastic/filebeat:9.2.5                          "/usr/bin/tini -- /u…"   14 hours ago   Up 14 hours                               sk_filebeat
cb6701f6b628   redis:8.6.0-alpine                              "docker-entrypoint.s…"   14 hours ago   Up 14 hours                               sk_redis
b870d7d05a9c   skalenetwork/transaction-manager:3.2.0-beta.0   "python3 -m transact…"   14 hours ago   Up 14 hours                               sk_tm
9ff89512d30c   skalenetwork/watchdog:3.2.0-beta.0              "uwsgi --ini uwsgi.i…"   14 hours ago   Up 14 hours                               sk_watchdog
3ff6b2ff757e   skalenetwork/admin:3.3.0-beta.2                 "gunicorn skale_api:…"   14 hours ago   Up 14 hours                               sk_api
ad73b2e8482c   skalenetwork/bounty-agent:3.1.0-beta.0          "python3 bounty_agen…"   14 hours ago   Up 14 hours                               sk_bounty
d19c981e7a4d   skalenetwork/admin:3.3.0-beta.2                 "python3 skale_admin…"   14 hours ago   Up 14 hours (unhealthy)                   sk_admin
f7b8c572d323   skalenetwork/ima:2.1.0                          "bash /ima/runner/ru…"   15 hours ago   Restarting (1) 36 seconds ago             skale_ima_used-canine-elnath
d78b594f913b   skalenetwork/schain:4.0.2                       "/skaled/skaled --co…"   15 hours ago   Up 15 hours                               skale_schain_used-canine-elnath
deac04997349   skalenetwork/ima:2.1.0                          "bash /ima/runner/ru…"   16 hours ago   Restarting (1) 23 seconds ago             skale_ima_pleased-hairy-wezn
eee4e6601194   skalenetwork/schain:4.0.2                       "/skaled/skaled --co…"   16 hours ago   Up 16 hours                               skale_schain_pleased-hairy-wezn

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

QA

Relationships

None yet

Development

No branches or pull requests

Issue actions