Bug 1213530 - Tumbleweed LXC containers ignore virsh/virt-manager shutdown and reboot requests
Summary: Tumbleweed LXC containers ignore virsh/virt-manager shutdown and reboot requests
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Other (show other bugs)
Version: Current
Hardware: Other openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 17:53 UTC by Eric van Blokland
Modified: 2023-08-14 16:42 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric van Blokland 2023-07-20 17:53:36 UTC
I have two hosts (Leap 15.4 and Tumbleweed) running various LXC containers. I have recently noticed that in both environments containers based on a Tumbleweed rootfs ignore virsh shutdown and reboot commands. Containers based on a Leap rootfs (15.3 and 15.4) are fine.

Containers that ignore requests using virsh and virt-manager can be stopped normally using machinectl.

Logs, even on debug level, do not appear to show anything relevant regarding shutdown and reboot.

I've glanced over the code on how container shutdown is done in lxc, but it's a bit beyond my understanding. I feel like I only see code for forceful termination and not for graceful shutdown/reboot.