Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPC - Upgrade Ubuntu2104 to Ubuntu2204 #2697

Closed
Haroon-Khel opened this issue Aug 16, 2022 · 3 comments · Fixed by #3270
Closed

VPC - Upgrade Ubuntu2104 to Ubuntu2204 #2697

Haroon-Khel opened this issue Aug 16, 2022 · 3 comments · Fixed by #3270

Comments

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Aug 16, 2022

The VPC for ubuntu 2104 keeps failing https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Ubuntu2104,label=vagrant/1500/console

12:52:44 TASK [Common : Install gnupg2 for aarch64] *************************************
12:52:44 skipping: [127.0.0.1]
12:52:44 
12:52:44 TASK [Common : Add the openjdk repository to apt] ******************************
12:53:10 fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "apt cache update failed"}
12:53:10 
12:53:10 PLAY RECAP *********************************************************************
12:53:10 127.0.0.1                  : ok=8    changed=1    unreachable=0    failed=1    skipped=23   rescued=0    ignored=0   

We should look at upgrading this box to Ubuntu 22.04 LTS

@sxa
Copy link
Member

sxa commented Aug 16, 2022

Suggest also updating the VPC docs to describe the process for adding/removing boxes too.

@sxa
Copy link
Member

sxa commented Jan 31, 2023

Steps completed:

  • Under the vagrant1-vagrant4 users I have run: vagrant box add generic/ubuntu2204
  • On vagrant5 to see if this is a more sensible way of copying them across I have run: cd .vagrant.d/boxes && tar cf - -C /home/vagrant1/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-ubuntu2204 | tar xpvf - as this seems to be the only change to the file system on the other users.
  • Updated the VPC job configuration to have a Ubuntu2204 option in the OS parameter (Note - this won't work until I've got a PR in place, so I don't recommend using it!)
  • PR to add support to the automation for the new version and also create the new Vagrantfile

It's currently giving me adoptopenjdkU22: Warning: Authentication failure. Retrying... messages - @Willsparker is there any magic needed on a new box to make the login work ok? I couldn't identify any existing doc on that.

@sxa
Copy link
Member

sxa commented Jul 12, 2023

ping @Willsparker - any idea if there's some "secret sauce" needed on a new Ubuntu? If the answer is "No" that's fine too but I'm trying to take the easy option of seeing if we do know of a solution first before digging :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
3 participants