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 C7E3110C87 for ; Thu, 9 Jan 2014 17:31:22 +0000 (UTC) Received: (qmail 12305 invoked by uid 500); 9 Jan 2014 17:31:07 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 12240 invoked by uid 500); 9 Jan 2014 17:30:58 -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 12192 invoked by uid 99); 9 Jan 2014 17:30:57 -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 17:30:57 +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 17:30:53 +0000 X-IronPort-AV: E=Sophos;i="4.95,632,1384300800"; d="scan'208";a="2211298" Received: from sinaccessns.citrite.net (HELO SINPEX01CL03.citrite.net) ([10.151.60.9]) by sinpip01.citrite.net with ESMTP; 09 Jan 2014 17:30:30 +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; Fri, 10 Jan 2014 01:30:29 +0800 From: Rajesh Battala To: "dev@cloudstack.apache.org" CC: Donal Lafferty , Anshul Gangwar Subject: RE: Hyper-V agent Thread-Topic: Hyper-V agent Thread-Index: Ac8HzCl3WqqSszOxSbCHEqCM8EhrVAADVGTAADIEbEAAAkUt8ACD8XpwAADPcPAAduO4EAAqjDJAAAB04mD//58UgP//aY0Q Date: Thu, 9 Jan 2014 17:30:29 +0000 Message-ID: <8CCE9859D2CAFD45948DBF7145AFB98C0669E3BF@SINPEX01CL01.citrite.net> References: <46e54dc7308142e78627f6cd54487439@AMXPR07MB117.eurprd07.prod.outlook.com> <9ADDE3F979256644BED8F0D244BE51F00C6468@AMSPEX01CL02.citrite.net> <15e6a9b2ff604b2e8f16b8fd63fa411c@AMXPR07MB117.eurprd07.prod.outlook.com> <73E2A1C54FD5D24AA18077B618B207DC0662C821@SINPEX01CL01.citrite.net> <8CCE9859D2CAFD45948DBF7145AFB98C0669E0A2@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: [172.16.2.30] 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 Daan,=20 The hyperv systemvm is generated from the jenkisn.buildacloud.org.=20 Vhd generated with name tag xenserver is used for hyperv as xenserver and h= yperv supports vhd.=20 The uploaded template to download.cloud.com is generated from Jenkins only.= After testing it, it got zipped pushed.=20 Thanks Rajesh Battala -----Original Message----- From: Daan Hoogland [mailto:daan.hoogland@gmail.com]=20 Sent: Thursday, January 9, 2014 9:58 PM To: dev Cc: Donal Lafferty; Anshul Gangwar Subject: Re: Hyper-V agent H Rajesh, How is the hyperv template build? And can it be build in the jenkins proces= s that builds the other templates? thanks, Daan On Thu, Jan 9, 2014 at 3:17 PM, Rajesh Battala = wrote: > Hi Paul, > Systemvm template for HyperV is already pushed to download.cloud.com=20 > Here is the url for the same.:=20 > http://download.cloud.com/templates/4.3/systemvm64template-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] > 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= discovering I need to set the service to start automatically - sc config "= CloudStack Hyper-V Agent" start=3D automatic). > > Now I can't find the hyper-v system vm template. I've found a ticket whi= ch 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=20 > paul.angus@shapeblue.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=20 > netdom computername hostname.domain.com=20 > /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=20 > [(null)] - CloudStack Hyper-V Agent arg is > 2014-01-08 17:58:45,204 [1] INFO CloudStack.Plugin.AgentShell.Program=20 > [(null)] - Installing and running CloudStack Hyper-V Agent > 2014-01-08 17:58:45,220 [1] ERROR CloudStack.Plugin.AgentShell.Program [(= null)] - Error occured in starting service Cannot start service CloudStack= Hyper-V Agent on computer '.'. > 2014-01-08 17:58:51,637 [1] DEBUG CloudStack.Plugin.AgentShell.Program=20 > [(null)] - CloudStack Hyper-V Agent arg is > 2014-01-08 17:58:51,683 [1] INFO CloudStack.Plugin.AgentShell.Program=20 > [(null)] - Stopping and uninstalling CloudStack Hyper-V Agent > 2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program=20 > [(null)] - CloudStack Hyper-V Agent arg is > 2014-01-08 17:58:53,652 [1] INFO CloudStack.Plugin.AgentShell.Program=20 > [(null)] - Installing and running CloudStack Hyper-V Agent > 2014-01-08 17:58:53,995 [1] INFO CloudStack.Plugin.AgentShell.Program=20 > [(null)] - CloudStack Hyper-V Agent running as Windows Service > 2014-01-08 17:58:54,042 [1] INFO =20 > CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting=20 > CloudStack agent > 2014-01-08 17:58:54,292 [1] DEBUG=20 > CloudStack.Plugin.AgentShell.AgentService [(null)] - Controller=20 > HypervResourceController is available > > > Now to add it into cloudstack... > > > Regards, > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus=20 > paul.angus@shapeblue.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 '.' -= while 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= Agent 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 (= services.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 = disable 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=20 > warnings) http://pastebin.com/ahz5yJw2 > > I copy it to my hyper-v box and it bombs out immediately=20 > http://imgur.com/NMan0S2 > > 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\AgentShe= ll.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=20 > [(null)] - CloudStack Hyper-V Agent arg is > 2014-01-03 17:33:59,823 [1] INFO CloudStack.Plugin.AgentShell.Program=20 > [(null)] - Installing and running CloudStack Hyper-V Agent > 2014-01-03 17:34:02,185 [1] ERROR CloudStack.Plugin.AgentShell.Program [(= null)] - Error occured in starting service Cannot start service CloudStack= Hyper-V Agent on computer '.'. > > > Regards, > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus=20 > paul.angus@shapeblue.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\Ser > verResource\ServerResource.sln (default targets) -> (Build target) ->=20 > C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\Ser > verResource\WmiWrappers\WmiWrappers.csproj (default targets) ->=20 > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets=20 > (ResolveAssemblyReferences target) -> > > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: wa= rning : Reference 'AWSSDK' not resolved > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: wa= rning : Reference 'Ionic.Zip' not resolved > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: wa= rning : Reference 'log4net' not resolved > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: wa= rning : Reference 'Newtonsoft.Json' not resolved > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: wa= rning : Reference 'NSubstitute' not resolved > C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: =20 > warning : Reference 'xunit' not resolved > > Errors: > > C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\Ser > verResource\ServerResource.sln (default targets) -> (Build target) ->=20 > C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\Ser > verResource\HypervResource\HypervResource.csproj (default targets) ->=20 > C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\Ser > verResource\\.nuget\NuGet.targets (RestorePackages target) -> > > C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNe= t\ServerResource\\.nuget\NuGet.targets: error : Command 'mono --runtime=3Dv= 4.0.30319 C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNe= t\ServerResource\.nuget\NuGet.exe install "C:\cygwin64\usr\local\cloudstack= \plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.c= onfig" -source "" -RequireConsent -solutionDir "C:\cygwin64\usr\local\clo= udstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\" ' exited with c= ode: 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=20 > paul.angus@shapeblue.com > > From: Donal Lafferty [mailto:donal.lafferty@citrix.com] > Sent: 02 January 2014 16:43 > To: Paul Angus;=20 > dev@cloudstack.apache.org; Anshul=20 > 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 age= nts? > > DL > > > From: Paul Angus [mailto:paul.angus@shapeblue.com] > Sent: 02 January 2014 15:12 > To: Donal Lafferty;=20 > dev@cloudstack.apache.org; Anshul=20 > Gangwar > Subject: Hyper-V agent > > Happy New Year Everyone, > > Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe)= rather than needing to build a windows development environment to build it= . + what's the longer term plan? I can't see Microsoft house sysadmins bei= ng 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:=20 > +447711418784 | T: @CloudyAngus=20 > paul.angus@shapeblue.com |=20 > www.shapeblue.com |=20 > 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=20 > training > 08/09 January 2014, London > 13-17 January 2014, GLOBAL. Instructor led,=20 > On-line > 20-24 January 2014, GLOBAL. Instructor led,=20 > On-line > > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark.