Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

kube-spawn start fails due to missing image files #350

@tiagomlalves

Description

@tiagomlalves

I'm trying to start a kubernetes cluster with kube-spawn but I'm having issues with image retrieval. I'm using latest version.

Steps:
$ sudo kube-spawn create

Copying files for cluster ...
Generating configuration files from templates ...
Cluster default created

$ sudo kube-spawn start -n 5

Could not set limit: Failed to adjust loopback limit: Is a directory
image resize failed: qemu-img not installed: exec: "qemu-img": executable file not found in $PATH
Resize '/var/lib/machines' of 'max'
pulling flatcar image...
Enqueued transfer job 1. Press C-c to continue download in background.
Pulling 'https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2', saving as 'flatcar'.
Downloading 14B for https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.roothash.
HTTP request to https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.roothash failed with code 404.
Root hash file could not be retrieved, proceeding without.
Downloading 982.3M for https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2.
Downloading 14B for https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.nspawn.
HTTP request to https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.nspawn failed with code 404.
Settings file could not be retrieved, proceeding without.
Got 1% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 6min 9s left at 2.6M/s.
Got 2% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 46s left at 3.3M/s.
Got 3% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 33s left at 3.4M/s.
Got 4% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 20s left at 3.6M/s.
Got 5% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 4s left at 3.8M/s.
Got 6% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 7s left at 3.7M/s.
Got 7% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 5s left at 3.7M/s.
Got 8% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 12s left at 3.5M/s.
Got 9% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 11s left at 3.5M/s.
Got 10% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 8s left at 3.5M/s.
Got 11% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 11s left at 3.4M/s.
Got 12% of https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_developer_container.bin.bz2. 4min 15s left at 3.3M/s.
Failed to write file: Resource temporarily unavailable
Failed to retrieve image file. (Wrong URL?)
Exiting.
Failed to start cluster: error running machinectl pull-raw: exit status 1

I have 104Gb disk free in the system, so no disk space issues. Passing different options to --flatcar-channel end up with same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions