public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH 0/9] Debug mode and smaller fixes for single file restore
@ 2021-05-06 15:26 Stefan Reiter
  2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 1/9] file-restore: add debug mode with serial access Stefan Reiter
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Stefan Reiter @ 2021-05-06 15:26 UTC (permalink / raw)
  To: pbs-devel

Adds a debug mode for restore VMs, triggerable by setting PBS_QEMU_DEBUG=1 on a
proxmox-file-restore command that starts a new VM. You can then access a root
shell in the VM via the socket printed.

Also includes several smaller fixes for file restore:
* try to better avoid stale VMs
* support more drives per VM
* work around a tokio bug leaving suspended tasks behind
* avoid watchdog expiry during downloads


proxmox-backup: Stefan Reiter (7):
  file-restore: add debug mode with serial access
  file-restore: try to kill VM when stale
  file-restore: add more RAM for VMs with many drives or debug
  file-restore: support more drives
  file-restore-daemon: work around tokio DuplexStream bug
  file-restore-daemon: watchdog: add inhibit for long downloads
  file-restore-daemon: limit concurrent download calls

 debian/proxmox-backup-file-restore.postinst   | 12 ++-
 .../proxmox_file_restore/block_driver_qemu.rs |  2 +
 src/bin/proxmox_file_restore/qemu_helper.rs   | 85 ++++++++++++++++---
 src/bin/proxmox_restore_daemon/api.rs         | 25 +++++-
 src/bin/proxmox_restore_daemon/watchdog.rs    | 24 +++++-
 src/buildcfg.rs                               |  4 +
 6 files changed, 135 insertions(+), 17 deletions(-)

proxmox-backup-restore-image: Stefan Reiter (2):
  kernel: power off on panic
  add debug initramfs as seperate package

 Makefile                                      | 13 +++--
 debian/control                                | 10 +++-
 ...proxmox-backup-restore-image-debug.install |  1 +
 ...ckup-restore-image-debug.lintian-overrides |  2 +
 ...roxmox-backup-restore-image-debug.triggers |  1 +
 src/Makefile                                  |  5 +-
 src/build_initramfs.sh                        | 55 +++++++++++++------
 src/init-shim-rs/src/main.rs                  | 46 +++++++++++++++-
 ...restore-halt-machine-on-kernel-panic.patch | 32 +++++++++++
 9 files changed, 138 insertions(+), 27 deletions(-)
 create mode 100644 debian/proxmox-backup-restore-image-debug.install
 create mode 100644 debian/proxmox-backup-restore-image-debug.lintian-overrides
 create mode 100644 debian/proxmox-backup-restore-image-debug.triggers
 create mode 100644 src/patches/kernel/0004-PBS-restore-halt-machine-on-kernel-panic.patch

-- 
2.20.1




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-05-25 11:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 15:26 [pbs-devel] [PATCH 0/9] Debug mode and smaller fixes for single file restore Stefan Reiter
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 1/9] file-restore: add debug mode with serial access Stefan Reiter
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 2/9] file-restore: try to kill VM when stale Stefan Reiter
2021-05-07  7:04   ` [pbs-devel] applied: " Thomas Lamprecht
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 3/9] file-restore: add more RAM for VMs with many drives or debug Stefan Reiter
2021-05-07  7:04   ` [pbs-devel] applied: " Thomas Lamprecht
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 4/9] file-restore: support more drives Stefan Reiter
2021-05-07  7:04   ` [pbs-devel] applied: " Thomas Lamprecht
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 5/9] file-restore-daemon: work around tokio DuplexStream bug Stefan Reiter
2021-05-06 18:12   ` Thomas Lamprecht
2021-05-07  7:26     ` Fabian Grünbichler
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 6/9] file-restore-daemon: watchdog: add inhibit for long downloads Stefan Reiter
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup 7/9] file-restore-daemon: limit concurrent download calls Stefan Reiter
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup-restore-image 8/9] kernel: power off on panic Stefan Reiter
2021-05-06 15:26 ` [pbs-devel] [PATCH proxmox-backup-restore-image 9/9] add debug initramfs as seperate package Stefan Reiter
2021-05-06 18:07   ` Thomas Lamprecht
2021-05-25 11:50 ` [pbs-devel] applied-series: [PATCH 0/9] Debug mode and smaller fixes for single file restore Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal