Score:0

KVM Guests dont restart?

sz flag

I've recently setup a server running Ubuntu Server 22.04.2, I was able to setup a few guest vms on QEMU/KVM, also running 22.04.2.

The problem I'm running into is when I issue a reboot from virsh or if I console into the guest and do sudo reboot the guest seems to power down and never restart.

I have too do virsh destroy guestos1 and then start it again to make it come back online.

Am I just missing something or are there some other logs I can be looking at to see why it doesn't reboot?

When I issue a reboot command the console shows:

[  OK  ] Removed slice Slice /system/modprobe. 
[  OK  ] Stopped target Cloud-init target.
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Host and Network Name Lookups.
[  OK  ] Stopped target Timer Units.
[  OK  ] Stopped Daily apt upgrade and clean activities.
[  OK  ] Stopped Daily apt download activities.
[  OK  ] Stopped Daily dpkg database backup timer.
[  OK  ] Stopped Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Stopped Discard unused blocks once a week.
[  OK  ] Stopped Message of the Day.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Closed LVM2 poll daemon socket.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Availability of block devices...
[  OK  ] Stopped Execute cloud user/final scripts.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped target Login Prompts.
         Stopping LSB: automatic crash report generation...
[  OK  ] Stopped Apply the settings specified in cloud-config.
[  OK  ] Stopped target Cloud-config availability.
         Stopping Docker Application Container Engine...
         Stopping Create final runt…dir for shutdown pivot root...
         Stopping Getty on tty1...
         Stopping Dispatcher daemon for systemd-networkd...
[  OK  ] Stopped Terminate Plymouth Boot Screen.
         Stopping Authorization Manager...
         Stopping Serial Getty on ttyS0...
[  OK  ] Stopped Wait until snapd is fully seeded.
         Stopping OpenBSD Secure Shell server...
         Stopping User Login Management...
         Stopping Load/Save Random Seed...
[  OK  ] Stopped Dispatcher daemon for systemd-networkd.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Authorization Manager.
[  OK  ] Removed slice Slice /system/getty.
[  OK  ] Removed slice Slice /system/serial-getty.
[  OK  ] Stopped target Preparation for Logins.
[  OK  ] Stopped Hold until boot process finishes up.
         Stopping Permit User Sessions...
[  OK  ] Stopped User Login Management.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Unmounted /run/docker/netns/1-qax00l03n6.
[  OK  ] Stopped LSB: automatic crash report generation.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Preparation for Remote File Systems.
[  OK  ] Unmounted /run/docker/netns/ingress_sbox.
[  OK  ] Stopped Docker Application Container Engine.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target System Time Set.
         Stopping containerd container runtime...
[  OK  ] Stopped containerd container runtime.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Path Units.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed cloud-init hotplug hook socket.
[  OK  ] Closed Docker Socket for the API.
[  OK  ] Closed Open-iSCSI iscsid Socket.
[  OK  ] Closed Helper to install lxd snap on demand.
[  OK  ] Closed Socket activation for snappy daemon.
[  OK  ] Stopped target System Initialization.
[  OK  ] Unset automount Arbitrary …s File System Automount Point.
[  OK  ] Stopped target Local Encrypted Volumes.
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
[  OK  ] Stopped target Swaps.
[  OK  ] Stopped target Local Verity Protected Volumes.
         Deactivating swap /swap.img...
[  OK  ] Stopped Initial cloud-init…ob (metadata service crawler).
[  OK  ] Stopped Wait for Network to be Configured.
         Stopping Network Name Resolution...
         Stopping Network Time Synchronization...
         Stopping Record System Boot/Shutdown in UTMP...
[  OK  ] Stopped Availability of block devices.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Network Name Resolution.
         Stopping Network Configuration...
[  OK  ] Stopped Network Configuration.
[  OK  ] Stopped target Preparation for Network.
[  OK  ] Closed Network Service Netlink Socket.
[  OK  ] Stopped Initial cloud-init job (pre-networking).
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Deactivated swap /swap.img.
[  OK  ] Stopped Record System Boot/Shutdown in UTMP.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped Create final runtime dir for shutdown pivot root.
[  OK  ] Stopped target Local File Systems.
[  OK  ] Stopped target Mounted snaps.
[  OK  ] Stopped target Mounting snaps.
         Unmounting /run/credentials/systemd-sysusers.service...
[  OK  ] Unmounted /run/credentials/systemd-sysusers.service.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Reached target Unmount All Filesystems.
         Stopping Monitoring of LVM…meventd or progress polling...
         Stopping Device-Mapper Multipath Device Controller...
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Device-Mapper Multipath Device Controller.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[  197.769438] reboot: Power down
<br/>

Any guidance would be appreciated.
I sit in a Tesla and translated this thread with Ai:

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.