Skip to content

FIx LXD drivers shutdown exception handling #3175

@dann1

Description

@dann1

Description
During shutdown:

  • container is loaded 2 times even if no exception occur
  • vnc connection is not stopped if the container storage fails to be dismantled, leaving
  • wild containers do not get forced stop if timeout is detected
  • reboot action is susceptible to timeout issues

To Reproduce
Steps to reproduce the behavior.

Expected behavior

  • always stop vnc
  • always force shutdown wild containers if running after timeout
  • load only once the container if everything succeeds
  • validate timeout issues in reboot

Details

  • Affected Component: Virtualization Driver
  • Hypervisor: LXD
  • Version: 5.8.0

Additional context
Add any other context about the problem here.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions