Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Fabian Ebner
Am 18.06.21 um 08:56 schrieb Wolfgang Bumiller: On 06/18/2021 8:53 AM Fabian Ebner wrote: Am 18.06.21 um 08:44 schrieb Wolfgang Bumiller: On 06/18/2021 8:42 AM Fabian Ebner wrote: +Some((last, rest)) => match rest.split_last() { +Some((second_to_last, _rest

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Wolfgang Bumiller
> On 06/18/2021 8:53 AM Fabian Ebner wrote: > > > Am 18.06.21 um 08:44 schrieb Wolfgang Bumiller: > > > >> On 06/18/2021 8:42 AM Fabian Ebner wrote: > +Some((last, rest)) => match rest.split_last() { > +Some((second_to_last, _rest)) => { > +

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Fabian Ebner
Am 18.06.21 um 08:44 schrieb Wolfgang Bumiller: On 06/18/2021 8:42 AM Fabian Ebner wrote: +Some((last, rest)) => match rest.split_last() { +Some((second_to_last, _rest)) => { +(*last == "org" && *second_to_last == "debian") +

Re: [pve-devel] [pbs-devel] [PATCH v6 proxmox-apt 06/11] add release_upgrade function and constants for the current and upgrade suite

2021-06-17 Thread Fabian Ebner
Am 17.06.21 um 16:16 schrieb Fabian Grünbichler: On June 11, 2021 1:43 pm, Fabian Ebner wrote: useful for major upgrades. The stable branch can enable the upgrade, and bump the minor version, while the master branch will adapt to the new release and bump the major version. Each product can depen

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Wolfgang Bumiller
> On 06/18/2021 8:42 AM Fabian Ebner wrote: > >> +Some((last, rest)) => match rest.split_last() { > >> +Some((second_to_last, _rest)) => { > >> +(*last == "org" && *second_to_last == "debian") > >> +|| (*last == "com" && *se

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Fabian Ebner
Am 17.06.21 um 10:39 schrieb Wolfgang Bumiller: some non-blocking cleanups in case you do another version: On Fri, Jun 11, 2021 at 01:43:53PM +0200, Fabian Ebner wrote: which checks for bad suites and official URIs. Signed-off-by: Fabian Ebner --- Changes from v5: * split out host_from_

[pve-devel] applied-series: [PATCH-SERIES v5 manager] fix #2745: allow specifying remove parameter for manual backup

2021-06-17 Thread Thomas Lamprecht
On 06.05.21 14:16, Fabian Ebner wrote: > Changes from v4: > * dropped already applied patches > * added a few small follow-ups and preparation: > * set loading mask early enough > * switch to two-column layout > * changes for the main patch: > * fix labels and ge

[pve-devel] [PATCH zfsonlinux 14/16] add symbol files for library packages

2021-06-17 Thread Stoiko Ivanov
verbatim copy symbols from debian upstream [0] at commit e28b972f4fa6c6c3195d362008d14c4e5a3ec219 [0] https://salsa.debian.org/zfsonlinux-team/zfs.git Signed-off-by: Stoiko Ivanov --- debian/libnvpair3linux.symbols | 236 ++ debian/libuutil3linux.symbols | 261 +++ debian/libzfs4linux

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Fabian Grünbichler
On June 11, 2021 1:43 pm, Fabian Ebner wrote: > which checks for bad suites and official URIs. > > Signed-off-by: Fabian Ebner > --- > > Changes from v5: > * split out host_from_uri helper and also handle userinfo and port > * test an offical URI with port > * match all *.debian.org

Re: [pve-devel] [pbs-devel] [PATCH v6 proxmox-apt 06/11] add release_upgrade function and constants for the current and upgrade suite

2021-06-17 Thread Fabian Grünbichler
On June 11, 2021 1:43 pm, Fabian Ebner wrote: > useful for major upgrades. The stable branch can enable the upgrade, and bump > the minor version, while the master branch will adapt to the new release and > bump the major version. Each product can depend on the the new major version > after branchi

[pve-devel] [PATCH zfsonlinux 11/16] sync scrub and trim cronjobs with debian upstream

2021-06-17 Thread Stoiko Ivanov
* Pull in the changes to the automatic scrub cronjob from debian-upstream [0] commit f6d45405df0a2ed2748975667e8ea50714034d13 * Add a script and cronjob for regular trimming of pools * Change the logic to scrub/trim pools based on a per pool('s root dataset property) pulled the changes in as

[pve-devel] [PATCH zfsonlinux 12/16] update lintian-overrides

2021-06-17 Thread Stoiko Ivanov
mostly taken from debian-upstream Signed-off-by: Stoiko Ivanov --- debian/libzfsbootenv1linux.lintian-overrides | 4 ++-- debian/zfs-test.lintian-overrides| 14 +- debian/zfs-zed.lintian-overrides | 4 debian/zfsutils-linux.lintian-overrides | 16 +

[pve-devel] [PATCH zfsonlinux 08/16] Bump Standards-Version to 4.5.1 (no changes)

2021-06-17 Thread Stoiko Ivanov
(adapted from debian-upstream [0] commit b8999dc6ed1c821d5ca0e6474d7d57718b700dbf) [0] https://salsa.debian.org/zfsonlinux-team/zfs/ Signed-off-by: Stoiko Ivanov --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 57d8eefb

[pve-devel] [PATCH zfsonlinux 09/16] Adjust zed.d symlink-preservation

2021-06-17 Thread Stoiko Ivanov
Closes BTS#983401. - Overwrite dangling symlinks on install - Does not clobber symlinks on removal Signed-off-by: Antonio Russo (cherry picked from commit b024d59f5976ea75ac9a0b48612b7032d24513ee) Signed-off-by: Stoiko Ivanov --- debian/zfs-zed.postinst | 2 +- debian/zfs-zed.prerm| 4 ++

[pve-devel] [PATCH zfsonlinux 07/16] compat 12 automatically adds initramfs trigger

2021-06-17 Thread Stoiko Ivanov
Signed-off-by: Antonio Russo (cherry picked from commit 1564c05d0dfa30bef120f86529a3f026538e4c4e) Signed-off-by: Stoiko Ivanov --- debian/zfs-initramfs.triggers | 1 - 1 file changed, 1 deletion(-) delete mode 100644 debian/zfs-initramfs.triggers diff --git a/debian/zfs-initramfs.triggers b/de

[pve-devel] [PATCH zfsonlinux 03/16] Reflect libssl requirement of libzfs

2021-06-17 Thread Stoiko Ivanov
cherry picked from debian-upstream [0] (cherry picked from commit dbe70331081033bbedfa52d641f82e784972f6cf) Originally-by: Antonio Russo Signed-off-by: Stoiko Ivanov [0] https://salsa.debian.org/zfsonlinux-team/zfs/ Signed-off-by: Stoiko Ivanov --- debian/control | 3 ++- 1 file changed, 2 i

[pve-devel] [PATCH zfsonlinux 01/16] buildsys: unify '{' and '(' in Makefile

2021-06-17 Thread Stoiko Ivanov
Signed-off-by: Stoiko Ivanov --- Makefile | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index bc168cda..a3d730d5 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ zfs-zed_${ZFSPKGVER}_amd64.deb\ zfs-initramfs

[pve-devel] [PATCH zfsonlinux 02/16] buildsys: add all packages to make variable and sort

2021-06-17 Thread Stoiko Ivanov
Signed-off-by: Stoiko Ivanov --- Makefile | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a3d730d5..6c1f642c 100644 --- a/Makefile +++ b/Makefile @@ -8,15 +8,20 @@ ZFSSRC=upstream ZFS_DEB1= libnvpair3linux_${ZFSPKGVER}_amd64.deb ZFS_DE

[pve-devel] [PATCH zfsonlinux 05/16] buildsys: switch to automatic debug packages

2021-06-17 Thread Stoiko Ivanov
automatically generated -dbgsym packages has become the default (see dh_strip(1) and [0]). While we have no direct need to migrate, it helps in avoiding debhelper bug 939164 (see [1]), when migrating to debhelper-compat 12. (alternative option would be to depend on debhelper from backports, or to s

[pve-devel] [PATCH zfsonlinux 16/16] do not restart zfs-volume-wait.service

2021-06-17 Thread Stoiko Ivanov
in postinst. During the transition from ZFS 0.8.x to 2.0.0 zvol_wait, which is called by zfs-volume-wait.service was changed to also output the redacted_snap property of the datasets. This property does not exist if the kernelmodule is still 0.8.x, causing an error to be printed to the journal. Si

[pve-devel] [PATCH zfsonlinux 13/16] drop unused lintian overrides

2021-06-17 Thread Stoiko Ivanov
Signed-off-by: Stoiko Ivanov --- debian/zfsutils-linux.lintian-overrides | 3 --- 1 file changed, 3 deletions(-) diff --git a/debian/zfsutils-linux.lintian-overrides b/debian/zfsutils-linux.lintian-overrides index 8918b1e7..67254c84 100644 --- a/debian/zfsutils-linux.lintian-overrides +++ b/deb

[pve-devel] [PATCH zfsonlinux 15/16] update libzpool symbols

2021-06-17 Thread Stoiko Ivanov
The symbols zfs_ract_(read|write) were added to libzpool in upstream 403703d57a3c6503cd7a6a7a9fbc2de215d4de57 and are exported, despite only having a sensible implementation in FreeBSD. Signed-off-by: Stoiko Ivanov --- debian/libzpool4linux.symbols | 2 ++ 1 file changed, 2 insertions(+) diff

[pve-devel] [PATCH zfsonlinux 10/16] Remove /etc/zfs/zed.d on purge

2021-06-17 Thread Stoiko Ivanov
(cherry picked from debian-upstream [0] commits d0ba1164dcf8e566a5134d8fadef4c84d5afdf6c and 3ddeaa236e758e3dee7a9eedac66a001a11953c3) [0] https://salsa.debian.org/zfsonlinux-team/zfs/ Signed-off-by: Stoiko Ivanov --- debian/zfs-zed.postrm | 17 + 1 file changed, 17 insertions(+)

[pve-devel] [PATCH zfsonlinux 06/16] Bump debhelper compat level to 12.

2021-06-17 Thread Stoiko Ivanov
Signed-off-by: Stoiko Ivanov --- debian/compat | 1 - debian/control | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28b.. --- a/debian/compat +++ /dev/null @@ -1 +0,

[pve-devel] [PATCH zfsonlinux 04/16] Elaborate the functionality of ZED in long description. (Closes: #979414)

2021-06-17 Thread Stoiko Ivanov
cherry picked from debian upstream [0] (cherry picked from commit d37e013ff5f7b811b235c62ea5c2c10828aceb7b) Originally-by: Mo Zhou Signed-off-by: Stoiko Ivanov [0] https://salsa.debian.org/zfsonlinux-team/zfs/ Signed-off-by: Stoiko Ivanov --- debian/control | 5 + 1 file changed, 5 inser

[pve-devel] [PATCH zfsonlinux 00/16] sync buildsys with debian-upstream

2021-06-17 Thread Stoiko Ivanov
This patchset started out as what is now the last commit: trying not to uselessly restart the zfs-services (like zfs-volume-wait.service) upon upgrading, since it lead to quite a few scary looking (but harmless) journal entries. since this was already fixed in upstream debian's packaging I tried t

[pve-devel] applied: [PATCH i18n] de: fix a few typos

2021-06-17 Thread Thomas Lamprecht
On 06.05.21 10:59, Fabian Ebner wrote: > Signed-off-by: Fabian Ebner > --- > de.po | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cg

[pve-devel] applied: [PATCH proxmox-i18n] update fr translation

2021-06-17 Thread Thomas Lamprecht
On 24.05.21 14:58, Alexandre Derumier wrote: > --- > fr.po | 925 +- > 1 file changed, 333 insertions(+), 592 deletions(-) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox

[pve-devel] [PATCH manager 1/4] ui: data/PermPathStore: add missing basic acl paths to acl selector

2021-06-17 Thread Dominik Csapak
those two static acl paths were missing in the selector Signed-off-by: Dominik Csapak --- www/manager6/data/PermPathStore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/manager6/data/PermPathStore.js b/www/manager6/data/PermPathStore.js index 051da3cf..1dc276b6 100644 --- a/www/ma

[pve-devel] [RFC PATCH manager 2/4] ui: data/PermPathStore: show/load acl paths for realms

2021-06-17 Thread Dominik Csapak
save the realm list on login, and if that list exists, show that in the acl selector, else load the list and save it Signed-off-by: Dominik Csapak --- not really sure about it, also maybe we should simply load it everytime? www/manager6/data/PermPathStore.js | 32 ++

[pve-devel] [PATCH manager 4/4] ui: dc/ACLView: make the window wider

2021-06-17 Thread Dominik Csapak
to accomodate the longer acl paths better Signed-off-by: Dominik Csapak --- www/manager6/dc/ACLView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/manager6/dc/ACLView.js b/www/manager6/dc/ACLView.js index 51c247d6..65abd8cd 100644 --- a/www/manager6/dc/ACLView.js +++ b/www/manager6

[pve-devel] [RFC PATCH manager 3/4] ui: data/PermPathStore: load list of groups to show their path

2021-06-17 Thread Dominik Csapak
tries to load the list of defined groups and adds them to the store Signed-off-by: Dominik Csapak --- also not really sure about it either, if we save the realmlist, maybe the grouplist too? or as i already wrote, load the realmlist everytime too? www/manager6/data/PermPathStore.js | 20 +++

[pve-devel] applied: [PATCH novnc] update patch to correctly hide the clipboard button

2021-06-17 Thread Thomas Lamprecht
On 17.05.21 12:12, Dominik Csapak wrote: > Signed-off-by: Dominik Csapak > --- > .../0001-add-PVE-specific-JS-code.patch | 27 --- > ...002-add-custom-fbresize-event-on-rfb.patch | 2 +- > ...nge-scaling-when-toggling-fullscreen.patch | 2 +- > ...rectory-for-fetching-imag

[pve-devel] applied: [PATCH common 1/9] tools: add upid_status_is_error function

2021-06-17 Thread Thomas Lamprecht
On 12.05.21 14:32, Fabian Ebner wrote: > There's also support for ending a task with warnings now, so the logic "status > not 'OK' means error" does not work anymore. > > Signed-off-by: Fabian Ebner > --- > src/PVE/Tools.pm | 8 > 1 file changed, 8 insertions(+) > > applied, thanks!

[pve-devel] applied-partially: [PATCH-SERIES v2 common/manager] fix #2422: allow multiple Ceph public networks

2021-06-17 Thread Thomas Lamprecht
On 10.05.21 14:18, Fabian Ebner wrote: > common: > > Fabian Ebner (4): > network: is_ip_in_cidr: correctly handle the CIDR being a singleton > range > network: is_ip_in_cidr: avoid warning when versions don't match > network: add canonical_ip function > network: add unique_ips function

Re: [pve-devel] [PATCH v2 container 2/2] close #3471: Support for NetworkManager on CentOS.

2021-06-17 Thread Dominik Csapak
On 6/17/21 14:33, Fabian Grünbichler wrote: On June 17, 2021 2:28 pm, Dominik Csapak wrote: my $bootproto = ''; @@ -213,7 +214,7 @@ sub setup_network { if ($d->{ip6} eq 'auto') { $data .= "IPV6_AUTOCONF=yes\n"; } - if ($d->{ip6} eq '

Re: [pve-devel] [PATCH storage] api: status: fix unlink on file upload

2021-06-17 Thread Thomas Lamprecht
On 09.06.21 12:22, Lorenz Stechauner wrote: > after an error while copying the file to its destination the local > path of the destination was unlinked in every case, even when on the > destination was copied to via scp. > > Signed-off-by: Lorenz Stechauner > --- > PVE/API2/Storage/Status.pm | 5

[pve-devel] applied: [PATCH v2 qemu-server] vm status: force int where appropriate

2021-06-17 Thread Thomas Lamprecht
On 01.06.21 08:43, Fabian Ebner wrote: > to avoid potential problems with stringified numbers in Javascript and > elsewehere. > > The vmid was not always an integer as the return schema expects, namely > when there was an opt_vmid argument, because the 'ne' comparision coerced the > vmid to be a s

[pve-devel] applied: [PATCH v2 container] vm status: force int where appropriate

2021-06-17 Thread Thomas Lamprecht
On 01.06.21 08:43, Fabian Ebner wrote: > In the case of a running container with cgroupv2, swap would be a string, > causing a > size.toFixed is not a function > error for the format_size call in the containers's "Summary" page in the UI. > > The vmids from config_list() are already integers a

Re: [pve-devel] [PATCH v2 container 2/2] close #3471: Support for NetworkManager on CentOS.

2021-06-17 Thread Fabian Grünbichler
On June 17, 2021 2:28 pm, Dominik Csapak wrote: > hi, > > did not took a look at the whole patch, but > some things stood out, comments inline > > On 6/16/21 20:23, Denis Knauf wrote: >> NetworkManager is used on RHEL8 and similar distributions like CentOS8, >> AlmaLinux8 and RockyLinux8. >> On R

Re: [pve-devel] [PATCH v2 container 2/2] close #3471: Support for NetworkManager on CentOS.

2021-06-17 Thread Dominik Csapak
hi, did not took a look at the whole patch, but some things stood out, comments inline On 6/16/21 20:23, Denis Knauf wrote: NetworkManager is used on RHEL8 and similar distributions like CentOS8, AlmaLinux8 and RockyLinux8. On RHEL7/CentOS7 it was not mandatory, but possible to use NetworkManag

[pve-devel] applied: [PATCH pve-access-control] check_path : add sdn zone path

2021-06-17 Thread Thomas Lamprecht
On 09.06.21 06:37, Alexandre Derumier wrote: > applied, thanks! squashed in a fix for the indentation (tab vs. 8 spaces). ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH v5 container 2/4] clone_vm: improve config locking

2021-06-17 Thread Oguz Bektas
cleaned up the locking situation with config files as Fabian G. suggested in the review. use the 'create_and_lock_config' helper in the beginning to ensure that the target CTID is available, and that the target config is locked from the beginning. in case any error happens during the initial check

[pve-devel] [PATCH v5 container 4/4] clone_vm: fix minor typo in error message

2021-06-17 Thread Oguz Bektas
Signed-off-by: Oguz Bektas --- v4->v5: * split src/PVE/API2/LXC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index c2312f4..4dd692d 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -1451,7 +1451,7 @@ __PACKAGE__->re

[pve-devel] [PATCH v5 container 3/4] run post_clone_hook in clone_vm API

2021-06-17 Thread Oguz Bektas
Signed-off-by: Oguz Bektas --- v4->v5: * no change src/PVE/API2/LXC.pm | 9 + 1 file changed, 9 insertions(+) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index ade109b..c2312f4 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -1554,6 +1554,15 @@ __PACKAGE__->reg

[pve-devel] [PATCH v5 container 0/4] post_clone_hook for containers

2021-06-17 Thread Oguz Bektas
add post clone hook, and fix #3443 to clear machine-id for cloned containers v4->v5: * split patches for easy review/backport * also lock when moving config to target node * move create_and_lock_config outside the eval, this should be checked before the other ones Oguz Bektas (4): setup: add

[pve-devel] [PATCH v5 container 1/4] setup: add post_clone_hook for containers

2021-06-17 Thread Oguz Bektas
for now it calls the new clear_machine_id function. this way when new containers are created they will have a unique /etc/machine-id. Signed-off-by: Oguz Bektas --- v4->v5: * no change src/PVE/LXC/Setup.pm | 12 src/PVE/LXC/Setup/Base.pm | 31 +++

[pve-devel] applied: [PATCH storage 2/2] postinst: remove old file if new one is identical

2021-06-17 Thread Fabian Grünbichler
On June 17, 2021 10:58 am, Fabian Ebner wrote: > Suggested-by: Thomas Lamprecht > Signed-off-by: Fabian Ebner > --- > debian/postinst | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/debian/postinst b/debian/postinst > index 963ad06..9dbb3b9 100644 > --- a/debian/p

[pve-devel] applied: [PATCH storage 1/2] postinst: avoid spawning subshell

2021-06-17 Thread Fabian Grünbichler
thanks for catching (serves me right for testing with break initially and only a single file ;)) On June 17, 2021 10:58 am, Fabian Ebner wrote: > which makes the continue not behave as intended. > > Reported by shellcheck: SC2106: This [i.e. continue] only exits the subshell > caused by the (..)

[pve-devel] [PATCH storage 1/2] postinst: avoid spawning subshell

2021-06-17 Thread Fabian Ebner
which makes the continue not behave as intended. Reported by shellcheck: SC2106: This [i.e. continue] only exits the subshell caused by the (..) group Also factor out long message for readability. Signed-off-by: Fabian Ebner --- debian/postinst | 5 +++-- 1 file changed, 3 insertions(+), 2 del

[pve-devel] [PATCH storage 2/2] postinst: remove old file if new one is identical

2021-06-17 Thread Fabian Ebner
Suggested-by: Thomas Lamprecht Signed-off-by: Fabian Ebner --- debian/postinst | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 963ad06..9dbb3b9 100644 --- a/debian/postinst +++ b/debian/postinst @@ -18,7 +18,12 @@ case "$1" in

Re: [pve-devel] [PATCH v3 manager] pve6to7: add check for pool permissions

2021-06-17 Thread Lorenz Stechauner
changes to v2: * using simple parser to parse user roles * moved checks to an own sub On 17.06.21 10:39, Lorenz Stechauner wrote: the two checks make sure that: * no user defined role 'PVEPoolUser' exists * the user gets a hint for roles only containing Pool.Allocate and not Pool.Audit a v

[pve-devel] [PATCH v3 manager] pve6to7: add check for pool permissions

2021-06-17 Thread Lorenz Stechauner
the two checks make sure that: * no user defined role 'PVEPoolUser' exists * the user gets a hint for roles only containing Pool.Allocate and not Pool.Audit a very simple parser for user.cfg was implemented to be able to parse the (in pve 6 invalid) Pool.Audit permission Signed-off-by: Lorenz

Re: [pve-devel] [PATCH v6 proxmox-apt 04/11] add check_repositories function

2021-06-17 Thread Wolfgang Bumiller
some non-blocking cleanups in case you do another version: On Fri, Jun 11, 2021 at 01:43:53PM +0200, Fabian Ebner wrote: > which checks for bad suites and official URIs. > > Signed-off-by: Fabian Ebner > --- > > Changes from v5: > * split out host_from_uri helper and also handle userinfo an

Re: [pve-devel] [PATCH v2 storage 1/5] postinst: move cifs credential files into subdirectory upon update

2021-06-17 Thread Fabian Ebner
Am 16.06.21 um 15:11 schrieb Thomas Lamprecht: On 16.06.21 09:26, Fabian Ebner wrote: +case "$1" in + configure) +if test -n "$2"; then + +# TODO: remove once PVE 8.0 is released +if dpkg --compare-versions "$2" 'lt' '7.0-3'; then +for file in /etc/pve/priv/*.cre

Re: [pve-devel] applied: [RFC qemu-server] avoid setting lun number for drives when pvscsi controller is used

2021-06-17 Thread Thomas Lamprecht
On 17.06.21 09:29, Stefan Reiter wrote: > On 16/06/2021 20:27, Thomas Lamprecht wrote: >> On 13.04.21 10:24, Fabian Ebner wrote: >>> Reported in the community forum[0]. >>> >>> In QEMU's hw/scsi/vmw_pvscsi.c in the SCSIBusInfo struct, the max_lun >>> property >>> is set to 0. This means that in ou

Re: [pve-devel] applied: [RFC qemu-server] avoid setting lun number for drives when pvscsi controller is used

2021-06-17 Thread Stefan Reiter
On 16/06/2021 20:27, Thomas Lamprecht wrote: On 13.04.21 10:24, Fabian Ebner wrote: Reported in the community forum[0]. In QEMU's hw/scsi/vmw_pvscsi.c in the SCSIBusInfo struct, the max_lun property is set to 0. This means that in our stack, one cannot have multiple disks and use 'scsihw: pvscs