2022-06-07 18:03:34 |
John Chittum |
description |
currently published 22.04 Vagrant images will fail to finish booting on systems running vagrant < 2.2.16. The upstream issue is described here:
https://github.com/hashicorp/vagrant/issues/11783
The fix in future vagrant versions is committed here:
https://github.com/hashicorp/vagrant/pull/12298
However, vagrant, as supplied as a package in the Ubuntu archive in Universe is not => 2.2.16 until Jammy. This means that host systems of 20.04, 18.04, and 16.04 using the universe packaged vagrant will be unable to start the Jammy image.
A workaround is stated in gh issue 11783: to provide our own newer key that matches the algorithms that the guest system expects, without needing the renegotiation fix put in place in vagrant. |
[ SRU TEMPLATE ]
[Impact]
* 22.04 and 22.10 images will fail to boot on older versions of vagrant due to ssh key issues. this prevents users of 18.04 and 20.04 vagrant from the archives to use 22.04 images
* Not making this change, 22.04 vagrant images will continue to be unbootble on vagrant < 2.2.16.
[Test Plan]
* reproduce by
1. having vagrant < 2.2.16 installed on your system (such as having a 20.04 host and doing apt-get install vagrant)
2. vagrant init ubuntu/jammy64
3. vagrant up
4. observe the failure to connect
* to test
1. ensure vagrant < 2.2.16 is installed
2. download a provided test box
3. vagrant box add <path/to/test/box> --name test-jammy64
4. vagrant init test-jammy64
5. vagrant up
6. observe image booting properly
[Where problems could occur]
* It is possible that the new key is of a type not recognized on old enough systems (it uses ed25519 which has been supported for a while, but may not be supported on all systems). having wide community testing with many different hosts and versions of vagrant will be helpful
[ Original Bug ]
currently published 22.04 Vagrant images will fail to finish booting on systems running vagrant < 2.2.16. The upstream issue is described here:
https://github.com/hashicorp/vagrant/issues/11783
The fix in future vagrant versions is committed here:
https://github.com/hashicorp/vagrant/pull/12298
However, vagrant, as supplied as a package in the Ubuntu archive in Universe is not => 2.2.16 until Jammy. This means that host systems of 20.04, 18.04, and 16.04 using the universe packaged vagrant will be unable to start the Jammy image.
A workaround is stated in gh issue 11783: to provide our own newer key that matches the algorithms that the guest system expects, without needing the renegotiation fix put in place in vagrant. |
|