proxmox-backup/src
Dominik Csapak 062cf75cdf proxmox-backup-proxy: fix leftover references on datastore removal
when we remove a datastore via api/cli, the proxy
has sometimes leftover references to that datastore in its
DATASTORE_MAP which includes an open filehandle on the
'.lock' file

this prevents unmounting/exporting the datastore even after removal,
only a reload/restart of the proxy did help

add a command to our command socket, which removes all non
configured datastores from the map, dropping the open filehandle

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-06-04 08:22:53 +02:00
..
acme update proxmox-http dependency 2021-05-17 11:29:24 +02:00
api2 proxmox-backup-proxy: fix leftover references on datastore removal 2021-06-04 08:22:53 +02:00
backup proxmox-backup-proxy: fix leftover references on datastore removal 2021-06-04 08:22:53 +02:00
bin proxmox-backup-proxy: fix leftover references on datastore removal 2021-06-04 08:22:53 +02:00
client update proxmox-http dependency 2021-05-17 11:29:24 +02:00
config reorder serde usage/derive 2021-05-31 14:53:08 +02:00
pxar pxar/extract: add sequential variant of extract_sub_dir 2021-04-08 14:24:23 +02:00
rrd clippy: more misc fixes 2021-01-26 09:54:55 +01:00
server server/prune_job: fix locking during prune jobs 2021-06-02 17:04:49 +02:00
tape tape/drive: improve tape device locking behaviour 2021-06-02 17:08:00 +02:00
tools update proxmox-http dependency 2021-05-17 11:29:24 +02:00
api2.rs file-restore: add binary and basic commands 2021-04-08 13:57:57 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs api2/access/user: remove password for @pbs users on removal 2021-04-15 08:33:20 +02:00
backup.rs api2/types: add TAPE_RESTORE_SNAPSHOT_SCHEMA 2021-05-07 12:27:50 +02:00
buildcfg.rs file-restore: add debug mode with serial access 2021-05-07 10:00:12 +02:00
client.rs client: add VsockClient to connect to virtio-vsock VMs 2021-02-17 08:15:43 +01:00
config.rs hot-reload proxy certificate when updating via the API 2021-05-11 16:28:08 +02:00
lib.rs add acme client 2021-05-04 07:56:52 +02:00
server.rs proxmox-backup-proxy: fix leftover references on datastore removal 2021-06-04 08:22:53 +02:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs update proxmox-http dependency 2021-05-17 11:29:24 +02:00