[pve-devel] applied: [PATCH manager 2/2] 5to6: drop detailed quorumtool output

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 4 14:36:16 CEST 2019


On 7/4/19 1:52 PM, Fabian Grünbichler wrote:
> since we already print most of that anyway, and it is rather long.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>  PVE/CLI/pve5to6.pm | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/PVE/CLI/pve5to6.pm b/PVE/CLI/pve5to6.pm
> index 2a1c02c2..547b2c51 100644
> --- a/PVE/CLI/pve5to6.pm
> +++ b/PVE/CLI/pve5to6.pm
> @@ -359,12 +359,8 @@ sub check_cluster_corosync {
>  	log_fail("Corosync encryption cipher set to '3des', no longer supported in Corosync 3.x!");
>      }
>  
> -    my $prefix_info = sub { my $line = shift; log_info("$line"); };
> -    eval {
> -	print "\n";
> -	log_info("Printing detailed cluster status..");
> -	PVE::Tools::run_command(['corosync-quorumtool', '-siH'], outfunc => $prefix_info, errfunc => $prefix_info);
> -    };
> +    print "\n";
> +    log_info("run 'pvecm status' to get detailled cluster status..");
>  
>      print_header("CHECKING INSTALLED COROSYNC VERSION");
>      if (defined(my $corosync = $get_pkg->('corosync'))) {
> 

applied





More information about the pve-devel mailing list