EuroLinux / cloud-images-rfc

This repository contains Requests for Change in EuroLinux made cloud images.
https://app.vagrantup.com/eurolinux-vagrant
9 stars 0 forks source link

[BUG] CentOS Stream 9 libvirt box URL returns 404 #8

Closed mohd-akram closed 1 year ago

mohd-akram commented 1 year ago

Describe the bug Unable to install the CentOS Stream 9 Vagrant libvirt box.

Cloud Image 9.0.21 Vagrant

To Reproduce

Steps to reproduce the behavior:

  1. Create Vagrantfile:

    Vagrant.configure("2") do |config|
      config.vm.box = "eurolinux-vagrant/centos-stream-9"
    end
  2. Run vagrant up

Expected behavior It works.

Actual behavior

Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'eurolinux-vagrant/centos-stream-9' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Loading metadata for box 'eurolinux-vagrant/centos-stream-9'
    default: URL: https://vagrantcloud.com/eurolinux-vagrant/centos-stream-9
==> default: Adding box 'eurolinux-vagrant/centos-stream-9' (v9.0.21) for provider: libvirt
    default: Downloading: https://vagrantcloud.com/eurolinux-vagrant/boxes/centos-stream-9/versions/9.0.21/providers/libvirt.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 404
AlexBaranowski commented 1 year ago

Hi!

Thanks for the great bug report! It is reproducible.

I checked if any other box also has a similar issue - it's quite easy as the buggy box doesn't provide size. c9-stream - and fortunately only this one has this issue.

As our boxes are uploaded by build scripts in our CI/CD, I checked logs and there was a closed connection, so the box wasn't fully uploaded.

I also started the new build for this box. I will notify You when it will be ready (about 1-2 hours).

AlexBaranowski commented 1 year ago

It's fixed. You should be able to close the issue :).

mohd-akram commented 1 year ago

Tried it and it works. Thanks for the quick response!