microsoft / microsoft/pai

[v1.6.0] The nodes added after installation do not use the local docker cache by default.

Open
#5,462 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

Organization Name:

Short summary about the issue/question: The nodes added after installation do not use the local docker cache by default.

Brief what process you are following:

  1. install v1.6.0 on master and work-01 (/etc/docker/daemon.json on master must be {});
  2. add node worker-02;
  3. open /etc/docker/daemon.json.

master:

{"insecure-registries": ["http://master_ip:30500"], "registry-mirrors": ["http://master_ip:30500"]}

work-01:

{"default-runtime": "nvidia", "registry-mirrors": ["http://master_ip:30500"], "runtimes": {"nvidia": {"path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": []}}, "insecure-registries": ["http://master_ip:30500"]}

work-02:

{
  "default-runtime": "nvidia",
  "runtimes": {
      "nvidia": {
          "path": "/usr/bin/nvidia-container-runtime",
          "runtimeArgs": []
      }
  }
}

How to reproduce it:

OpenPAI Environment:

  • OpenPAI version: v1.6.0
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): ubuntu 16.04
  • Kernel (e.g. uname -a):
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.):
  • Others:

Anything else we need to know:

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 by tracing how /etc/docker/daemon.json is generated during initial installation and when work-02 is added. Compare the resulting configuration with master and work-01; done means newly added nodes receive the local registry mirror and insecure-registry settings needed to use the Docker cache by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.