Return-Path: X-Original-To: apmail-vcl-user-archive@www.apache.org Delivered-To: apmail-vcl-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90D64CDB9 for ; Mon, 20 Aug 2012 17:16:10 +0000 (UTC) Received: (qmail 28600 invoked by uid 500); 20 Aug 2012 17:16:10 -0000 Delivered-To: apmail-vcl-user-archive@vcl.apache.org Received: (qmail 28497 invoked by uid 500); 20 Aug 2012 17:16:10 -0000 Mailing-List: contact user-help@vcl.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@vcl.apache.org Delivered-To: mailing list user@vcl.apache.org Received: (qmail 28481 invoked by uid 99); 20 Aug 2012 17:16:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 17:16:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.174.0.40] (HELO caduceus1.gmu.edu) (129.174.0.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 17:16:03 +0000 Received: from d23380.mesa.gmu.edu ([129.174.19.30]) by caduceus1.gmu.edu (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTPSA id <0M92007QKDA6P480@caduceus1.gmu.edu>; Mon, 20 Aug 2012 13:15:42 -0400 (EDT) Date: Mon, 20 Aug 2012 13:15:42 -0400 From: Dmitri Chebotarov Subject: Re: Upgrade to VCL 2.3 In-reply-to: Sender: dchebota@gmu.edu To: dev@vcl.apache.org Cc: "user@vcl.apache.org" Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.1485) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: One more problem I forgot to mention: I stopped receiving emails from VCL system, including reservation notification emails and CRITICAL emails with errors. The vcld.log file has error "exim: bad -f address " ": empty address". There is RETURNPATH var in vcld.conf which is undefined. It was undefined in VCL 2.2.1 and email flow was OK. Once I've added value to RETURNPATH in VCL 2.3, email started to work. On Aug 20, 2012, at 13:02 , Dmitri Chebotarov wrote: > Hi > > I've upgraded VCL 2.2.1 -> 2.3 on Friday and would like to share issues and fixes: > > - right after the upgrade all new reservations failed (when vcld needed to create new VM). I traced it to failing scp command on step when VCL copies .vmx file to a VM host. There were no errors reported in vcld.conf log file and vcld proceeded to next steps. Then error was reported on VM host when vcld attempted to register a VM with non-existing .vmx file. The scp command doesn't get any options and silently fails. I've added: > > if (!defined($options)) { > $options = " -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "; > } > > to utils.pm, sub run_scp_command, before $options are added to $scp_path. I think adding these options to ~/.ssh/config would give the same result. > > - needed to increase ConnectTimeout in utils.pm. Many (but not all) reservations failed with error 'Connection timed out during banner exchange' when VCL was running ssh commands to prepare reservation (3 attempts): "/usr/bin/ssh -i /etc/vcl/vcl.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x 'command' ". I've changed ConnectTimeout to 10. > > - was getting 'undefined usenls' JS error when I clicked 'Connect' button on successful reservation. 'Get RDP File' button wasn't available. This happened b/c I used page.php from VCL 2.2.1, which doesn't define usenls vars. Once I defined usenls in page.php it fixed the issue (thanks to Josh who pointed the problem) > > - configuring firewall for Windows reservations failed. There is already https://issues.apache.org/jira/browse/VCL-609 for this problem. I've removed lines checking for $exit_status in DataStructure.pm and will apply proper fix later with VCL 2.3.1. > > At this point VCL 2.3 runs OK. > > -- > Thank you, > > Dmitri Chebotarov > Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging > 223 Aquia Building, Ffx, MSN: 1B5 > Phone: (703) 993-6175 > Fax: (703) 993-3404 > > > > -- Thank you, Dmitri Chebotarov Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 Fax: (703) 993-3404