Comments (8)
Jun 29 05:29:47 localhost.localdomain systemd[1]: registry.service: Service RestartSec=10s expired, scheduling restart.
Jun 29 05:29:47 localhost.localdomain systemd[1]: registry.service: Scheduled restart job, restart counter is at 5710.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Automatic restarting of the unit registry.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jun 29 05:29:47 localhost.localdomain systemd[1]: Stopped registry: The sealos registry.
-- Subject: Unit registry.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit registry.service has finished shutting down.
Jun 29 05:29:47 localhost.localdomain systemd[1]: Started registry: The sealos registry.
-- Subject: Unit registry.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit registry.service has finished starting up.
--
-- The start-up result is done.
Jun 29 05:29:47 localhost.localdomain systemd[1]: registry.service: Main process exited, code=exited, status=203/EXEC
Jun 29 05:29:47 localhost.localdomain systemd[1]: registry.service: Failed with result 'exit-code'.
from sealos.
plz run sealos reset
and retry.
from sealos.
add more information by using sealos run ${your nodes and images} --debug
from sealos.
[root@localhost sealos]# sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 --masters 10.190.123.226 --nodes 10.190.123.229,10.190.123.230,10.190.123.230 -p 12 --debug
WARN[0000] Failed to decode the keys ["storage.options.override_kernel_check" "storage.options.thinpool.ostree_repo" "storage.options.thinpool.skip_mount_home"] from "/etc/containers/storage.conf"
2023-06-29T06:22:37 debug creating new cluster
2023-06-29T06:22:37 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:38 debug cluster info: apiVersion: apps.sealos.io/v1beta1
kind: Cluster
metadata:
creationTimestamp: null
name: default
spec:
hosts:
- ips:
- 10.190.123.226:22
roles:
- master
- amd64
- ips:
- 10.190.123.229:22
- 10.190.123.230:22
roles:
- node
- amd64
image:
- labring/kubernetes:v1.25.0
- labring/helm:v3.8.2
- labring/calico:v3.24.1
ssh:
passwd: "12"
pk: /root/.ssh/id_rsa
port: 22
status: {}
2023-06-29T06:22:38 info Start to create a new cluster: master [10.190.123.226], worker [10.190.123.229 10.190.123.230], registry 10.190.123.226
2023-06-29T06:22:38 info Executing pipeline Check in CreateProcessor.
2023-06-29T06:22:38 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:38 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:38 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:38 info checker:hostname []
2023-06-29T06:22:38 info checker:timeSync []
2023-06-29T06:22:38 info Executing pipeline PreProcess in CreateProcessor.
2023-06-29T06:22:38 debug images 4cb4345435ed5842f95badf9adb99e0059f90e1c797a0d2159c098bf7bbb1ff1, 1123e8b4b455ed291f3ec7273af62e49458fe3dd141f5e7cb2a4243d6284deec, 6bbbb5354a30debb73b43b7483797fbd031f3deca7e976f72329cfe282ac3776 are pulled
2023-06-29T06:22:38 debug parse reference 4cb4345435ed5842f95badf9adb99e0059f90e1c797a0d2159c098bf7bbb1ff1 with transport containers-storage
2023-06-29T06:22:38 debug parse reference 1123e8b4b455ed291f3ec7273af62e49458fe3dd141f5e7cb2a4243d6284deec with transport containers-storage
2023-06-29T06:22:38 debug parse reference 6bbbb5354a30debb73b43b7483797fbd031f3deca7e976f72329cfe282ac3776 with transport containers-storage
2023-06-29T06:22:38 debug Pull Policy for pull [missing]
2023-06-29T06:22:38 debug parse reference 4cb4345435ed5842f95badf9adb99e0059f90e1c797a0d2159c098bf7bbb1ff1 with transport containers-storage
2023-06-29T06:22:38 debug Pull Policy for pull [missing]
2023-06-29T06:22:38 debug parse reference 1123e8b4b455ed291f3ec7273af62e49458fe3dd141f5e7cb2a4243d6284deec with transport containers-storage
2023-06-29T06:22:38 debug Pull Policy for pull [missing]
2023-06-29T06:22:38 debug parse reference 6bbbb5354a30debb73b43b7483797fbd031f3deca7e976f72329cfe282ac3776 with transport containers-storage
2023-06-29T06:22:38 info Executing pipeline RunConfig in CreateProcessor.
2023-06-29T06:22:38 debug clusterfile config is empty!
2023-06-29T06:22:38 debug clusterfile config is empty!
2023-06-29T06:22:38 debug clusterfile config is empty!
2023-06-29T06:22:38 info Executing pipeline MountRootfs in CreateProcessor.
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/etc
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/scripts
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/manifests
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/etc
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/e2f1567ec3175be6c2ef42c4707da1de9ac7c5f03aef518af5ac4acd284e9799/merged/etc
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/e2f1567ec3175be6c2ef42c4707da1de9ac7c5f03aef518af5ac4acd284e9799/merged/scripts
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/e2f1567ec3175be6c2ef42c4707da1de9ac7c5f03aef518af5ac4acd284e9799/merged/manifests
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/scripts
2023-06-29T06:22:38 debug render env dir: /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/manifests
2023-06-29T06:22:38 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:38 debug send mount image, ip: 10.190.123.230:22, image name: labring/kubernetes:v1.25.0, image type: rootfs
2023-06-29T06:22:38 debug send mount image, ip: 10.190.123.229:22, image name: labring/kubernetes:v1.25.0, image type: rootfs
2023-06-29T06:22:38 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/Kubefile to dst /var/lib/sealos/data/default/rootfs/Kubefile
2023-06-29T06:22:38 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/Kubefile to dst /var/lib/sealos/data/default/rootfs/Kubefile
2023-06-29T06:22:38 debug send mount image, ip: 10.190.123.226:22, image name: labring/kubernetes:v1.25.0, image type: rootfs
2023-06-29T06:22:38 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/Kubefile to dst /var/lib/sealos/data/default/rootfs/Kubefile
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/README.md to dst /var/lib/sealos/data/default/rootfs/README.md
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/README.md to dst /var/lib/sealos/data/default/rootfs/README.md
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/README.md to dst /var/lib/sealos/data/default/rootfs/README.md
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/bin to dst /var/lib/sealos/data/default/rootfs/bin
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/bin to dst /var/lib/sealos/data/default/rootfs/bin
2023-06-29T06:22:39 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/bin to dst /var/lib/sealos/data/default/rootfs/bin
2023-06-29T06:22:46 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/cri to dst /var/lib/sealos/data/default/rootfs/cri
2023-06-29T06:22:46 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/cri to dst /var/lib/sealos/data/default/rootfs/cri
2023-06-29T06:22:46 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/cri to dst /var/lib/sealos/data/default/rootfs/cri
2023-06-29T06:22:48 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/etc to dst /var/lib/sealos/data/default/rootfs/etc
2023-06-29T06:22:48 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/etc to dst /var/lib/sealos/data/default/rootfs/etc
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/images to dst /var/lib/sealos/data/default/rootfs/images
[1/1]copying files to 10.190.123.229:22 85% [===========> ] (17/20, 97 it/s) [0s:0s]2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/etc to dst /var/lib/sealos/data/default/rootfs/etc
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/images to dst /var/lib/sealos/data/default/rootfs/images
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/logs to dst /var/lib/sealos/data/default/rootfs/logs
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/images to dst /var/lib/sealos/data/default/rootfs/images
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/logs to dst /var/lib/sealos/data/default/rootfs/logs
2023-06-29T06:22:49 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/opt to dst /var/lib/sealos/data/default/rootfs/opt
2023-06-29T06:22:50 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/logs to dst /var/lib/sealos/data/default/rootfs/logs
2023-06-29T06:22:50 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/opt to dst /var/lib/sealos/data/default/rootfs/opt
2023-06-29T06:22:50 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/opt to dst /var/lib/sealos/data/default/rootfs/opt
2023-06-29T06:22:52 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/scripts to dst /var/lib/sealos/data/default/rootfs/scripts
2023-06-29T06:22:52 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/statics to dst /var/lib/sealos/data/default/rootfs/statics
2023-06-29T06:22:52 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/scripts to dst /var/lib/sealos/data/default/rootfs/scripts
2023-06-29T06:22:53 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/scripts to dst /var/lib/sealos/data/default/rootfs/scripts
2023-06-29T06:22:53 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/statics to dst /var/lib/sealos/data/default/rootfs/statics
2023-06-29T06:22:53 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/statics to dst /var/lib/sealos/data/default/rootfs/statics
2023-06-29T06:22:53 debug send app mount images, ip: 10.190.123.226:22, image name: labring/calico:v3.24.1, image type: application
2023-06-29T06:22:53 debug remote copy files src /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/Kubefile to dst /var/lib/sealos/data/default/applications/default-bps1h51q/workdir/Kubefile
2023-06-29T06:22:53 debug send app mount images, ip: 10.190.123.226:22, image name: labring/helm:v3.8.2, image type: application
2023-06-29T06:22:53 debug remote copy files src /var/lib/containers/storage/overlay/e2f1567ec3175be6c2ef42c4707da1de9ac7c5f03aef518af5ac4acd284e9799/merged/opt to dst /var/lib/sealos/data/default/applications/default-ugci2kjv/workdir/opt
2023-06-29T06:22:54 debug remote copy files src /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/charts to dst /var/lib/sealos/data/default/applications/default-bps1h51q/workdir/charts
2023-06-29T06:22:54 debug remote copy files src /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/images to dst /var/lib/sealos/data/default/applications/default-bps1h51q/workdir/images
2023-06-29T06:22:54 debug remote copy files src /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/init.sh to dst /var/lib/sealos/data/default/applications/default-bps1h51q/workdir/init.sh
2023-06-29T06:22:55 info Executing pipeline MirrorRegistry in CreateProcessor.)
2023-06-29T06:22:55 debug registry nodes is: [10.190.123.226:22]
2023-06-29T06:22:55 debug not trying to parse private key file cause it's not exists
2023-06-29T06:22:55 debug remote copy files src /var/lib/containers/storage/overlay/b6e5e4b41abaa1b0534dbabe3d1c10f5a8ca2615d469531c774b64fcc8c37e20/merged/registry to dst /var/lib/sealos/data/default/rootfs/registry
2023-06-29T06:22:55 debug remote copy files src /var/lib/containers/storage/overlay/7a325ef763dbc182195976e4b6983de9ed6bbefa4756f300e02167218fccc97c/merged/registry to dst /var/lib/sealos/data/default/rootfs/registry
2023-06-29T06:22:55 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts ; if [[ -s untar-registry.sh ]]; then source untar-registry.sh ; else source common.sh && logger 'untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar'; fi` on 10.190.123.226:22
10.190.123.226:22 INFO [2023-06-29 06:22:58] >> untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar
2023-06-29T06:23:01 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts ; if [[ -s untar-registry.sh ]]; then source untar-registry.sh ; else source common.sh && logger 'untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar'; fi` on 10.190.123.226:22
[1/1]copying files to 10.190.123.226:22 19% [=> ] (53/273, 9 it/s) [6s:24s]10.190.123.226:22 INFO [2023-06-29 06:23:04] >> untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar
2023-06-29T06:23:06 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts ; if [[ -s untar-registry.sh ]]; then source untar-registry.sh ; else source common.sh && logger 'untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar'; fi` on 10.190.123.226:22
10.190.123.226:22 INFO [2023-06-29 06:23:08] >> untar-registry.sh was not found, skip decompression registry or execute sealos run labring/registry:untar
2023-06-29T06:23:06 info Executing pipeline Bootstrap in CreateProcessor
2023-06-29T06:23:06 debug not trying to parse private key file cause it's not exists
2023-06-29T06:23:06 debug apply [default_checker registry_host_applier registry_applier initializer] on hosts [10.190.123.226:22 10.190.123.229:22 10.190.123.230:22]
2023-06-29T06:23:06 debug apply default_checker on host 10.190.123.230:22
2023-06-29T06:23:06 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts && export criData="/var/lib/containerd" registryPassword="passw0rd" registryConfig="/etc/registry" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryDomain="sealos.hub" registryData="/var/lib/registry" SEALOS_SYS_SEALOS_VERSION="4.2.0" disableApparmor="false" defaultVIP="10.103.97.2" registryPort="5000" sandboxImage="pause:3.8" registryUsername="admin" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" ; bash check.sh $registryData` on 10.190.123.230:22
2023-06-29T06:23:06 debug apply default_checker on host 10.190.123.226:22
2023-06-29T06:23:06 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts && export disableApparmor="false" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryUsername="admin" defaultVIP="10.103.97.2" registryData="/var/lib/registry" registryConfig="/etc/registry" SEALOS_SYS_SEALOS_VERSION="4.2.0" sandboxImage="pause:3.8" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" registryDomain="sealos.hub" criData="/var/lib/containerd" registryPort="5000" registryPassword="passw0rd" ; bash check.sh $registryData` on 10.190.123.226:22
2023-06-29T06:23:06 debug apply default_checker on host 10.190.123.229:22
2023-06-29T06:23:06 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts && export registryDomain="sealos.hub" registryPort="5000" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" sandboxImage="pause:3.8" registryData="/var/lib/registry" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryPassword="passw0rd" criData="/var/lib/containerd" registryUsername="admin" disableApparmor="false" registryConfig="/etc/registry" SEALOS_SYS_SEALOS_VERSION="4.2.0" defaultVIP="10.103.97.2" ; bash check.sh $registryData` on 10.190.123.229:22
10.190.123.230:22 which: no docker in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
10.190.123.230:22 WARN [2023-06-29 06:23:08] >> Replace disable_apparmor = false to disable_apparmor = true
10.190.123.230:22 INFO [2023-06-29 06:23:08] >> check root,port,cri success
10.190.123.226:22 which: no docker in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
10.190.123.226:22 WARN [2023-06-29 06:23:10] >> Replace disable_apparmor = false to disable_apparmor = true
10.190.123.226:22 INFO [2023-06-29 06:23:10] >> check root,port,cri success
10.190.123.229:22 which: no docker in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
10.190.123.229:22 WARN [2023-06-29 06:23:08] >> Replace disable_apparmor = false to disable_apparmor = true
10.190.123.229:22 INFO [2023-06-29 06:23:08] >> check root,port,cri success
2023-06-29T06:23:07 debug apply registry_host_applier on host 10.190.123.230:22
2023-06-29T06:23:07 debug apply registry_host_applier on host 10.190.123.226:22
2023-06-29T06:23:07 debug apply registry_host_applier on host 10.190.123.229:22
2023-06-29T06:23:08 debug image shim data info: # Copyright ? 2022 sealos.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: sealos.hub
port: "5000"
username: "admin"
password: "passw0rd"
data: "/var/lib/registry"
2023-06-29T06:23:08 debug show registry info, IP: 10.190.123.226:22, Domain: sealos.hub, Data: /var/lib/registry
2023-06-29T06:23:08 debug start to exec `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.190.123.226 --domain sealos.hub` on 10.190.123.229:22
2023-06-29T06:23:08 debug image shim data info: # Copyright ? 2022 sealos.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: sealos.hub
port: "5000"
username: "admin"
password: "passw0rd"
data: "/var/lib/registry"
2023-06-29T06:23:08 debug show registry info, IP: 10.190.123.226:22, Domain: sealos.hub, Data: /var/lib/registry
2023-06-29T06:23:08 debug start to exec `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.190.123.226 --domain sealos.hub` on 10.190.123.226:22
2023-06-29T06:23:08 debug image shim data info: # Copyright ? 2022 sealos.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: sealos.hub
port: "5000"
username: "admin"
password: "passw0rd"
data: "/var/lib/registry"
2023-06-29T06:23:08 debug show registry info, IP: 10.190.123.226:22, Domain: sealos.hub, Data: /var/lib/registry
2023-06-29T06:23:08 debug start to exec `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.190.123.226 --domain sealos.hub` on 10.190.123.230:22
10.190.123.230:22 WARN[0000] Failed to decode the keys ["storage.options.override_kernel_check" "storage.options.thinpool.ostree_repo" "storage.options.thinpool.skip_mount_home"] from "/etc/containers/storage.conf"
10.190.123.230:22 2023-06-29T06:23:09 info domain sealos.hub:10.190.123.226 append success
10.190.123.226:22 WARN[0000] Failed to decode the keys ["storage.options.override_kernel_check" "storage.options.thinpool.ostree_repo" "storage.options.thinpool.skip_mount_home"] from "/etc/containers/storage.conf"
10.190.123.226:22 2023-06-29T06:23:10 info domain sealos.hub:10.190.123.226 append success
10.190.123.229:22 WARN[0000] Failed to decode the keys ["storage.options.override_kernel_check" "storage.options.thinpool.ostree_repo" "storage.options.thinpool.skip_mount_home"] from "/etc/containers/storage.conf"
10.190.123.229:22 2023-06-29T06:23:08 info domain sealos.hub:10.190.123.226 append success
2023-06-29T06:23:08 debug apply registry_applier on host 10.190.123.226:22
2023-06-29T06:23:08 debug image shim data info: # Copyright ? 2022 sealos.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: sealos.hub
port: "5000"
username: "admin"
password: "passw0rd"
data: "/var/lib/registry"
2023-06-29T06:23:08 debug show registry info, IP: 10.190.123.226:22, Domain: sealos.hub, Data: /var/lib/registry
2023-06-29T06:23:08 debug make soft link: rm -rf /var/lib/registry && ln -s /var/lib/sealos/data/default/rootfs/registry /var/lib/registry
2023-06-29T06:23:08 debug start to exec `rm -rf /var/lib/registry && ln -s /var/lib/sealos/data/default/rootfs/registry /var/lib/registry` on 10.190.123.226:22
2023-06-29T06:23:09 debug remote copy files src /root/.sealos/default/etc/registry_htpasswd to dst /var/lib/sealos/data/default/rootfs/etc/registry_htpasswd
2023-06-29T06:23:09 debug start to exec `cd /var/lib/sealos/data/default/rootfs/scripts && export registryData="/var/lib/registry" defaultVIP="10.103.97.2" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryConfig="/etc/registry" disableApparmor="false" sandboxImage="pause:3.8" SEALOS_SYS_SEALOS_VERSION="4.2.0" registryDomain="sealos.hub" criData="/var/lib/containerd" registryPassword="passw0rd" registryPort="5000" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" registryUsername="admin" ; bash init-registry.sh $registryData $registryConfig` on 10.190.123.226:22
10.190.123.226:22 Created symlink /etc/systemd/system/multi-user.target.wants/registry.service → /etc/systemd/system/registry.service.
10.190.123.226:22 INFO [2023-06-29 06:23:12] >> Health check registry!
10.190.123.226:22 ERROR [2023-06-29 06:23:12] >> registry status is error
2023-06-29T06:23:10 error Applied to cluster error: run command `cd /var/lib/sealos/data/default/rootfs/scripts && export registryData="/var/lib/registry" defaultVIP="10.103.97.2" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryConfig="/etc/registry" disableApparmor="false" sandboxImage="pause:3.8" SEALOS_SYS_SEALOS_VERSION="4.2.0" registryDomain="sealos.hub" criData="/var/lib/containerd" registryPassword="passw0rd" registryPort="5000" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" registryUsername="admin" ; bash init-registry.sh $registryData $registryConfig` on 10.190.123.226:22, output: Created symlink /etc/systemd/system/multi-user.target.wants/registry.service → /etc/systemd/system/registry.service.
INFO [2023-06-29 06:23:12] >> Health check registry!
ERROR [2023-06-29 06:23:12] >> registry status is error
, error: Process exited with status 1,
2023-06-29T06:23:10 debug write cluster file to local storage: /root/.sealos/default/Clusterfile
Error: run command `cd /var/lib/sealos/data/default/rootfs/scripts && export registryData="/var/lib/registry" defaultVIP="10.103.97.2" SEALOS_SYS_KUBE_VERSION="v1.25.0" registryConfig="/etc/registry" disableApparmor="false" sandboxImage="pause:3.8" SEALOS_SYS_SEALOS_VERSION="4.2.0" registryDomain="sealos.hub" criData="/var/lib/containerd" registryPassword="passw0rd" registryPort="5000" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" registryUsername="admin" ; bash init-registry.sh $registryData $registryConfig` on 10.190.123.226:22, output: Created symlink /etc/systemd/system/multi-user.target.wants/registry.service → /etc/systemd/system/registry.service.
INFO [2023-06-29 06:23:12] >> Health check registry!
ERROR [2023-06-29 06:23:12] >> registry status is error
, error: Process exited with status 1,
from sealos.
Linux version 4.18.0-193.el8.x86_64 ([email protected]) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1
from sealos.
Is there any error in executing this command: /usr/bin/registry serve /etc/registry/registry_config.yml
@Xingac1999
from sealos.
[root@localhost scripts]# /usr/bin/registry serve /etc/registry/registry_config.yml
INFO[0000] debug server listening :5001
WARN[0000] No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable. go.version=go1.19.9 instance.id=2135b3a1-12ab-4618-b49c-2e1e5e726fc1 service=registry version=2.8.2
INFO[0000] redis not configured go.version=go1.19.9 instance.id=2135b3a1-12ab-4618-b49c-2e1e5e726fc1 service=registry version=2.8.2
INFO[0000] Starting upload purge in 12m0s go.version=go1.19.9 instance.id=2135b3a1-12ab-4618-b49c-2e1e5e726fc1 service=registry version=2.8.2
INFO[0000] using inmemory blob descriptor cache go.version=go1.19.9 instance.id=2135b3a1-12ab-4618-b49c-2e1e5e726fc1 service=registry version=2.8.2
INFO[0000] providing prometheus metrics on /metrics
INFO[0000] listening on [::]:5000 go.version=go1.19.9 instance.id=2135b3a1-12ab-4618-b49c-2e1e5e726fc1 service=registry version=2.8.2
from sealos.
if [ -s /etc/selinux/config ] && grep 'SELINUX=enforcing' /etc/selinux/config; then
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
fi
from sealos.
Related Issues (20)
- How to log out of the account on cloud.sealos.io, logged in with mobile phone number HOT 2
- Docs: It is recommended to give an introductory document for junior contributors
- BUG: can not git clone repo
- BUG: Exception when upgrading sealos component HOT 1
- BUG: Log format issue
- sealos-cloud-5.0.0-beta5 reported a cockroachdb ui error during the installation process
- add new nodes it rename all nodes hostname to lvscare.node.ip HOT 2
- 添加集群失败,提示usage of cri endpoints without url scheme is deprecated and can cause kubelete error in the future. HOT 10
- Feature: supports cross-architecture deployment
- BUG: brief description of the bug
- Using sealos 5.0.0-beta5 cannot upgrade k8s from 1.27.9 to 1.28.9
- K8s (1.21, 1.24, 1.26, 1.28) cannot be installed using sealos (4.3.7 & 5.x) on kylin v10 sp3 HOT 6
- Bug: failed to init masters: generate init config error: exit status 1 HOT 4
- 添加node节点遇到 Error: can't apply application type images only since RootFS type image is not applied yet,这个问题是什么原因? HOT 4
- BUG: Use WeChat to log in, log out after recharging and cannot find the login entrance.
- 新增繁體中文語言支援
- deploy/cloud/scripts/init.sh The wrong format of the variable causes the --env parameter parsing to fail. HOT 1
- cloud-port=8443时安装cloud会发生错误 `no endpoints available for service "ingress-noinx-controller-admission"` HOT 3
- Transfer error: transfer error
- BUG: brief description of the bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealos.