[Bug 1969664] Re: 22.04 Vagrant Images Do Not Finish Initial Boot Due to SSH Timeout

John Chittum 1969664 at bugs.launchpad.net
Tue Jun 7 18:03:34 UTC 2022


** Description changed:

- currently published 22.04 Vagrant images will fail to finish booting on
- systems running vagrant < 2.2.16. The upstream issue is described here:
+ [ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1969664

Title:
  22.04 Vagrant Images Do Not Finish Initial Boot Due to SSH Timeout

Status in cloud-images:
  Triaged
Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Jammy:
  New
Status in livecd-rootfs source package in Kinetic:
  Fix Released

Bug description:
  [ 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1969664/+subscriptions




More information about the foundations-bugs mailing list