Open imdingtalk opened 2 years ago
I have the same problem on OpenEuler 22.03.
Error: mount rootfs failed exec init.sh failed failed to execute command(cd /var/lib/sealer/data/my-cluster/rootfs && chmod +x scripts/* && cd scripts && bash init.sh /var/lib/docker sea.hub 5000) on host(192.168.254.10): error(exit status 1)
It's the same problem with #1454, this issue can be closed.
It's the same problem with #1454, this issue can be closed.
@iosx I do not think they are the same issue. This issue's problem is init-registry.sh: line 37: docker: command not found
While https://github.com/sealerio/sealer/issues/1454 is the the Ubuntu 22.04 LTS make the sh
linked to /bin/dash
, rather than /bin/bash
.
But they both occurred in the shell srcipts of cd /var/lib/sealer/data/my-cluster/rootfs && chmod +x scripts/* && cd scripts && bash init.sh /var/lib/docker sea.hub 5000
I have the same problem on OpenEuler 22.03.
Error: mount rootfs failed exec init.sh failed failed to execute command(cd /var/lib/sealer/data/my-cluster/rootfs && chmod +x scripts/* && cd scripts && bash init.sh /var/lib/docker sea.hub 5000) on host(192.168.254.10): error(exit status 1)
Does the node have a tar command? My problem is caused by the lack of the tar command
What happened:
What you expected to happen:
Successfully initialized the cluster
How to reproduce it (as minimally and precisely as possible):
One initializes the operating system, then executes
sealer run xxx
Anything else we need to know?:
Environment:
sealer version
):{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
cat /etc/os-release
):uname -a
):Linux localhost.localdomain 5.10.0-60.18.0.50.oe2203.x86_64 #1 SMP Wed Mar 30 03:12:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux