+
Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Vagrantfile could not sync feed metadata from service #65

Open
@Ninroot

Description

@Ninroot

Hi,

When cloning the Anchore repo and spinning up the vagrant VM, the installation fails systematically. Actually it fails also when I try to reproduce the installation manually.

The error looks really close to #57 except I am pretty sure it was working last week.

/tmp » git clone https://github.com/anchore/anchore.git && cd anchore && vagrant up                                                                       11:20:40 ninroot@arnauds-mbp
Cloning into 'anchore'...
remote: Enumerating objects: 3443, done.
remote: Total 3443 (delta 0), reused 0 (delta 0), pack-reused 3443
Receiving objects: 100% (3443/3443), 936.64 KiB | 2.09 MiB/s, done.
Resolving deltas: 100% (2604/2604), done.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial64' version '20190605.0.0' is up to date...
    [...]
==> default: Setting hostname...
==> default: Running provisioner: shell...
    default: Running: inline script
    default: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
    [...]
    default: Get:24 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,184 B]
    default: Fetched 16.5 MB in 3s (5,204 kB/s)
    default: Reading package lists...
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: ca-certificates is already the newest version (20170717~16.04.2).
    default: curl is already the newest version (7.47.0-1ubuntu2.13).
    default: software-properties-common is already the newest version (0.96.20.8).
    default: The following packages will be upgraded:
    default:   apt-transport-https
    default: 1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
    default: Need to get 26.5 kB of archives.
    default: After this operation, 0 B of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.32 [26.5 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 26.5 kB in 0s (77.5 kB/s)
    default: (Reading database ... 
    default: (Reading database ... 5%
    default: (Reading database ... 10%
    default: (Reading database ... 15%
    default: (Reading database ... 20%
    default: (Reading database ... 25%
    default: (Reading database ... 30%
    default: (Reading database ... 35%
    default: (Reading database ... 40%
    default: (Reading database ... 45%
    default: (Reading database ... 50%
    default: (Reading database ... 55%
    default: (Reading database ... 60%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
    default: (Reading database ... 100%
    default: (Reading database ... 
    default: 54233 files and directories currently installed.)
    default: Preparing to unpack .../apt-transport-https_1.2.32_amd64.deb ...
    default: Unpacking apt-transport-https (1.2.32) over (1.2.31) ...
    default: Setting up apt-transport-https (1.2.32) ...
    default: OK
    default: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
    default: Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
    default: Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
    default: Get:4 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
    default: Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
    default: Get:6 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages [8,482 B]
    default: Fetched 74.7 kB in 0s (87.8 kB/s)
    default: Reading package lists...
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   aufs-tools cgroupfs-mount containerd.io docker-ce-cli libltdl7 pigz
    default: Suggested packages:
    default:   mountall
    default: The following NEW packages will be installed:
    default:   aufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli libltdl7
    default:   pigz
    default: 0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
    default: Need to get 50.5 MB of archives.
    default: After this operation, 243 MB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pigz amd64 2.3.1-2 [61.1 kB]
    default: Get:2 https://download.docker.com/linux/ubuntu xenial/stable amd64 containerd.io amd64 1.2.5-1 [19.9 MB]
    default: Get:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 aufs-tools amd64 1:3.2+20130722-1.1ubuntu1 [92.9 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4,970 B]
    default: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libltdl7 amd64 2.4.6-0.1 [38.3 kB]
    default: Get:6 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce-cli amd64 5:18.09.6~3-0~ubuntu-xenial [13.0 MB]
    default: Get:7 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce amd64 5:18.09.6~3-0~ubuntu-xenial [17.4 MB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 50.5 MB in 20s (2,501 kB/s)
    default: Selecting previously unselected package pigz.
    default: (Reading database ... 
    default: (Reading database ... 5%
    [...]
    default: (Reading database ... 100%
    default: (Reading database ... 
    default: 54233 files and directories currently installed.)
    [...]
    default: Setting up python-rpm (4.12.0.1+dfsg1-3build3) ...
    default: Setting up yum (3.4.3-3) ...
    default: Processing triggers for libc-bin (2.23-0ubuntu11) ...
    default: latest: 
    default: Pulling from library/nginx
    default: fc7181108d40: 
    default: Pulling fs layer
    default: c4277fc40ec2: 
    default: Pulling fs layer
    default: 780053e98559: 
    default: Pulling fs layer
    default: 780053e98559: 
    default: Verifying Checksum
    default: 780053e98559: 
    default: Download complete
    default: c4277fc40ec2: Verifying Checksum
    default: c4277fc40ec2: Download complete
    default: fc7181108d40: 
    default: Verifying Checksum
    default: fc7181108d40: 
    default: Download complete
    default: fc7181108d40: 
    default: Pull complete
    default: c4277fc40ec2: 
    default: Pull complete
    default: 780053e98559: 
    default: Pull complete
    default: Digest: sha256:bdbf36b7f1f77ffe7bd2a32e59235dff6ecf131e3b6b5b96061c652f30685f3a
    default: Status: Downloaded newer image for nginx:latest
    default: Cloning into 'anchore'...
    default: Processing /home/vagrant/anchore
    default: Collecting docker-py (from anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/23/c7/1fd6d4d620809fe2f323869d719e2dd0086c939b67021303a9ec40f5a05b/docker_py-1.10.6-py2.py3-none-any.whl (50kB)
    default: Collecting prettytable (from anchore===1.1.9.dev0)
    default:   Downloading
     [...]
    default:   Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
    default: Collecting setuptools (from jsonschema->anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
    default: Collecting pyrsistent>=0.14.0 (from jsonschema->anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/68/0b/f514e76b4e074386b60cfc6c8c2d75ca615b81e415417ccf3fac80ae0bf6/pyrsistent-0.15.2.tar.gz (106kB)
    default: Building wheels for collected packages: prettytable, pyyaml, clint, backports.ssl-match-hostname, args, functools32, pyrsistent
    default:   Running setup.py bdist_wheel for prettytable: started
    default:   Running setup.py bdist_wheel for prettytable: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606
    default:   Running setup.py bdist_wheel for pyyaml: started
    default:   Running setup.py bdist_wheel for pyyaml: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/16/27/a1/775c62ddea7bfa62324fd1f65847ed31c55dadb6051481ba3f
    default:   Running setup.py bdist_wheel for clint: started
    default:   Running setup.py bdist_wheel for clint: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/4f/e9/45/223565e5b1a4b09e12c6de6f8ba7c2c0e9127dec17cf830f83
    default:   Running setup.py bdist_wheel for backports.ssl-match-hostname: started
    default:   Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/f1/ad/d7/c184cf1ef67b07f98565dc52f91ed4f9a759b7b46674b2fd76
    default:   Running setup.py bdist_wheel for args: started
    default:   Running setup.py bdist_wheel for args: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/58/54/ea/d995d18af68c057eb76b87b02c92bc66ac34d360ef141780f4
    default:   Running setup.py bdist_wheel for functools32: started
    default:   Running setup.py bdist_wheel for functools32: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
    default:   Running setup.py bdist_wheel for pyrsistent: started
    default:   Running setup.py bdist_wheel for pyrsistent: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/6b/b9/15/c8c6a1e095a370e8c3273e65a5c982e5cf355dde16d77502f5
    default: Successfully built prettytable pyyaml clint backports.ssl-match-hostname args functools32 pyrsistent
    default: Installing collected packages: urllib3, certifi, chardet, idna, requests, backports.ssl-match-hostname, six, docker-pycreds, ipaddress, websocket-client, docker-py, prettytable, click, pyyaml, args, clint, attrs, functools32, setuptools, pyrsistent, jsonschema, enum34, anchore
    default:   Running setup.py install for anchore: started
    default:     Running setup.py install for anchore: finished with status 'done'
    default: Successfully installed anchore args attrs backports.ssl-match-hostname certifi chardet click clint docker-py docker-pycreds enum34 functools32 idna ipaddress jsonschema prettytable pyrsistent pyyaml requests setuptools-20.7.0 six urllib3 websocket-client
    default: You are using pip version 8.1.1, however version 19.1.1 is available.
    default: You should consider upgrading via the 'pip install --upgrade pip' command.
    default: initializing feed metadata: ...
    default: ERROR could not sync feed metadata from service: cannot get list of feeds from service
    default: Message from server: "connection timed out: increase anchore_auth_conn_timeout higher or try again"
    default: initializing feed metadata: ...
    default: ERROR could not sync feed metadata from service: cannot get list of feeds from service
    default: Message from server: "connection timed out: increase anchore_auth_conn_timeout higher or try again"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载