Score:1

VM guests created in 18.04 LTS server won't boot on 20.04 LTS

in flag

We've been using 18.04 LTS server as our hypervisor for some time with good success. All of our production guests were created on this server, and are also all Ubuntu systems. We've recently built a new 20.04 LTS server to replace the original as our main host. We created a couple of new test guests on the new server, and everything works fine. Our problem is getting the guests from the original 18.04 server to run on the new one. The two servers don't have shared storage, so we performed off-line migrations of the guests. When we try to import the disk images into the new server and fire them up, none of them will boot. They all go immediately to grub rescue mode. We've tried all of the rescue techniques that we could find on-line, but none have worked. As a test, we tried the same off-line migration of the guests in question to another non-production 18.04 test server that we have in our lab. After importing the disk images into that box, they all started up just fine. Do we need to prep the guests that were created on the 18.04 server before running them on the new 20.04 box, or is there some other steps that we're missing to accomplish this type of migration? We've tried searching our problem, but can't find anything that references this particular issue. Any help that can be provided would be greatly appreciated. Thank you.

Christian Ehrhardt avatar
sl flag
You'd usually not need to modify/prepare a guest to migrate 18.04 -> 20.04. How have you done your offline migration - was it like "virsh migrate --unsafe --offline --persistent" maybe also adding " --copy-storage-all" to copy the data? Or have you done like a "virsh save/restore" based migration ? Or have manually copied over things - and if so what exactly? How did the guest definitions get transferred? For comparison here all kind of cross release migrations that are running regularly https://git.launchpad.net/~ubuntu-server/ubuntu/+source/qemu-migration-test/tree/qemu-libvirt-test.sh
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.