Docker public key problem during istallation
smolit opened this issue · 1 comments
Hi @ALL,
while running net_demo_installer script I am getting an error @task [docker | add docker's public key for CS-engine (debian)](see end of output).
Is there a solution availabel?
Thank you in advance
Sebastian
labor@ubuntu15-1:~$ ./net_demo_installer
Using version: v0.1-07-14-2016.07-06-17.UTC
- CheckOSTypeAndVersion
++ GetLinuxOS
++ sed 's/"//g'
++ awk -F= '/^NAME/{print $2}' /etc/os-release - os=Ubuntu
- CheckOSType Ubuntu
- [[ ! Ubuntu =~ ^(Ubuntu|CentOS) ]]
- echo OS is supported.
OS is supported. - return 0
++ GetOSVersion
++ sed 's/"//g'
++ awk -F= '/^VERSION_ID/{print $2}' /etc/os-release - ver=15.10
- [[ Ubuntu =~ ^Ubuntu ]]
- CheckOSVersion 15.10 '15.*'
- [[ ! 15.10 =~ ^15.* ]]
- echo OS version matched.
OS version matched. - return 0
- [[ Ubuntu =~ ^CentOS ]]
++ GetLinuxOS
++ sed 's/"//g'
++ awk -F= '/^NAME/{print $2}' /etc/os-release - OS_TYPE=Ubuntu
- [[ Ubuntu =~ ^Ubuntu ]]
- sudoExec apt-get update
- sudo -E apt-get update
Ign http://ppa.launchpad.net wily InRelease
Ign http://ppa.launchpad.net wily Release.gpg
Ign http://ppa.launchpad.net wily Release
Holen: 1 http://security.ubuntu.com wily-security InRelease [65,9 kB]
Holen: 2 http://de.archive.ubuntu.com wily InRelease [218 kB]
Fehl http://ppa.launchpad.net wily/main amd64 Packages
403 Forbidden
Fehl http://ppa.launchpad.net wily/main i386 Packages
403 Forbidden
Ign http://ppa.launchpad.net wily/main Translation-de_DE
Ign http://ppa.launchpad.net wily/main Translation-de
Holen: 3 http://de.archive.ubuntu.com wily-updates InRelease [65,9 kB]
Ign http://ppa.launchpad.net wily/main Translation-en
Holen: 4 http://security.ubuntu.com wily-security/main Sources [55,3 kB]
Holen: 5 http://de.archive.ubuntu.com wily-backports InRelease [65,9 kB]
Holen: 6 http://security.ubuntu.com wily-security/restricted Sources [2.854 B]
Holen: 7 http://security.ubuntu.com wily-security/universe Sources [14,3 kB]
Holen: 8 http://security.ubuntu.com wily-security/multiverse Sources [2.784 B]
Holen: 9 http://security.ubuntu.com wily-security/main amd64 Packages [180 kB]
Holen: 10 http://security.ubuntu.com wily-security/restricted amd64 Packages [10,9 kB]
Holen: 11 http://de.archive.ubuntu.com wily/main Sources [1.118 kB]
Holen: 12 http://security.ubuntu.com wily-security/universe amd64 Packages [57,3 kB]
Holen: 13 http://security.ubuntu.com wily-security/multiverse amd64 Packages [6.248 B]
Holen: 14 http://de.archive.ubuntu.com wily/restricted Sources [7.181 B]
Holen: 15 http://security.ubuntu.com wily-security/main i386 Packages [177 kB]
Holen: 16 http://security.ubuntu.com wily-security/restricted i386 Packages [10,8 kB]
Holen: 17 http://security.ubuntu.com wily-security/universe i386 Packages [57,3 kB]
Holen: 18 http://security.ubuntu.com wily-security/multiverse i386 Packages [6.430 B]
Holen: 19 http://security.ubuntu.com wily-security/main Translation-en [88,2 kB]
Holen: 20 http://security.ubuntu.com wily-security/multiverse Translation-en [2.806 B]
Holen: 21 http://security.ubuntu.com wily-security/restricted Translation-en [2.666 B]
Holen: 22 http://security.ubuntu.com wily-security/universe Translation-en [37,4 kB]
Holen: 23 http://de.archive.ubuntu.com wily/universe Sources [7.238 kB]
Holen: 24 http://de.archive.ubuntu.com wily/multiverse Sources [178 kB]
Holen: 25 http://de.archive.ubuntu.com wily/main amd64 Packages [1.420 kB]
Holen: 26 http://de.archive.ubuntu.com wily/restricted amd64 Packages [15,6 kB]
Holen: 27 http://de.archive.ubuntu.com wily/universe amd64 Packages [6.704 kB]
Holen: 28 http://de.archive.ubuntu.com wily/multiverse amd64 Packages [138 kB]
Holen: 29 http://de.archive.ubuntu.com wily/main i386 Packages [1.416 kB]
Holen: 30 http://de.archive.ubuntu.com wily/restricted i386 Packages [16,0 kB]
Holen: 31 http://de.archive.ubuntu.com wily/universe i386 Packages [6.701 kB]
Holen: 32 http://de.archive.ubuntu.com wily/multiverse i386 Packages [139 kB]
Holen: 33 http://de.archive.ubuntu.com wily/main Translation-de [665 kB]
Holen: 34 http://de.archive.ubuntu.com wily/main Translation-en [839 kB]
Holen: 35 http://de.archive.ubuntu.com wily/multiverse Translation-de [101 kB]
Holen: 36 http://de.archive.ubuntu.com wily/multiverse Translation-en [107 kB]
Holen: 37 http://de.archive.ubuntu.com wily/restricted Translation-de [3.856 B]
Holen: 38 http://de.archive.ubuntu.com wily/restricted Translation-en [4.296 B]
Holen: 39 http://de.archive.ubuntu.com wily/universe Translation-de [2.216 kB]
Holen: 40 http://de.archive.ubuntu.com wily/universe Translation-en [4.579 kB]
Holen: 41 http://de.archive.ubuntu.com wily-updates/main Sources [88,4 kB]
Holen: 42 http://de.archive.ubuntu.com wily-updates/restricted Sources [3.741 B]
Holen: 43 http://de.archive.ubuntu.com wily-updates/universe Sources [28,4 kB]
Holen: 44 http://de.archive.ubuntu.com wily-updates/multiverse Sources [3.198 B]
Holen: 45 http://de.archive.ubuntu.com wily-updates/main amd64 Packages [245 kB]
Holen: 46 http://de.archive.ubuntu.com wily-updates/restricted amd64 Packages [13,3 kB]
Holen: 47 http://de.archive.ubuntu.com wily-updates/universe amd64 Packages [105 kB]
Holen: 48 http://de.archive.ubuntu.com wily-updates/multiverse amd64 Packages [6.248 B]
Holen: 49 http://de.archive.ubuntu.com wily-updates/main i386 Packages [241 kB]
Holen: 50 http://de.archive.ubuntu.com wily-updates/restricted i386 Packages [13,4 kB]
Holen: 51 http://de.archive.ubuntu.com wily-updates/universe i386 Packages [103 kB]
Holen: 52 http://de.archive.ubuntu.com wily-updates/multiverse i386 Packages [6.676 B]
Holen: 53 http://de.archive.ubuntu.com wily-updates/main Translation-en [117 kB]
Holen: 54 http://de.archive.ubuntu.com wily-updates/multiverse Translation-en [3.156 B]
Holen: 55 http://de.archive.ubuntu.com wily-updates/restricted Translation-en [3.024 B]
Holen: 56 http://de.archive.ubuntu.com wily-updates/universe Translation-en [60,2 kB]
Holen: 57 http://de.archive.ubuntu.com wily-backports/main Sources [748 B]
Holen: 58 http://de.archive.ubuntu.com wily-backports/restricted Sources [28 B]
Holen: 59 http://de.archive.ubuntu.com wily-backports/universe Sources [2.257 B]
Holen: 60 http://de.archive.ubuntu.com wily-backports/multiverse Sources [28 B]
Holen: 61 http://de.archive.ubuntu.com wily-backports/main amd64 Packages [619 B]
Holen: 62 http://de.archive.ubuntu.com wily-backports/restricted amd64 Packages [28 B]
Holen: 63 http://de.archive.ubuntu.com wily-backports/universe amd64 Packages [2.006 B]
Holen: 64 http://de.archive.ubuntu.com wily-backports/multiverse amd64 Packages [28 B]
Holen: 65 http://de.archive.ubuntu.com wily-backports/main i386 Packages [619 B]
Holen: 66 http://de.archive.ubuntu.com wily-backports/restricted i386 Packages [28 B]
Holen: 67 http://de.archive.ubuntu.com wily-backports/universe i386 Packages [1.998 B]
Holen: 68 http://de.archive.ubuntu.com wily-backports/multiverse i386 Packages [28 B]
Holen: 69 http://de.archive.ubuntu.com wily-backports/main Translation-en [496 B]
Holen: 70 http://de.archive.ubuntu.com wily-backports/multiverse Translation-en [28 B]
Holen: 71 http://de.archive.ubuntu.com wily-backports/restricted Translation-en [28 B]
Holen: 72 http://de.archive.ubuntu.com wily-backports/universe Translation-en [1.390 B]
Es wurden 35,8 MB in 15 s geholt (2.371 kB/s).
W: Fehlschlag beim Holen von http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/wily/main/binary-amd64/Packages 403 Forbidden
W: Fehlschlag beim Holen von http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/wily/main/binary-i386/Packages 403 Forbidden
E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
-
sudoExec apt-get install wget git build-essential python-dev software-properties-common -y
-
sudo -E apt-get install wget git build-essential python-dev software-properties-common -y
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
build-essential ist schon die neueste Version.
python-dev ist schon die neueste Version.
git ist schon die neueste Version.
software-properties-common ist schon die neueste Version.
wget ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. -
sudoExec apt-add-repository -y ppa:ansible/ansible
-
sudo -E apt-add-repository -y ppa:ansible/ansible
gpg: Schlüsselbund/tmp/tmpjrlt0wyy/secring.gpg' erstellt gpg: Schlüsselbund
/tmp/tmpjrlt0wyy/pubring.gpg' erstellt
gpg: Schlüssel 7BB9C367 von hkp-Server keyserver.ubuntu.com anfordern
gpg: /tmp/tmpjrlt0wyy/trustdb.gpg: trust-db erzeugt
gpg: Schlüssel 7BB9C367: Öffentlicher Schlüssel "Launchpad PPA for Ansible, Inc." importiert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg: importiert: 1 (RSA: 1)
OK -
sudoExec apt-get install -y ansible
-
sudo -E apt-get install -y ansible
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
ansible ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. -
[[ Ubuntu =~ ^CentOS ]]
++ which ansible -
'[' /usr/bin/ansible == '' ']'
-
set +x
Parsing config file...==== Contiv Netplugin Demo Installer ====
Netplugin Cluster will be set up on the following servers in Standalone mode:
10.10.0.164
Ready to proceed(y/n)? y
- '[' -d ansible ']'
- cd ansible
- git pull --rebase origin
Aktueller Branch master ist auf dem neuesten Stand. - cd ..
- '[' latest '!=' latest ']'
- set +xe
Verifying ansible reachability
Verifying OS versions on all hosts...
++ sed 's/[",]//g'
++ awk -F: '/(<ansible_distribution>|<ansible_distribution_version>)/{print $2}' .gen/hosts.log - items=' Ubuntu
15.10' - i=0
- os=
- ver=
- for item in '${items[@]}'
- '[' 0 == 0 ']'
- os=Ubuntu
- i=1
- for item in '${items[@]}'
- '[' 1 == 0 ']'
- ver=15.10
- CheckOSTypeAndVersion Ubuntu 15.10
- os=Ubuntu
- CheckOSType Ubuntu
- [[ ! Ubuntu =~ ^(Ubuntu|CentOS) ]]
- echo OS is supported.
OS is supported. - return 0
- ver=15.10
- [[ Ubuntu =~ ^Ubuntu ]]
- CheckOSVersion 15.10 '15.*'
- [[ ! 15.10 =~ ^15.* ]]
- echo OS version matched.
OS version matched. - return 0
- [[ Ubuntu =~ ^CentOS ]]
- i=0
- set +x
Verifying sudo access on all hosts...
Ansible access and OS version verification completed on all hosts
Contents of ./.gen/contiv_hosts:
[netplugin-node]
node1 ansible_ssh_host=10.10.0.164 contiv_network_mode=standalone control_interface=eth0 netplugin_if=eth1 fwd_mode=bridge
Setting up services on nodes
PLAY [devtest] ****************************************************************
skipping: no hosts matched
PLAY [volplugin-test] *********************************************************
skipping: no hosts matched
PLAY [cluster-node] ***********************************************************
skipping: no hosts matched
PLAY [cluster-control] ********************************************************
skipping: no hosts matched
PLAY [service-master] *********************************************************
skipping: no hosts matched
PLAY [service-worker] *********************************************************
skipping: no hosts matched
PLAY [netplugin-node] *********************************************************
GATHERING FACTS ***************************************************************
ok: [node1]
TASK: [base | upgrade system (debian)] ****************************************
ok: [node1]
TASK: [base | install base packages (debian)] *********************************
ok: [node1] => (item=ntp,unzip,bzip2,curl,python-software-properties,bash-completion,python-selinux,e2fsprogs,openssh-server)
TASK: [base | install epel release package (redhat)] **************************
skipping: [node1]
TASK: [base | install/upgrade base packages (redhat)] *************************
skipping: [node1]
TASK: [base | install and start ntp] ******************************************
skipping: [node1]
TASK: [docker | check docker version] *****************************************
changed: [node1]
TASK: [docker | create docker daemon's config directory] **********************
ok: [node1]
TASK: [docker | setup docker daemon's environment] ****************************
ok: [node1]
TASK: [docker | add docker's public key for CS-engine (debian)] ***************
failed: [node1] => {"failed": true}
msg: Failed to download key at https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e: Request failed: <urlopen error EOF occurred in violation of protocol (_ssl.c:590)>
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/labor/site.retry
node1 : ok=6 changed=1 unreachable=0 failed=1
The only workable solution we found to this problem before was to cache the docker key in our installation. This key is most likely not going to change for a while.