kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
311 stars 43 forks source link

Error Installing cfssl #1538

Open jamhulk opened 4 years ago

jamhulk commented 4 years ago

Hi! Good Day! Just want to know if anyone also encountered the same during installation of k8s (on-prem) using pharos? It didn't push thru and only stack in "====> Configure cfssl @ master" (below output). Any help would be much appreciated. Btw, I'm using centos7.7

==> Configure cfssl @ master [master] Installing cfssl ... [master] Retrying after 2 seconds (#1) ... [master] Installing cfssl ... [master] Retrying after 2 seconds (#2) ... [master] Installing cfssl ... [master] Retrying after 2 seconds (#3) ... [master] Installing cfssl ... [master] Retrying after 2 seconds (#4) ... [master] Installing cfssl ... [master] Retried 5 times, increasing verbosity [master] Error: exec failed with code 1: configure-cfssl.sh [master] + sudo env -i - http_proxy= https_proxy= no_proxy= HTTP_PROXY= HTTPS_PROXY= NO_PROXY= FTP_PROXY= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin IMAGE=docker.io/jakolehm/cfssl:0.1.1 bash --norc --noprofile -x -s [master] + set -e [master] + ctr -n pharos image pull docker.io/jakolehm/cfssl:0.1.1 [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.1 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.2 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.3 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.4 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.5 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.6 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.7 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.8 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 0.9 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.0 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.1 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.2 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.3 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.4 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.5 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.6 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.7 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.8 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 1.9 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 2.0 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolving |--------------------------------------| [master] elapsed: 2.1 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolved |++++++++++++++++++++++++++++++++++++++| [master] index-sha256:060f8665eb7a898674ca59bd38366f04ffab7393efae6151534cb0603b2fb078: exists |++++++++++++++++++++++++++++++++++++++| [master] elapsed: 2.2 s total: 0.0 B (0.0 B/s) [master] docker.io/jakolehm/cfssl:0.1.1: resolved |++++++++++++++++++++++++++++++++++++++| [master] index-sha256:060f8665eb7a898674ca59bd38366f04ffab7393efae6151534cb0603b2fb078: exists |++++++++++++++++++++++++++++++++++++++| [master] manifest-sha256:d33d9dfe8ba032f8b1def5055109d8b641d2cfe178681853f72031b5a5a67e8a: done |++++++++++++++++++++++++++++++++++++++| [master] layer-sha256:98ad46cc3fd5ddd614beded63bbac8beb19d0df2577af9b9b3ee2af11a74ad71: done |++++++++++++++++++++++++++++++++++++++| [master] config-sha256:19538d3f06f39f850d5d12b7af44ce8fb803d6d84bd8bd34f39f39043fbf9d52: done |++++++++++++++++++++++++++++++++++++++| [master] layer-sha256:df8bb6a9cbcb760ed579e83f9dfc232836053c3f099df62822a6231812d1598f: done |++++++++++++++++++++++++++++++++++++++| [master] elapsed: 2.3 s total: 0.0 B (0.0 B/s) [master] unpacking linux/amd64 sha256:060f8665eb7a898674ca59bd38366f04ffab7393efae6151534cb0603b2fb078... [master] ctr: failed to stat snapshot sha256:85c7d5cca37c87df97e9af2a005638549d89431cce7851525aa78a98f209bf34: snapshotter not loaded: overlayfs: invalid argument

jamhulk commented 4 years ago

Just an update. I did not encounter the error when I use debian 9.

jakolehm commented 3 years ago

1556 might have fixed this.

0x4139 commented 3 years ago

1556 might have fixed this.

1556 indeed fixed this, it also fixed the versionlock issue for docker, it would be really helpful if we could merge #1560 because the rhel/centos7 is unusable at this moment.