]> git.proxmox.com Git - proxmox-backup.git/log
proxmox-backup.git
3 years agoadd tools::json for canonical json generation
Wolfgang Bumiller [Fri, 15 Jan 2021 10:06:15 +0000 (11:06 +0100)]
add tools::json for canonical json generation

moving this from backup::manifest, no functional changes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotape: do not abort backup if tape drive does not support tape-alert-flags
Dietmar Maurer [Fri, 15 Jan 2021 10:43:17 +0000 (11:43 +0100)]
tape: do not abort backup if tape drive does not support tape-alert-flags

3 years agotape: update restore docu
Dietmar Maurer [Fri, 15 Jan 2021 08:44:20 +0000 (09:44 +0100)]
tape: update restore docu

3 years agod/rules: patch out wrongly linked libraries from ELFs
Thomas Lamprecht [Thu, 14 Jan 2021 16:30:09 +0000 (17:30 +0100)]
d/rules: patch out wrongly linked libraries from ELFs

this is a HACK!

It seems that due to lots of binaries getting compiled from a single
crate the compiler is confused when linking in dependencies to each
binaries ELF.

It picks up the combined set (union) of all dependencies and sets
those to every ELF. This results in the client, for example, linking
to libapt-pkg or libsystemd even if none of that symbols are used..

This could be possibly fixed by restructuring the source tree into
sub crates/workspaces or what not, not really tested and *lots* of
work.

So as stop gap measure use `ldd -u` to find out unused linkage and
remove them using `patchelf`.

While this works well, and seems to not interfere with any debug
symbol usage or other usage in general it still is a hack and should
be dropped once the restructuring of the source tree has shown to
bring similar effects.

This allows for much easier re-use of the generated client .deb
package on other Debian derivaties (e.g., Ubuntu) which got blocked
until now due to wrong libt-apt verison or the like.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodebian/control: set VCS urls
Thomas Lamprecht [Thu, 14 Jan 2021 15:23:50 +0000 (16:23 +0100)]
debian/control: set VCS urls

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: sort and fix whitespace errors
Thomas Lamprecht [Thu, 14 Jan 2021 14:11:06 +0000 (15:11 +0100)]
d/control: sort and fix whitespace errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoaccess: restrict password changes on @pam realm to superuser
Oguz Bektas [Wed, 13 Jan 2021 16:26:15 +0000 (17:26 +0100)]
access: restrict password changes on @pam realm to superuser

for behavior consistency with `update_user`

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
3 years agoaccess: limit editing pam credentials to superuser
Oguz Bektas [Wed, 13 Jan 2021 16:26:14 +0000 (17:26 +0100)]
access: limit editing pam credentials to superuser

modifying @pam users credentials should be only possible for root@pam,
otherwise it can have unintended consequences.

also enforce the same limit on user creation (except self_service check,
since it makes no sense during user creation)

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
3 years agoproxmox 0.10: adapt to moved ParameterSchema
Fabian Grünbichler [Wed, 13 Jan 2021 13:48:33 +0000 (14:48 +0100)]
proxmox 0.10: adapt to moved ParameterSchema

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agocleanup: remove unnecessary 'mut' and '.clone()'
Fabian Grünbichler [Fri, 4 Dec 2020 10:53:34 +0000 (11:53 +0100)]
cleanup: remove unnecessary 'mut' and '.clone()'

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoexamples: unify h2 examples
Fabian Grünbichler [Fri, 4 Dec 2020 11:59:34 +0000 (12:59 +0100)]
examples: unify h2 examples

update them to the new tokio-openssl API and remove socket buffer size
setting - it was removed from the TcpStream API, and is now only
available via TcpSocket (which can in turn be converted to a
TcpListener), but this is not needed for this example.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agohyper: use new hyper::upgrade
Fabian Grünbichler [Fri, 4 Dec 2020 08:11:29 +0000 (09:11 +0100)]
hyper: use new hyper::upgrade

