Page MenuHomeVyOS Platform

Vagrant auth failure on new vagrant images?
In progress, NormalPublicBUG

Description

It seems that from a certain point in time the official VyOS current vagrant box images (https://app.vagrantup.com/vyos/boxes/current) are broken in some may (I’m using libvirt ones).

vagrant up is stuck at:

vy1: Warning: Authentication failure. Retrying...

I tried to force the Vagrantfile for having:

vy1.ssh.username="vyos"
vy1.ssh.password="vyos"

but nothing changes.

Most probably this is due to missing vagrant default public key? (or the box configuration?)

NOTE: everything was working fine with the 20220920.02.18 image (same Vagrantfile), so the break happened between that time and 20221117.

Details

Difficulty level
Unknown (require assessment)
Version
20221117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

According to this https://forum.vyos.io/t/vagrant-auth-failure-on-new-vagrant-images/9871/2
This issue is due to T874.
My understanding is that is not changeable, so my proposal is to add the "vagrant insecure key" for the vyos user during the vagrant box creation.

If the Vagrant boxes are published using vagrant-libvirt.yml at · vyos/vyos-vm-images · GitHub , I can try to submit a PR for this.

Viacheslav changed the task status from Open to In progress.Dec 13 2022, 10:25 AM
Viacheslav assigned this task to ssasso.

Any update on the PR merge? thanks

@ssasso Thank you for creating the PR. I confirmed the issue with the latest box. I will check your PR today.