drakkar-lig / drakkar-lig/walt-python-packages

Default images should be updated over time.

Open
#98 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Default images (waltplatform/<node-model>-default) are downloaded from a docker registry (docker hub, most of the time), stored on the server, and then assigned to new nodes and nodes becoming free (walt node release <node>).

After the first node of a given model is detected and cause downloading of this default image, the current software does not allow this image to be updated. It is not a serious problem because backward compatibility is still maintained with future server software.

However, new WALT users also get a clone of these default images at first. Getting newer images, providing more features and an up-to-date OS, would be better for them.

Plan:

  1. Try (i.e., do not fail if one of the registries configured is down) to update default images at each start of walt-server-daemon.
  2. Provide a subcommand walt advanced update-default-images for explicit update requests.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the walt-server-daemon startup path and the walt advanced update-default-images command described in the issue. Trace how default images are downloaded from configured registries and stored on the server. Done means startup attempts updates without failing when a registry is unavailable, and the subcommand explicitly requests the same update.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.