Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E97310466 for ; Thu, 9 Jan 2014 14:19:41 +0000 (UTC) Received: (qmail 51421 invoked by uid 500); 9 Jan 2014 14:17:58 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 51312 invoked by uid 500); 9 Jan 2014 14:17:54 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 51205 invoked by uid 99); 9 Jan 2014 14:17:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 14:17:51 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajesh.battala@citrix.com designates 103.14.252.240 as permitted sender) Received: from [103.14.252.240] (HELO SMTP.CITRIX.COM.AU) (103.14.252.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 14:17:47 +0000 X-IronPort-AV: E=Sophos;i="4.95,631,1384300800"; d="scan'208";a="2209309" Received: from sinaccessns.citrite.net (HELO SINPEX01CL03.citrite.net) ([10.151.60.9]) by sinpip01.citrite.net with ESMTP; 09 Jan 2014 14:17:23 +0000 Received: from SINPEX01CL01.citrite.net ([169.254.1.176]) by SINPEX01CL03.citrite.net ([10.151.46.34]) with mapi id 14.02.0342.004; Thu, 9 Jan 2014 22:17:23 +0800 From: Rajesh Battala To: "dev@cloudstack.apache.org" , Donal Lafferty , Anshul Gangwar Subject: RE: Hyper-V agent Thread-Topic: Hyper-V agent Thread-Index: Ac8HzCl3WqqSszOxSbCHEqCM8EhrVAADVGTAADIEbEAAAkUt8ACD8XpwAADPcPAAduO4EAAqjDJAAAB04mA= Date: Thu, 9 Jan 2014 14:17:23 +0000 Message-ID: <8CCE9859D2CAFD45948DBF7145AFB98C0669E0A2@SINPEX01CL01.citrite.net> References: <46e54dc7308142e78627f6cd54487439@AMXPR07MB117.eurprd07.prod.outlook.com> <9ADDE3F979256644BED8F0D244BE51F00C6468@AMSPEX01CL02.citrite.net> <15e6a9b2ff604b2e8f16b8fd63fa411c@AMXPR07MB117.eurprd07.prod.outlook.com> <73E2A1C54FD5D24AA18077B618B207DC0662C821@SINPEX01CL01.citrite.net> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.144.7.27] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Paul,=20 Systemvm template for HyperV is already pushed to download.cloud.com=20 Here is the url for the same.: http://download.cloud.com/templates/4.3/syst= emvm64template-2013-12-23-hyperv.vhd.bz2 Please download and use it. If you find issues with the template, please post the details. Thanks Rajesh Battala -----Original Message----- From: Paul Angus [mailto:paul.angus@shapeblue.com]=20 Sent: Thursday, January 9, 2014 7:37 PM To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar Subject: RE: Hyper-V agent I've added my hyper-v server into CloudStack (after dropping firewall and d= iscovering I need to set the service to start automatically - sc config "Cl= oudStack Hyper-V Agent" start=3D automatic). Now I can't find the hyper-v system vm template. I've found a ticket which= says it's built by Jenkins, but I can't find it. https://issues.apache.org/jira/browse/CLOUDSTACK-3385 http://jenkins.buildacloud.org/job/build-systemvm64-master/ Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.angus@shapebl= ue.com -----Original Message----- From: Paul Angus [mailto:paul.angus@shapeblue.com] Sent: 08 January 2014 18:05 To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar Subject: RE: Hyper-V agent OK so ipconfig /all returned: Host Name: WIN-G23HSIAIU40 And Primary dns suffix: BLANK I ran: netdom computername hostname.domain.com /add:newhostname.newdomain.com netd= om computername hostname.domain.com /makeprimary:newhostname.newdomain.com to set the dns suffix (then rebooted) Agentshell.exe --install still failed, I needed to uninstall the agent first Agentshell.exe --uninstall Then reinstall Agentshell.exe --install Et voila: 14-01-08 17:58:45,173 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null= )] - CloudStack Hyper-V Agent arg is 2014-01-08 17:58:45,204 [1] INFO CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Installing and running CloudStack Hyper-V Agent 2014-01-08 17:58:45,220 [1] ERROR CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Error occured in starting service Cannot start service CloudStack H= yper-V Agent on computer '.'. 2014-01-08 17:58:51,637 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(nu= ll)] - CloudStack Hyper-V Agent arg is 2014-01-08 17:58:51,683 [1] INFO CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Stopping and uninstalling CloudStack Hyper-V Agent 2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(nu= ll)] - CloudStack Hyper-V Agent arg is 2014-01-08 17:58:53,652 [1] INFO CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Installing and running CloudStack Hyper-V Agent 2014-01-08 17:58:53,995 [1] INFO CloudStack.Plugin.AgentShell.Program [(nu= ll)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-08 17:58:54,042 [1] INFO CloudStack.Plugin.AgentShell.AgentService= [(null)] - Starting CloudStack agent 2014-01-08 17:58:54,292 [1] DEBUG CloudStack.Plugin.AgentShell.AgentService= [(null)] - Controller HypervResourceController is available Now to add it into cloudstack... Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.angus@shapebl= ue.com -----Original Message----- From: Alex Hitchins [mailto:alex.hitchins@shapeblue.com] Sent: 06 January 2014 09:02 To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar Subject: RE: Hyper-V agent Just noticed in the error log that it's trying to start on computer '.' - w= hile I know the . works in SQL Server etc, could it not be working here? Or= have you set a custom hosts file? -- Error occured in starting service Cannot start service CloudStack Hyper-V A= gent on computer '.'. Alex Hitchins +44 7788 423 969 -----Original Message----- From: Devdeep Singh [mailto:devdeep.singh@citrix.com] Sent: 06 January 2014 08:40 To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar Subject: RE: Hyper-V agent Error seems to be in starting the service. Can you check under services (se= rvices.msc) if a service is present by the name "CloudStack Hyper-V Agent"?= To debug the service start issue, can you open up the 8250 port (or try di= sable firewall) and check if the service starts up. Regards, Devdeep -----Original Message----- From: Paul Angus [mailto:paul.angus@shapeblue.com] Sent: Friday, January 3, 2014 11:19 PM To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar Subject: RE: Hyper-V agent So... updating .net 4.5.1 and a reboot and CloudAgent builds (with 19 warni= ngs) http://pastebin.com/ahz5yJw2 I copy it to my hyper-v box and it bombs out immediately http://imgur.com/N= Man0S2 Install log says: Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'. Affected parameters are: assemblypath =3D B:\Microsoft\AgentShell\AgentShell.exe logfile =3D B:\Microsoft\AgentShell\AgentShell.InstallLog Installing service CloudStack Hyper-V Agent... Service CloudStack Hyper-V Agent has been successfully installed. Creating EventLog source CloudStack Hyper-V Agent in log Application... See the contents of the log file for the B:\Microsoft\AgentShell\AgentShell= .exe assembly's progress. The file is located at B:\Microsoft\AgentShell\AgentShell.InstallLog. Committing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'. Affected parameters are: logtoconsole =3D assemblypath =3D B:\Microsoft\AgentShell\AgentShell.exe logfile =3D B:\Microsoft\AgentShell\AgentShell.InstallLog agent log says: 2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(nu= ll)] - CloudStack Hyper-V Agent arg is 2014-01-03 17:33:59,823 [1] INFO CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Installing and running CloudStack Hyper-V Agent 2014-01-03 17:34:02,185 [1] ERROR CloudStack.Plugin.AgentShell.Program [(nu= ll)] - Error occured in starting service Cannot start service CloudStack H= yper-V Agent on computer '.'. Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.angus@shapebl= ue.com From: Paul Angus [mailto:paul.angus@shapeblue.com] Sent: 03 January 2014 16:35 To: Donal Lafferty; dev@cloudstack.apache.org; Anshul Gangwar Subject: RE: Hyper-V agent When (trying) to build the hyper-v agent I get these errors: Build FAILED. Warnings: C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerRe= source\ServerResource.sln (default targets) -> (Build target) -> C:\cygwin6= 4\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\Wmi= Wrappers\WmiWrappers.csproj (default targets) -> C:\PROGRA~2\MONO-3~1.3\lib= \mono\4.0\Microsoft.Common.targets (ResolveAssemblyReferences target) -> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'AWSSDK' not resolved C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'Ionic.Zip' not resolved C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'log4net' not resolved C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'Newtonsoft.Json' not resolved C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'NSubstitute' not resolved C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warn= ing : Reference 'xunit' not resolved Errors: C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerRe= source\ServerResource.sln (default targets) -> (Build target) -> C:\cygwin6= 4\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\Hyp= ervResource\HypervResource.csproj (default targets) -> C:\cygwin64\usr\loca= l\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet= .targets (RestorePackages target) -> C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\= ServerResource\\.nuget\NuGet.targets: error : Command 'mono --runtime=3Dv4.= 0.30319 C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\= ServerResource\.nuget\NuGet.exe install "C:\cygwin64\usr\local\cloudstack\p= lugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.con= fig" -source "" -RequireConsent -solutionDir "C:\cygwin64\usr\local\cloud= stack\plugins\hypervisors\hyperv\DotNet\ServerResource\\" ' exited with cod= e: 1. 6 Warning(s) 1 Error(s) Time Elapsed 00:00:02.6896758 Any ideas? Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.angus@shapebl= ue.com From: Donal Lafferty [mailto:donal.lafferty@citrix.com] Sent: 02 January 2014 16:43 To: Paul Angus; dev@cloudstack.apache.org= ; Anshul Gangwar Subject: RE: Hyper-V agent I agree that we need a distro for the agent. Based on what KVM does, what is the pattern for distributing non-Java agent= s? DL From: Paul Angus [mailto:paul.angus@shapeblue.com] Sent: 02 January 2014 15:12 To: Donal Lafferty; dev@cloudstack.apache.org; Anshul Gangwar Subject: Hyper-V agent Happy New Year Everyone, Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) r= ather than needing to build a windows development environment to build it. = + what's the longer term plan? I can't see Microsoft house sysadmins being= willing to build their own agents in order to use CloudStack... Regards Paul Angus Senior Consultant / Cloud Architect [cid:image002.png@01CE1071.C6CC9C10] S: +44 20 3603 0540 | M: +44771141878= 4 | T: @CloudyAngus paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2 training 08/09 January 2014, London 13-17 January 2014, GLOBAL. Instructor led, On-line 20-24 January 2014, GLOBAL. Instructor led, On-line This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark.