Skip to content

test-run/base not found on fresh install #14

Closed

Description

@noursaidi

test-run/base is not found on fresh install from the main or dev branches resulting in error when running cmd/start

test-run/base image must be built manually before running cmd/start

Suspect this is an ordering issue, where the network orchestrator tries to build an image which depends on test-run/base before it is built

Activity

  1. self-assigned this
    on Apr 25, 2023
  2. added this to the Sprint 4 milestone on Apr 25, 2023
  3. jboddey commented on Apr 26, 2023

    @jboddey
    Contributor

    I have created branch 27-build-order. A bug has also been created in taskflow: b/2F279713559

  4. noursaidi commented on Apr 28, 2023

    @noursaidi
    ContributorAuthor

    This is my error:

    Apr 28 10:24:18 net_orc  INFO    Starting Network Orchestrator
    Apr 28 10:24:18 validator INFO    Stopping validator
    Apr 28 10:24:18 validator INFO    Validator stopped
    Apr 28 10:24:18 net_orc  INFO    Loaded the following network modules: gateway radius dns base dhcp-2 ntp template dhcp-1 ovs 
    Apr 28 10:24:18 net_orc  INFO    Stopping network services
    Apr 28 10:24:18 net_orc  INFO    Clearing baseline network
    Apr 28 10:24:18 util     INFO    Command : ovs-vsctl --if-exists del-br tr-d
    Apr 28 10:24:18 util     INFO    Command : ovs-vsctl --if-exists del-br tr-c
    Apr 28 10:24:18 util     INFO    Command : ip link set veth1 down
    Apr 28 10:24:18 util     INFO    Command : ip link set veth1 up
    Apr 28 10:24:18 net_orc  INFO    Network is restored
    Apr 28 10:24:18 net_orc  INFO    Building network modules...
    Traceback (most recent call last):
      File "/home/noureddine_elsaidi/network-orchestrator/python/src/run.py", line 82, in <module>
        run(sys.argv)
      File "/home/noureddine_elsaidi/network-orchestrator/python/src/run.py", line 79, in run
        NetworkRunner(args)
      File "/home/noureddine_elsaidi/network-orchestrator/python/src/run.py", line 38, in __init__
        self._net_orc.build_network_modules()
      File "/home/noureddine_elsaidi/network-orchestrator/python/src/network_orchestrator.py", line 201, in build_network_modules
        self._build_module(net_module)
      File "/home/noureddine_elsaidi/network-orchestrator/python/src/network_orchestrator.py", line 206, in _build_module
        client.images.build(
      File "/home/noureddine_elsaidi/network-orchestrator/venv/lib/python3.9/site-packages/docker/models/images.py", line 306, in build
        raise BuildError(chunk['error'], result_stream)
    docker.errors.BuildError: pull access denied for test-run/base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
    
  5. transferred this issue fromon May 4, 2023
  6. jhughesoti commented on May 25, 2023

    @jhughesoti
    Contributor

    Fixed in PR: #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions