You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I made a container name I used a : this caused the following error,
[root@vuwunicoslurmt1 rocky8-27-8-2024]# podman save rocky8:8.x > rocky8:8.x.tar
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
[root@vuwunicoslurmt1 rocky8-27-8-2024]# wwctl container import rocky8:8.x.tar rocky8:8.x
ERROR : could not import image: opening file "//root/podman/rocky8-27-8-2024/rocky8": open //root/podman/rocky8-27-8-2024/rocky8: no such file or directory
ERROR: could not import image: opening file "//root/podman/rocky8-27-8-2024/rocky8": open //root/podman/rocky8-27-8-2024/rocky8: no such file or directory
[root@vuwunicoslurmt1 rocky8-27-8-2024]# ls -l
total 2779820
-rw-r--r--. 1 root root 345 Aug 26 15:59 container_exit.sh
-rw-r--r--. 1 root root 1056 Aug 26 15:43 Containerfile
-rw-r--r--. 1 root root 24 Aug 26 15:53 excludes
-rw-r--r--. 1 root root 2846520320 Aug 26 16:22 rocky8:8.x.tar
anderbubble
changed the title
I was asked to open an issue with importing my container into warewulf4.5.6-1
error importing container with a name containing a colon
Sep 11, 2024
Steps to reproduce
When I made a container name I used a : this caused the following error,
[root@vuwunicoslurmt1 rocky8-27-8-2024]# podman save rocky8:8.x > rocky8:8.x.tar
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
[root@vuwunicoslurmt1 rocky8-27-8-2024]# wwctl container import rocky8:8.x.tar rocky8:8.x
ERROR : could not import image: opening file "//root/podman/rocky8-27-8-2024/rocky8": open //root/podman/rocky8-27-8-2024/rocky8: no such file or directory
ERROR: could not import image: opening file "//root/podman/rocky8-27-8-2024/rocky8": open //root/podman/rocky8-27-8-2024/rocky8: no such file or directory
[root@vuwunicoslurmt1 rocky8-27-8-2024]# ls -l
total 2779820
-rw-r--r--. 1 root root 345 Aug 26 15:59 container_exit.sh
-rw-r--r--. 1 root root 1056 Aug 26 15:43 Containerfile
-rw-r--r--. 1 root root 24 Aug 26 15:53 excludes
-rw-r--r--. 1 root root 2846520320 Aug 26 16:22 rocky8:8.x.tar
renaming it,
mv rocky8:8.x.tar rocky8-8.x.tar
[root@vuwunicoslurmt1 rocky8-27-8-2024]# wwctl container import rocky8-8.x.tar rocky8:8.x
Copying blob f11c864af433 done |
8><----
and it seems to work fine, (nodes boot Ok off it)
Error message
As above.
Information on your system
[root@vuwunicoslurmt1 rocky8-27-8-2024]# wwctl version
wwctl version: 4.5.6-1
rpc version: apiPrefix:"rc1" apiVersion:"1" warewulfVersion:"4.5.6-1"
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
[root@vuwunicoslurmt1 rocky8-27-8-2024]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
[root@vuwunicoslurmt1 rocky8-27-8-2024]#
General information
wwctl version
and reported the contents of/etc/os-release
The text was updated successfully, but these errors were encountered: