Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-10-17 Thread Roberto Resoli
Il 19/09/2017 17:21, Roland Kammerer ha scritto: > Dear proxmox users & testers, > > we have published version 2.0 of drbdmanage-proxmox, and we created a > publicly available, dedicated proxmox-5 repo[1]. > > As usual, we also provide tar-balls[2], and a git repo[3]. ... > I would also like to

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-28 Thread Frank Rust
Thanks, that’s probably the cleanest solution! Regards, Frank > Am 28.09.2017 um 12:11 schrieb Roland Kammerer : > > On Thu, Sep 28, 2017 at 11:51:28AM +0200, Robert Altnoeder wrote: >> On 09/28/2017 11:10 AM, Frank Rust wrote: >>> Hi Roland, >>> I am not a perl-friend too. >> +1 >>> +my $x=

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-28 Thread Roland Kammerer
On Thu, Sep 28, 2017 at 11:51:28AM +0200, Robert Altnoeder wrote: > On 09/28/2017 11:10 AM, Frank Rust wrote: > > Hi Roland, > > I am not a perl-friend too. > +1 > > +my $x=$size; > > +my $unit="gib"; # GiB is default > > +my $factor=1024*1024; > > +if ($x/$factor != int($x/$factor)

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-28 Thread Robert Altnoeder
On 09/28/2017 11:10 AM, Frank Rust wrote: > Hi Roland, > I am not a perl-friend too. +1 > +my $x=$size; > +my $unit="gib"; # GiB is default > +my $factor=1024*1024; > +if ($x/$factor != int($x/$factor)) { > + $factor=$factor/1024; $unit="mib"; > + if ($x/$factor != int($x/

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-28 Thread Frank Rust
Hi Roland, I am not a perl-friend too. Maybe my solution is ugly and not performant but it works for me. root@virt5:/usr/share/perl5/PVE/Storage/Custom# diff -u DRBDPlugin.pm.orig-2.2-1 DRBDPlugin.pm.Frank-2.1-1 --- DRBDPlugin.pm.orig-2.2-12017-09-27 09:45:09.770649386 +0200 +++ DRBDPlugin

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-27 Thread Roland Kammerer
On Wed, Sep 27, 2017 at 08:24:39AM +0200, Frank Rust wrote: > Hi Roland, > I just installed the latest version of drbdmanage-proxmox (2.1-1) and tried a > "Move Disk" to drbdstorage. > Result is: > (…) > > "." is not a valid unit! > usage: drbdmanage add-volume [-h] [-m MINOR] [-d DEPLOY] [-s SIT

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-26 Thread Frank Rust
Hi Roland, I just installed the latest version of drbdmanage-proxmox (2.1-1) and tried a "Move Disk" to drbdstorage. Result is: (…) > "." is not a valid unit! usage: drbdmanage add-volume [-h] [-m MINOR] [-d DEPLOY] [-s SITE] name size (…) I debugged a bit and it shows the following command to b

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-26 Thread Roland Kammerer
On Fri, Sep 22, 2017 at 12:23:56PM +0200, Roland Kammerer wrote: > On Fri, Sep 22, 2017 at 09:44:11AM +0100, Yannis Milios wrote: > > Tried, and it seems working, but only when taking snapshots of a vm > > > which resides on a leader node. > > > > > > > > I can reproduce this as well... > > yes. w

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-22 Thread Roland Kammerer
On Fri, Sep 22, 2017 at 09:44:11AM +0100, Yannis Milios wrote: > Tried, and it seems working, but only when taking snapshots of a vm > > which resides on a leader node. > > > > > I can reproduce this as well... yes. working on it. the plugin misses some retry logic. Regards, rck _

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-22 Thread Yannis Milios
Tried, and it seems working, but only when taking snapshots of a vm > which resides on a leader node. > > I can reproduce this as well... ___ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-21 Thread Roberto Resoli
Il 21/09/2017 20:28, Roberto Resoli ha scritto: > Il 19/09/2017 17:21, Roland Kammerer ha scritto: >> Dear proxmox users & testers, >> >> we have published version 2.0 of drbdmanage-proxmox, and we created a >> publicly available, dedicated proxmox-5 repo[1]. > > Very welcome new, really! > >> As

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-21 Thread Roberto Resoli
Il 19/09/2017 17:21, Roland Kammerer ha scritto: > Dear proxmox users & testers, > > we have published version 2.0 of drbdmanage-proxmox, and we created a > publicly available, dedicated proxmox-5 repo[1]. Very welcome new, really! > As usual, we also provide tar-balls[2], and a git repo[3]. >

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-20 Thread Cesar Peschiera
+1 vote Best regards Cesar - Original Message - From: Yannis Milios To: Roland Kammerer ; drbd-user@lists.linbit.com Sent: Wednesday, September 20, 2017 4:02 AM Subject: Re: [DRBD-user] drbdmanage-proxmox v2.0 Sure, I get your point. Hope to see you come to an agreement

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-20 Thread Yannis Milios
Sure, I get your point. Hope to see you come to an agreement again, there must be a way :) (don't want to start flame wars). On Wed, 20 Sep 2017 at 08:35, Roland Kammerer wrote: > On Tue, Sep 19, 2017 at 05:26:02PM +0100, Yannis Milios wrote: > > > I would also like to ask you as community whic

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-20 Thread Roland Kammerer
On Tue, Sep 19, 2017 at 05:26:02PM +0100, Yannis Milios wrote: > > I would also like to ask you as community which features you would like > > to see in future releases. > > * I guess integrating a simple 'cluster health status' page in PVE gui > is not a part of your development, right ? I mean

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-19 Thread Yannis Milios
> I would also like to ask you as community which features you would like > to see in future releases. * I guess integrating a simple 'cluster health status' page in PVE gui is not a part of your development, right ? I mean something like showing the output of 'drbdadm status' or 'drbd-overview'

Re: [DRBD-user] drbdmanage-proxmox v2.0

2017-09-19 Thread Yannis Milios
> > In this release we added: > - resize support > - creating and deleting of snapshots. Still, we consider creating (and deleting) > snapshots a good addition. Perfect! thanks a lot > I would also like to ask you as community which features you would like > to see in future releases, except

[DRBD-user] drbdmanage-proxmox v2.0

2017-09-19 Thread Roland Kammerer
Dear proxmox users & testers, we have published version 2.0 of drbdmanage-proxmox, and we created a publicly available, dedicated proxmox-5 repo[1]. As usual, we also provide tar-balls[2], and a git repo[3]. In this release we added: - resize support - creating and deleting of snapshots. Curren