the old Body::on_upgrade method is no more

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio 1.0: update to new Signal interface
Fabian Grünbichler [Mon, 11 Jan 2021 08:52:52 +0000 (09:52 +0100)]
tokio 1.0: update to new Signal interface

Signal does not yet re-implement Stream (and is not yet wrapped in
tokio-stream either).

see https://github.com/tokio-rs/tokio/pull/3383

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio 1.0: update to new tokio-openssl interface
Fabian Grünbichler [Mon, 11 Jan 2021 08:51:21 +0000 (09:51 +0100)]
tokio 1.0: update to new tokio-openssl interface

connect/accept are now happening on pinned SslStreams

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio 1.0: use ReceiverStream from tokio-stream
Fabian Grünbichler [Mon, 11 Jan 2021 08:50:04 +0000 (09:50 +0100)]
tokio 1.0: use ReceiverStream from tokio-stream

to wrap a Receiver in a Stream. this will likely move back into tokio
proper once we have a std Stream..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio: adapt to 1.0 process:Child changes
Fabian Grünbichler [Fri, 4 Dec 2020 08:49:44 +0000 (09:49 +0100)]
tokio: adapt to 1.0 process:Child changes

Child itself is no longer a Future, but it has a new wait() async fn
that does the same thing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio: adapt to 1.0 runtime changes
Fabian Grünbichler [Fri, 4 Dec 2020 08:42:23 +0000 (09:42 +0100)]
tokio: adapt to 1.0 runtime changes

enter() now returns a guard, and the builder got revamped to make the
choice between MT and current thread explicit.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio 1.0: AsyncRead/Seek with ReadBuf
Fabian Grünbichler [Fri, 4 Dec 2020 08:34:08 +0000 (09:34 +0100)]
tokio 1.0: AsyncRead/Seek with ReadBuf

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoproxmox 0.10: use tokio::time::timeout directly
Fabian Grünbichler [Mon, 11 Jan 2021 10:24:52 +0000 (11:24 +0100)]
proxmox 0.10: use tokio::time::timeout directly

TimeoutFutureExt is no more

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agotokio 1.0: delay -> sleep
Fabian Grünbichler [Thu, 3 Dec 2020 15:04:23 +0000 (16:04 +0100)]
tokio 1.0: delay -> sleep

almost the same thing, new name(s), no longer Unpin

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoupdate to tokio 1.0
Fabian Grünbichler [Thu, 3 Dec 2020 15:00:54 +0000 (16:00 +0100)]
update to tokio 1.0

and various related crates

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agod/control: sort and fix whitespace errors
Thomas Lamprecht [Thu, 14 Jan 2021 14:11:06 +0000 (15:11 +0100)]
d/control: sort and fix whitespace errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agomanager: user/token list: fix rendering 0 (never) expire date
Thomas Lamprecht [Thu, 14 Jan 2021 12:59:08 +0000 (13:59 +0100)]
manager: user/token list: fix rendering 0 (never) expire date

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agotape: sg-tape-cmd - add more ways to specify devices
Dietmar Maurer [Thu, 14 Jan 2021 12:05:26 +0000 (13:05 +0100)]
tape: sg-tape-cmd - add more ways to specify devices

3 years agotape: add --inventorize flag to read-label API/CLI
Dietmar Maurer [Thu, 14 Jan 2021 10:51:23 +0000 (11:51 +0100)]
tape: add --inventorize flag to read-label API/CLI

3 years agoui: window/{AddWebauthn, TfaEdit}: fix spacing/border of the windows
Dominik Csapak [Wed, 13 Jan 2021 11:06:54 +0000 (12:06 +0100)]
ui: window/{AddWebauthn, TfaEdit}: fix spacing/border of the windows

the password field should not be indented differently than the rest of
the fields, and we never have a border on the panels

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: window/AddTotp: fix spacing styling of form fields
Dominik Csapak [Wed, 13 Jan 2021 11:06:53 +0000 (12:06 +0100)]
ui: window/AddTotp: fix spacing styling of form fields

by moving the lower fields into the form itself and dropping the padding

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: window/AddTfaRecovery: fix style of TfaRecoveryShow window
Dominik Csapak [Wed, 13 Jan 2021 11:06:52 +0000 (12:06 +0100)]
ui: window/AddTfaRecovery: fix style of TfaRecoveryShow window

to have a more similar layout/spacing to our other windows

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: window/AddTfaRecovery: rewrite to a Proxmox.window.Edit
Dominik Csapak [Wed, 13 Jan 2021 11:06:51 +0000 (12:06 +0100)]
ui: window/AddTfaRecovery: rewrite to a Proxmox.window.Edit

we can reuse the edit window from widget toolkit for the most part
this solves some spacing and layout issues and is less code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: config/TfaView: disable Remove button by default
Dominik Csapak [Wed, 13 Jan 2021 11:06:50 +0000 (12:06 +0100)]
ui: config/TfaView: disable Remove button by default

gets enabled when an item is clicked

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agoui: LoginView: remove not used viewModel
Dominik Csapak [Wed, 13 Jan 2021 11:06:49 +0000 (12:06 +0100)]
ui: LoginView: remove not used viewModel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agotape: MediaPool - allow to allocate free tapes
Dietmar Maurer [Wed, 13 Jan 2021 13:25:51 +0000 (14:25 +0100)]
tape: MediaPool - allow to allocate free tapes

3 years agotape: rename changer_id to label_text
Dietmar Maurer [Wed, 13 Jan 2021 12:26:59 +0000 (13:26 +0100)]
tape: rename changer_id to label_text

3 years agotape: docu - explain manual backups and tape cleaning
Dietmar Maurer [Tue, 12 Jan 2021 16:26:15 +0000 (17:26 +0100)]
tape: docu - explain manual backups and tape cleaning

3 years agotape: improve docu
Dietmar Maurer [Tue, 12 Jan 2021 15:37:23 +0000 (16:37 +0100)]
tape: improve docu

3 years agotape: MediaListEntry - add ctime
Dietmar Maurer [Tue, 12 Jan 2021 11:00:39 +0000 (12:00 +0100)]
tape: MediaListEntry - add ctime

3 years agoui: tfa: drop bogus gettext of empty string
Thomas Lamprecht [Tue, 12 Jan 2021 10:44:05 +0000 (11:44 +0100)]
ui: tfa: drop bogus gettext of empty string

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoui: notify options: Remove gettext for root@pam
Dominic Jäger [Thu, 7 Jan 2021 08:32:15 +0000 (09:32 +0100)]
ui: notify options: Remove gettext for root@pam

Translating root@pam is not useful, especially as the empty text symbolises the
default value.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
3 years agofix #3245: only use default schedule for new jobs
Dominik Csapak [Tue, 12 Jan 2021 09:21:17 +0000 (10:21 +0100)]
fix #3245: only use default schedule for new jobs

an empty schedule means 'none', so do not fill it with the default
in case we edit an existing job (like we do already for sync jobs)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agotape: automatically reload tapes inside autoloader
Dietmar Maurer [Tue, 12 Jan 2021 08:49:05 +0000 (09:49 +0100)]
tape: automatically reload tapes inside autoloader

We always automatically unload tapes to free library slots,
so it should not happen that an ejected tape resides inside the drive.

This is just a safe guard to handle the situation in case it happens ...

You can manually produce the situation by ejecting a tape without unloading:

 mt -f /dev/nst0 eject

Note: Our "proxmox-tape eject" does automatic unload

3 years agotape: make eject/export more reliable, improve logging
Dietmar Maurer [Tue, 12 Jan 2021 08:16:16 +0000 (09:16 +0100)]
tape: make eject/export more reliable, improve logging

3 years agotape: improve backup logs
Dietmar Maurer [Mon, 11 Jan 2021 12:22:31 +0000 (13:22 +0100)]
tape: improve backup logs

3 years agotape: fix tape alert flag values
Dietmar Maurer [Mon, 11 Jan 2021 06:41:50 +0000 (07:41 +0100)]
tape: fix tape alert flag values

3 years agod/control bump
Wolfgang Bumiller [Mon, 11 Jan 2021 11:09:19 +0000 (12:09 +0100)]
d/control bump

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoapi: return "invalid" as CSRF token for partial tickets
Wolfgang Bumiller [Fri, 8 Jan 2021 11:57:14 +0000 (12:57 +0100)]
api: return "invalid" as CSRF token for partial tickets

So that old clients don't `unwrap` a `None` value.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agogui: masks for: adding recovery and removals
Wolfgang Bumiller [Fri, 8 Jan 2021 11:00:00 +0000 (12:00 +0100)]
gui: masks for: adding recovery and removals

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agogui: add load mask during webauthn api calls
Wolfgang Bumiller [Fri, 8 Jan 2021 10:54:12 +0000 (11:54 +0100)]
gui: add load mask during webauthn api calls

so that if we run into the 3s delay due to the wrong
password the window is properly masked

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: use UNAUTHORIZED http status in password check
Wolfgang Bumiller [Fri, 8 Jan 2021 09:30:11 +0000 (10:30 +0100)]
tfa: use UNAUTHORIZED http status in password check

to trigger our 3s delay in the rest handler

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: fixup for challenge file split
Wolfgang Bumiller [Mon, 21 Dec 2020 13:27:13 +0000 (14:27 +0100)]
tfa: fixup for challenge file split

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: remove tfa user when a user is deleted
Wolfgang Bumiller [Fri, 11 Dec 2020 13:34:47 +0000 (14:34 +0100)]
tfa: remove tfa user when a user is deleted

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: improve user existence check
Wolfgang Bumiller [Fri, 18 Dec 2020 13:12:03 +0000 (14:12 +0100)]
tfa: improve user existence check

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: allow deletion of entries of non-existent users
Wolfgang Bumiller [Fri, 18 Dec 2020 13:09:47 +0000 (14:09 +0100)]
tfa: allow deletion of entries of non-existent users

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotypo fixups
Wolfgang Bumiller [Fri, 18 Dec 2020 13:01:18 +0000 (14:01 +0100)]
typo fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa api: return types and 'pub' structs/methods
Wolfgang Bumiller [Fri, 18 Dec 2020 12:59:35 +0000 (13:59 +0100)]
tfa api: return types and 'pub' structs/methods

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: entry access/iteration cleanup
Wolfgang Bumiller [Mon, 14 Dec 2020 15:35:41 +0000 (16:35 +0100)]
tfa: entry access/iteration cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: r#type parameter name
Wolfgang Bumiller [Mon, 14 Dec 2020 15:32:42 +0000 (16:32 +0100)]
tfa: r#type parameter name

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa: _entry api method name suffix consistency
Wolfgang Bumiller [Mon, 14 Dec 2020 13:27:26 +0000 (14:27 +0100)]
tfa: _entry api method name suffix consistency

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa gui: fix adding recovery keys as user
Wolfgang Bumiller [Thu, 10 Dec 2020 12:43:09 +0000 (13:43 +0100)]
tfa gui: fix adding recovery keys as user

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotfa view: html-escape description text
Wolfgang Bumiller [Wed, 2 Dec 2020 10:17:20 +0000 (11:17 +0100)]
tfa view: html-escape description text

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agogui: tfa support
Wolfgang Bumiller [Mon, 2 Nov 2020 13:36:10 +0000 (14:36 +0100)]
gui: tfa support

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoproxy: expose qrcodejs
Wolfgang Bumiller [Thu, 19 Nov 2020 10:10:02 +0000 (11:10 +0100)]
proxy: expose qrcodejs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agodepend on libjs-qrcodejs
Wolfgang Bumiller [Thu, 19 Nov 2020 10:07:24 +0000 (11:07 +0100)]
depend on libjs-qrcodejs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoapi: tfa management and login
Wolfgang Bumiller [Mon, 16 Nov 2020 13:37:22 +0000 (14:37 +0100)]
api: tfa management and login

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoconfig: add tfa configuration
Wolfgang Bumiller [Mon, 16 Nov 2020 13:36:14 +0000 (14:36 +0100)]
config: add tfa configuration

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobuildcfg: add rundir helper macro
Wolfgang Bumiller [Mon, 14 Dec 2020 13:11:32 +0000 (14:11 +0100)]
buildcfg: add rundir helper macro

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotools: add create_run_dir helper
Wolfgang Bumiller [Mon, 14 Dec 2020 13:11:23 +0000 (14:11 +0100)]
tools: add create_run_dir helper

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoadd tools::serde_filter submodule
Wolfgang Bumiller [Mon, 2 Nov 2020 10:52:03 +0000 (11:52 +0100)]
add tools::serde_filter submodule

can be used to perform filtering at parse time

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agotape: improve retention period docu
Dietmar Maurer [Mon, 11 Jan 2021 06:11:17 +0000 (07:11 +0100)]
tape: improve retention period docu

3 years agotape: remove unused eject_on_unload method
Dietmar Maurer [Sun, 10 Jan 2021 15:20:18 +0000 (16:20 +0100)]
tape: remove unused eject_on_unload method

3 years agotape: more MediaChange cleanups
Dietmar Maurer [Sun, 10 Jan 2021 14:32:52 +0000 (15:32 +0100)]
tape: more MediaChange cleanups

Try to provide generic implementation for complex operations:

- unload_to_free_slot
- load_media
- export media
- clean drive
- online_media_changer_ids

3 years agotape: improve export media to directly export from drive, add CLI
Dietmar Maurer [Sun, 10 Jan 2021 12:44:44 +0000 (13:44 +0100)]
tape: improve export media to directly export from drive, add CLI

3 years agotape: cleanup: s/transfer/transfer_media/, avoid compiler warnings
Dietmar Maurer [Sun, 10 Jan 2021 11:18:30 +0000 (12:18 +0100)]
tape: cleanup: s/transfer/transfer_media/, avoid compiler warnings

3 years agotape: backup - implement export-media-set option
Dietmar Maurer [Sun, 10 Jan 2021 10:59:55 +0000 (11:59 +0100)]
tape: backup - implement export-media-set option

3 years agotape: MediaChange - add transfer, implement export
Dietmar Maurer [Sun, 10 Jan 2021 10:51:09 +0000 (11:51 +0100)]
tape: MediaChange -  add transfer, implement export

3 years agotape: renamed src/tape/changer/linux_tape.rs -> src/tape/changer/mtx.rs
Dietmar Maurer [Sun, 10 Jan 2021 09:06:24 +0000 (10:06 +0100)]
tape: renamed src/tape/changer/linux_tape.rs -> src/tape/changer/mtx.rs

3 years agotape: simplify media changer implementation - new struct MtxMediaChanger
Dietmar Maurer [Sun, 10 Jan 2021 09:02:01 +0000 (10:02 +0100)]
tape: simplify media changer implementation - new struct MtxMediaChanger

3 years agotape: backup - implement --eject-media option
Dietmar Maurer [Sat, 9 Jan 2021 14:17:03 +0000 (15:17 +0100)]
tape: backup - implement --eject-media option

3 years agotape: abort backup when we detect critical tape alert flags
Dietmar Maurer [Sat, 9 Jan 2021 11:34:00 +0000 (12:34 +0100)]
tape: abort backup when we detect critical tape alert flags

3 years agotape: change default media set naming template to "%c"
Dietmar Maurer [Sat, 9 Jan 2021 09:51:51 +0000 (10:51 +0100)]
tape: change default media set naming template to "%c"

3 years agotape: show catalog status in media list
Dietmar Maurer [Sat, 9 Jan 2021 09:24:48 +0000 (10:24 +0100)]
tape: show catalog status in media list

3 years agotape: split MediaSet into extra file
Dietmar Maurer [Sat, 9 Jan 2021 07:54:58 +0000 (08:54 +0100)]
tape: split MediaSet into extra file

3 years agotape: docu - improve Administration section
Dietmar Maurer [Fri, 8 Jan 2021 18:17:31 +0000 (19:17 +0100)]
tape: docu - improve Administration section

3 years agotape: minor docu update in retention policy
Dietmar Maurer [Fri, 8 Jan 2021 18:01:38 +0000 (19:01 +0100)]
tape: minor docu update in retention policy

3 years agotape: add retention policy docu
Dietmar Maurer [Fri, 8 Jan 2021 16:34:58 +0000 (17:34 +0100)]
tape: add retention policy docu

3 years agotape: improve media set docu
Dietmar Maurer [Fri, 8 Jan 2021 15:53:46 +0000 (16:53 +0100)]
tape: improve media set docu

3 years agotape: implement drive clean
Dietmar Maurer [Fri, 8 Jan 2021 10:32:56 +0000 (11:32 +0100)]
tape: implement drive clean

3 years agotape: correctly skip cleaning tapes (not regular tapes)
Dietmar Maurer [Fri, 8 Jan 2021 08:16:42 +0000 (09:16 +0100)]
tape: correctly skip cleaning tapes (not regular tapes)

3 years agotape: add some media pool docu
Dietmar Maurer [Fri, 8 Jan 2021 07:46:25 +0000 (08:46 +0100)]
tape: add some media pool docu

3 years agotape: changer transfer - make name parameter optional
Dietmar Maurer [Thu, 7 Jan 2021 16:09:47 +0000 (17:09 +0100)]
tape: changer transfer - make name parameter optional

3 years agotape: fix paramater name - s/slot/source-slot/
Dietmar Maurer [Thu, 7 Jan 2021 14:39:25 +0000 (15:39 +0100)]
tape: fix paramater name - s/slot/source-slot/

3 years agotape: changer status command: make changer name optional
Dietmar Maurer [Thu, 7 Jan 2021 14:12:19 +0000 (15:12 +0100)]
tape: changer status command: make changer name optional

3 years agotape: improve MediaChange trait
Dietmar Maurer [Thu, 7 Jan 2021 13:26:43 +0000 (14:26 +0100)]
tape: improve MediaChange trait

We expose the whole MtxStatus, and we can load/store from/to
specified slot numbers.

3 years agotape: more docs
Dietmar Maurer [Wed, 6 Jan 2021 15:13:58 +0000 (16:13 +0100)]
tape: more docs

3 years agotape: document tape drive configuration
Dietmar Maurer [Wed, 6 Jan 2021 15:00:31 +0000 (16:00 +0100)]
tape: document tape drive configuration

3 years agotape: document new export-slots feature
Dietmar Maurer [Wed, 6 Jan 2021 13:11:35 +0000 (14:11 +0100)]
tape: document new export-slots feature

3 years agotape: mtx_status - consider new export-slots property
Dietmar Maurer [Wed, 6 Jan 2021 10:53:33 +0000 (11:53 +0100)]
tape: mtx_status - consider new export-slots property

3 years agotape: changer - add export-slot config
Dietmar Maurer [Wed, 6 Jan 2021 10:06:50 +0000 (11:06 +0100)]
tape: changer - add export-slot config

3 years agotape: improve tape changer docs
Dietmar Maurer [Wed, 6 Jan 2021 08:45:36 +0000 (09:45 +0100)]
tape: improve tape changer docs

3 years agotape: only query volume stats if we can read MAM
Dietmar Maurer [Wed, 6 Jan 2021 08:20:36 +0000 (09:20 +0100)]
tape: only query volume stats if we can read MAM

3 years agotape: add function to classify tape-alert-flags
Dietmar Maurer [Tue, 5 Jan 2021 16:23:30 +0000 (17:23 +0100)]
tape: add function to classify tape-alert-flags