setup-minikube icon indicating copy to clipboard operation
setup-minikube copied to clipboard

none-driver: Unexpected HTTP response: 404 on ubuntu-24.04

Open nsoranzo opened this issue 1 year ago • 3 comments

When trying to install minikube in a GitHub workflow using the none driver on ubuntu-latest (which is now moving to 24.04, see https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/ ) as below:

name: Test
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Setup Minikube
        uses: medyagh/setup-minikube@latest
        with:
          driver: none
          kubernetes-version: '1.23.0'

it fails with:

  with:
    driver: none
    kubernetes-version: 1.23.0
    start: true
    cache: true
    minikube-version: latest
    wait: all
/usr/bin/chmod +x /home/runner/work/_temp/efef1695-8abd-441e-9192-d32d9dc262b8
/home/runner/bin/minikube version --short
v1.34.0
/usr/bin/sudo mkdir -p /opt/cni/bin
/usr/bin/sudo apt-get update -qq
/usr/bin/sudo chmod 755 /etc/cni/net.d
/usr/bin/sudo tar zxvf /home/runner/work/_temp/0fc4f1e7-7b31-40a6-9075-98e405b39867 -C /usr/local/bin
crictl
/usr/bin/sudo tar zxvf /home/runner/work/_temp/e8114d13-8985-4894-b568-46e8a0a20643 -C /opt/cni/bin
./
./loopback
./bandwidth
./ptp
./vlan
./host-device
./tuning
./vrf
./sbr
./dhcp
./static
./firewall
./macvlan
./dummy
./bridge
./ipvlan
./portmap
./host-local
/usr/bin/sudo apt-get -qq -y install conntrack socat
Selecting previously unselected package socat.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 170272 files and directories currently installed.)
Preparing to unpack .../socat_1.8.0.0-4build3_amd64.deb ...
Unpacking socat (1.8.0.0-4build3) ...
Setting up socat (1.8.0.0-4build3) ...
Processing triggers for man-db (2.12.0-4build2) ...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
/usr/bin/lsb_release --short --codename
noble
Error: Unexpected HTTP response: 404

It seems that the error happens when this action tries to download a cri-dockerd 0.3.1 deb package, which doesn't exist for Ubuntu 24.04 "noble". Actually there isn't a deb package for 24.04 even for the latest cri-dockerd version, see https://github.com/Mirantis/cri-dockerd/issues/361 .

nsoranzo avatar Oct 10 '24 11:10 nsoranzo

I am facing this same issue as well.

dsharma-dc avatar Dec 16 '24 11:12 dsharma-dc

Also facing this. Whats the workaround?

allanrogerr avatar Dec 16 '24 14:12 allanrogerr

Also facing this. Whats the workaround?

Please check linked PRs:

  • https://github.com/Azure/k8s-deploy/pull/363
  • https://github.com/powerhome/redis-operator/pull/60

Workaround is to fix Ubuntu version for GH runner to 22.04: runs-on: ubuntu-ubuntu-22.04

nantiferov avatar Jan 16 '25 14:01 nantiferov

Fixed by https://github.com/medyagh/setup-minikube/pull/639 .

nsoranzo avatar Sep 01 '25 22:09 nsoranzo