Re: Hyper-V Agent on jenkins

2015-05-08 Thread Anshul Gangwar
Yes.
 Its building fine on linux with mono.

Regards,
Anshul

On 08-May-2015, at 2:05 pm, Erik Weber 
mailto:terbol...@gmail.com>> wrote:

Jenkins on that slave didn't start up after a reboot, I'm looking into it
(just have to update Java first).

Has anyone tried to compile it on Linux?

--
Erik

On Fri, May 8, 2015 at 10:28 AM, Anshul Gangwar 
mailto:anshul.gang...@citrix.com>>
wrote:

Hi,

It seems CloudStack Hyper-V agent on jenkins
http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent is not
building on master from march 12.
Please check.

Regards,
Anshul





Re: Hyper-V Agent on jenkins

2015-05-08 Thread Erik Weber
It's back up again, sorry for the downtime.

-- 
Erik

On Fri, May 8, 2015 at 10:35 AM, Erik Weber  wrote:

> Jenkins on that slave didn't start up after a reboot, I'm looking into it
> (just have to update Java first).
>
> Has anyone tried to compile it on Linux?
>
> --
> Erik
>
> On Fri, May 8, 2015 at 10:28 AM, Anshul Gangwar  > wrote:
>
>> Hi,
>>
>> It seems CloudStack Hyper-V agent on jenkins
>> http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent is not
>> building on master from march 12.
>> Please check.
>>
>> Regards,
>> Anshul
>>
>>
>


Re: Hyper-V Agent on jenkins

2015-05-08 Thread Erik Weber
Jenkins on that slave didn't start up after a reboot, I'm looking into it
(just have to update Java first).

Has anyone tried to compile it on Linux?

-- 
Erik

On Fri, May 8, 2015 at 10:28 AM, Anshul Gangwar 
wrote:

> Hi,
>
> It seems CloudStack Hyper-V agent on jenkins
> http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent is not
> building on master from march 12.
> Please check.
>
> Regards,
> Anshul
>
>


Hyper-V Agent on jenkins

2015-05-08 Thread Anshul Gangwar
Hi,

It seems CloudStack Hyper-V agent on jenkins 
http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent is not 
building on master from march 12.
Please check.

Regards,
Anshul



Re: Building hyper-V agent agent issue

2014-09-18 Thread tawfiq zidi
Hi,

Ok great , Building Works fine with method 2, I am able now to launch
agentshell.exe with porwershell.

Thank you for help.

On Wed, Sep 17, 2014 at 8:42 AM, Anshul Gangwar 
wrote:

> You don't have to download dependencies manually. Script does that for you.
>
> There seems to be some problem with your environment.
>
> Can you try setting RestorePackages to true in (cloudstack root
> directory)/plugins/hypervisors/hyperv/DotNet/ServerResource/.nuget/NuGet.targets
> This can be changed by setting value from false to true in line no. 6.
>
> After change line will look like
> 
> true
>
> After change try building again.
>
> If build still fails then you can follow method 2 below.
>
> In this method you have to download dependencies manually.
> You can download the dependencies from
> http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent/.
> The generated zip files contains all the dependencies.
>
> From the zip files you have to put dependencies in packages folder in
> certain folder structure.
>
> Folder structure will be as follows
>
> packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> packages\xunit.1.9.2\lib\net20\xunit.dll
> packages\log4net.2.0.0\lib\net40-full\log4net.dll
> packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll
> packages\NSubstitute.1.6.1.0\lib\NET40\NSubstitute.dll
> packages\xunit.1.9.2\lib\net20\xunit.dll
>
> where packages folder will be in
> (cloudstack-root-directory)/plugins/hypervisors/hyperv/DotNet/ServerResource.
>
> For example:
>  You have to put  AWSSDK.dll at location
> (cloudstack-root-directory)/plugins/hypervisors/hyperv/DotNet/ServerResource/packages/AWSSDK.1.5.23.0/lib/AWSSDK.dll
>  You will get AWSSDK.dll from zip downloaded from Jenkins job.
>
>
> -Original Message-
> From: tawfiq zidi [mailto:tawfiq.z...@gmail.com]
> Sent: Tuesday, September 16, 2014 4:40 PM
> To: users
> Cc: dev@cloudstack.apache.org
> Subject: Re: Building hyper-V agent agent issue
>
> Hi,
>
> I am trying to build hyperV agent and I am facing the same errors.
>
> Is there any dependencies that I need to download seprately ?
>
> On Tue, Sep 16, 2014 at 7:04 AM, Anshul Gangwar  >
> wrote:
>
> > Are you able to download nuget?
> >
> > Build is failing because it is not able to download nuget packages
> > dependencies.
> >
> > Are you able to see something like this in starting of build
> >
> > --2014-09-16 10:23:46--  http://nuget.org/nuget.exe Resolving
> > nuget.org (nuget.org)... 168.62.110.126 Connecting to nuget.org
> > (nuget.org)|168.62.110.126|:80... connected.
> > HTTP request sent, awaiting response... 301 Moved Permanently
> > Location: http://www.nuget.org/nuget.exe [following]
> > --2014-09-16 10:23:46--  http://www.nuget.org/nuget.exe Resolving
> > www.nuget.org (www.nuget.org)... 168.62.110.126 Reusing existing
> > connection to nuget.org:80.
> > HTTP request sent, awaiting response... 302 Found
> > Location: http://az320820.vo.msecnd.net/downloads/nuget.exe
> > [following]
> > --2014-09-16 10:23:47--
> > http://az320820.vo.msecnd.net/downloads/nuget.exe
> > Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)...
> > 192.229.145.200, 2606:2800:10c:249:f81:1c8d:1178:1364
> > Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net
> )|192.229.145.200|:80...
> > connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 1670320 (1.6M) [application/x-msdownload] Saving to:
> > `nuget.exe'
> >
> >
> 100%[===>]
> > 16,70,320404K/s   in 4.0s
> >
> > 2014-09-16 10:23:51 (405 KB/s) - `nuget.exe' saved [1670320/1670320]
> >
> >  running tests
> > XBuild Engine Version 3.0.6.0
> > Mono, Version 3.0.6.0
> > Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
> >
> >
> >
> >
> > -Original Message-
> > From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
> > Sent: Monday, September 15, 2014 9:38 PM
> > To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> > Subject: Building hyper-V agent agent issue
> >
> > Hello ,
> >
> > I'm not able to build the hyper-V agent installer ,i'm following the
> > official documentation
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> > +Agent+Installer
> >
> > ,i'll share my log with you
> >
> > running tes

RE: Building hyper-V agent agent issue

2014-09-16 Thread Anshul Gangwar
You don't have to download dependencies manually. Script does that for you.

There seems to be some problem with your environment.

Can you try setting RestorePackages to true in (cloudstack root 
directory)/plugins/hypervisors/hyperv/DotNet/ServerResource/.nuget/NuGet.targets
This can be changed by setting value from false to true in line no. 6.

After change line will look like 

true

After change try building again.

If build still fails then you can follow method 2 below.

In this method you have to download dependencies manually.
You can download the dependencies from 
http://jenkins.buildacloud.org/job/cloudstack-master-hyperv-agent/.
The generated zip files contains all the dependencies.

From the zip files you have to put dependencies in packages folder in certain 
folder structure.

Folder structure will be as follows

packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
packages\xunit.1.9.2\lib\net20\xunit.dll
packages\log4net.2.0.0\lib\net40-full\log4net.dll
packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll
packages\NSubstitute.1.6.1.0\lib\NET40\NSubstitute.dll
packages\xunit.1.9.2\lib\net20\xunit.dll

where packages folder will be in 
(cloudstack-root-directory)/plugins/hypervisors/hyperv/DotNet/ServerResource.

For example:
 You have to put  AWSSDK.dll at location 
(cloudstack-root-directory)/plugins/hypervisors/hyperv/DotNet/ServerResource/packages/AWSSDK.1.5.23.0/lib/AWSSDK.dll
 You will get AWSSDK.dll from zip downloaded from Jenkins job.


-Original Message-
From: tawfiq zidi [mailto:tawfiq.z...@gmail.com] 
Sent: Tuesday, September 16, 2014 4:40 PM
To: users
Cc: dev@cloudstack.apache.org
Subject: Re: Building hyper-V agent agent issue

Hi,

I am trying to build hyperV agent and I am facing the same errors.

Is there any dependencies that I need to download seprately ?

On Tue, Sep 16, 2014 at 7:04 AM, Anshul Gangwar 
wrote:

> Are you able to download nuget?
>
> Build is failing because it is not able to download nuget packages 
> dependencies.
>
> Are you able to see something like this in starting of build
>
> --2014-09-16 10:23:46--  http://nuget.org/nuget.exe Resolving 
> nuget.org (nuget.org)... 168.62.110.126 Connecting to nuget.org 
> (nuget.org)|168.62.110.126|:80... connected.
> HTTP request sent, awaiting response... 301 Moved Permanently
> Location: http://www.nuget.org/nuget.exe [following]
> --2014-09-16 10:23:46--  http://www.nuget.org/nuget.exe Resolving 
> www.nuget.org (www.nuget.org)... 168.62.110.126 Reusing existing 
> connection to nuget.org:80.
> HTTP request sent, awaiting response... 302 Found
> Location: http://az320820.vo.msecnd.net/downloads/nuget.exe 
> [following]
> --2014-09-16 10:23:47--  
> http://az320820.vo.msecnd.net/downloads/nuget.exe
> Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)...
> 192.229.145.200, 2606:2800:10c:249:f81:1c8d:1178:1364
> Connecting to az320820.vo.msecnd.net 
> (az320820.vo.msecnd.net)|192.229.145.200|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1670320 (1.6M) [application/x-msdownload] Saving to: 
> `nuget.exe'
>
> 100%[===>]
> 16,70,320404K/s   in 4.0s
>
> 2014-09-16 10:23:51 (405 KB/s) - `nuget.exe' saved [1670320/1670320]
>
>  running tests
> XBuild Engine Version 3.0.6.0
> Mono, Version 3.0.6.0
> Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
>
>
>
>
> -Original Message-
> From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
> Sent: Monday, September 15, 2014 9:38 PM
> To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> Subject: Building hyper-V agent agent issue
>
> Hello ,
>
> I'm not able to build the hyper-V agent installer ,i'm following the 
> official documentation 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> +Agent+Installer
>
> ,i'll share my log with you
>
> running tests
> XBuild Engine Version 3.3.0.0
> Mono, Version 3.3.0.0
> Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
>
> Build started 9/15/2014 2:11:22 PM.
> __
> Project
>
> "C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln"
> (default target(s)):
> Target ValidateSolutionConfiguration:
> Building solution configuration "Debug|Any CPU".
> Target Build:
> Project
>
> "C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj"
> (default targe

Re: Building hyper-V agent agent issue

2014-09-16 Thread tawfiq zidi
Hi,

I am trying to build hyperV agent and I am facing the same errors.

Is there any dependencies that I need to download seprately ?

On Tue, Sep 16, 2014 at 7:04 AM, Anshul Gangwar 
wrote:

> Are you able to download nuget?
>
> Build is failing because it is not able to download nuget packages
> dependencies.
>
> Are you able to see something like this in starting of build
>
> --2014-09-16 10:23:46--  http://nuget.org/nuget.exe
> Resolving nuget.org (nuget.org)... 168.62.110.126
> Connecting to nuget.org (nuget.org)|168.62.110.126|:80... connected.
> HTTP request sent, awaiting response... 301 Moved Permanently
> Location: http://www.nuget.org/nuget.exe [following]
> --2014-09-16 10:23:46--  http://www.nuget.org/nuget.exe
> Resolving www.nuget.org (www.nuget.org)... 168.62.110.126
> Reusing existing connection to nuget.org:80.
> HTTP request sent, awaiting response... 302 Found
> Location: http://az320820.vo.msecnd.net/downloads/nuget.exe [following]
> --2014-09-16 10:23:47--  http://az320820.vo.msecnd.net/downloads/nuget.exe
> Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)...
> 192.229.145.200, 2606:2800:10c:249:f81:1c8d:1178:1364
> Connecting to az320820.vo.msecnd.net 
> (az320820.vo.msecnd.net)|192.229.145.200|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 1670320 (1.6M) [application/x-msdownload]
> Saving to: `nuget.exe'
>
> 100%[===>]
> 16,70,320404K/s   in 4.0s
>
> 2014-09-16 10:23:51 (405 KB/s) - `nuget.exe' saved [1670320/1670320]
>
>  running tests
> XBuild Engine Version 3.0.6.0
> Mono, Version 3.0.6.0
> Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
>
>
>
>
> -Original Message-
> From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
> Sent: Monday, September 15, 2014 9:38 PM
> To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> Subject: Building hyper-V agent agent issue
>
> Hello ,
>
> I'm not able to build the hyper-V agent installer ,i'm following the
> official documentation
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer
>
> ,i'll share my log with you
>
> running tests
> XBuild Engine Version 3.3.0.0
> Mono, Version 3.3.0.0
> Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
>
> Build started 9/15/2014 2:11:22 PM.
> __
> Project
>
> "C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln"
> (default target(s)):
> Target ValidateSolutionConfiguration:
> Building solution configuration "Debug|Any CPU".
> Target Build:
> Project
>
> "C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj"
> (default target(s)):
> Target PrepareForBuild:
> Configuration: Debug Platform: AnyCPU
> Created directory "bin\Debug\"
> Created directory "obj\Debug\"
> Target ResolveAssemblyReferences:
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
> Reference 'AWSSDK' not resolved
> For searchpath
> {CandidateAssemblyFiles}
> Warning: {CandidateAssemblyFiles}
>
> not supported currently
> For searchpath
> {HintPathFromItem}
> Considered ..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll, but it does not
> exist.
> For searchpath {TargetFrameworkDirectory} Considered target framework dir
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5,
> assembly named 'AWSSDK' not found.
> Considered target framework dir
>
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Facades\,
> assembly named 'AWSSDK' not found.
> For searchpath {PkgConfig}
> Considered AWSSDK, but could not find in any pkg-config files.
> For searchpath {GAC}
> Considered AWSSDK, but could not find in the GAC.
> For searchpath {RawFileName}
> Considered
>
> 'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\AWSSDK'
> as a file, but the file does not exist
> For searchpath bin\Debug\
> Considered
>
> 'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK'
> as a file, but the file does not exist
> Considered
>
> 'C:\cygwin\home\cloudstack-oss\apache-clo

RE: Building hyper-V agent agent issue

2014-09-15 Thread Anshul Gangwar
Are you able to download nuget?

Build is failing because it is not able to download nuget packages dependencies.

Are you able to see something like this in starting of build

--2014-09-16 10:23:46--  http://nuget.org/nuget.exe
Resolving nuget.org (nuget.org)... 168.62.110.126
Connecting to nuget.org (nuget.org)|168.62.110.126|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.nuget.org/nuget.exe [following]
--2014-09-16 10:23:46--  http://www.nuget.org/nuget.exe
Resolving www.nuget.org (www.nuget.org)... 168.62.110.126
Reusing existing connection to nuget.org:80.
HTTP request sent, awaiting response... 302 Found
Location: http://az320820.vo.msecnd.net/downloads/nuget.exe [following]
--2014-09-16 10:23:47--  http://az320820.vo.msecnd.net/downloads/nuget.exe
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 192.229.145.200, 
2606:2800:10c:249:f81:1c8d:1178:1364
Connecting to az320820.vo.msecnd.net 
(az320820.vo.msecnd.net)|192.229.145.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1670320 (1.6M) [application/x-msdownload]
Saving to: `nuget.exe'

100%[===>]
 16,70,320404K/s   in 4.0s

2014-09-16 10:23:51 (405 KB/s) - `nuget.exe' saved [1670320/1670320]

 running tests 
XBuild Engine Version 3.0.6.0
Mono, Version 3.0.6.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.




-Original Message-
From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] 
Sent: Monday, September 15, 2014 9:38 PM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
Subject: Building hyper-V agent agent issue

Hello ,

I'm not able to build the hyper-V agent installer ,i'm following the official 
documentation 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

,i'll share my log with you

running tests
XBuild Engine Version 3.3.0.0
Mono, Version 3.3.0.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 9/15/2014 2:11:22 PM.
__
Project
"C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln"
(default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project
"C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj"
(default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Created directory "bin\Debug\"
Created directory "obj\Debug\"
Target ResolveAssemblyReferences:
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
Reference 'AWSSDK' not resolved
For searchpath
{CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles}

not supported currently
For searchpath
{HintPathFromItem}
Considered ..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory} Considered target framework dir 
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5,
assembly named 'AWSSDK' not found.
Considered target framework dir
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Facades\,
assembly named 'AWSSDK' not found.
For searchpath {PkgConfig}
Considered AWSSDK, but could not find in any pkg-config files.
For searchpath {GAC}
Considered AWSSDK, but could not find in the GAC.
For searchpath {RawFileName}
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\AWSSDK'
as a file, but the file does not exist
For searchpath bin\Debug\
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK.exe'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK.dll'
as a file, but the file does not exist
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
Reference 'Ionic.Zip' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently For searchpath 
{HintPathFromItem}

Considered ..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll, but it does 
not exist.
For searchpath
{TargetFrameworkDirectory}
Consider

Building hyper-V agent agent issue

2014-09-15 Thread Fedi Ben Ali
Hello ,

I'm not able to build the hyper-V agent installer ,i'm following the
official documentation
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

,i'll share my log with you

running tests
XBuild Engine Version 3.3.0.0
Mono, Version 3.3.0.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 9/15/2014 2:11:22 PM.
__
Project
"C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln"
(default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project
"C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj"
(default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Created directory "bin\Debug\"
Created directory "obj\Debug\"
Target ResolveAssemblyReferences:
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
Reference 'AWSSDK' not resolved
For searchpath
{CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles}

not supported currently
For searchpath
{HintPathFromItem}
Considered ..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll, but it does not
exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5,
assembly named 'AWSSDK' not found.
Considered target framework dir
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Facades\,
assembly named 'AWSSDK' not found.
For searchpath {PkgConfig}
Considered AWSSDK, but could not find in any pkg-config files.
For searchpath {GAC}
Considered AWSSDK, but could not find in the GAC.
For searchpath {RawFileName}
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\AWSSDK'
as a file, but the file does not exist
For searchpath bin\Debug\
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK.exe'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\AWSSDK.dll'
as a file, but the file does not exist
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
Reference 'Ionic.Zip' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}

Considered ..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll, but it
does not exist.
For searchpath
{TargetFrameworkDirectory}
Considered target framework dir
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5,
assembly named 'Ionic.Zip' not found.
Considered target framework dir
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Facades\,
assembly named 'Ionic.Zip' not found.
For searchpath {PkgConfig}
Considered Ionic.Zip, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Ionic.Zip, but could not find in the GAC.
For searchpath {RawFileName}
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\Ionic.Zip'
as a file, but the file does not exist
For searchpath bin\Debug\
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\Ionic.Zip'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\Ionic.Zip.exe'
as a file, but the file does not exist
Considered
'C:\cygwin\home\cloudstack-oss\apache-cloudstack-4.4.0-src\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\Ionic.Zip.dll'
as a file, but the file does not exist
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets: warning :
Reference 'log4net' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ..\packages\log4net.2.0.0\lib\net40-full\log4net.dll, but it
does not exist.
For searchpath {TargetFrameworkDirectory}

Considered 

Re: Review Request 24226: CLOUDSTACK-7234: stop sending smb credentials to Hyper-V Agent

2014-08-17 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24226/#review50862
---

Ship it!


Pushed to master in commit 0ecc9f79af0f915ac347f856c3c2f8ce40f636af

- Devdeep Singh


On Aug. 4, 2014, 6:08 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24226/
> ---
> 
> (Updated Aug. 4, 2014, 6:08 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-7234
> https://issues.apache.org/jira/browse/CLOUDSTACK-7234
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> We no longer uses SMB credentials on Hyper-V Agent so we are stopping to send 
> SMB credentials to Hyper-V
> 
> 
> Diffs
> -
> 
>   
> engine/schema/src/org/apache/cloudstack/storage/datastore/db/StoragePoolVO.java
>  1508ce0 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
>  4516191 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> b40cb8f 
>   
> plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
>  2671b20 
> 
> Diff: https://reviews.apache.org/r/24226/diff/
> 
> 
> Testing
> ---
> 
> verified on Hyper-V agent that we are not receiving SMB credentials.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 24444: CLOUDSTACK-7277: Removed the Hyper-V Agent service dependency on english locale to sync VMs properly

2014-08-17 Thread Devdeep Singh


> On Aug. 18, 2014, 6:29 a.m., Devdeep Singh wrote:
> > Ship It!

Committed in master in commit 1c688f40e134e2f65fe11bb37946e550feb896ca


- Devdeep


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2/#review50859
---


On Aug. 7, 2014, 6:13 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2/
> ---
> 
> (Updated Aug. 7, 2014, 6:13 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-7277
> https://issues.apache.org/jira/browse/CLOUDSTACK-7277
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> For vmsync first VMs are listed and than their power state is determined.
> To exclude hosted system we filter the result on Caption='Virtual Machine' 
> but this string is locale dependent so it may not
> not work properly for locales other than english. To overcome this now we 
> started using ProcessId >= 0 filter
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  195a964 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> b2a7b45 
> 
> Diff: https://reviews.apache.org/r/2/diff/
> 
> 
> Testing
> ---
> 
> tested on my local system with ProcessId >= 0 filter VMs are syncing up 
> properly
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 24444: CLOUDSTACK-7277: Removed the Hyper-V Agent service dependency on english locale to sync VMs properly

2014-08-17 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2/#review50859
---

Ship it!


Ship It!

- Devdeep Singh


On Aug. 7, 2014, 6:13 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2/
> ---
> 
> (Updated Aug. 7, 2014, 6:13 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-7277
> https://issues.apache.org/jira/browse/CLOUDSTACK-7277
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> For vmsync first VMs are listed and than their power state is determined.
> To exclude hosted system we filter the result on Caption='Virtual Machine' 
> but this string is locale dependent so it may not
> not work properly for locales other than english. To overcome this now we 
> started using ProcessId >= 0 filter
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  195a964 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> b2a7b45 
> 
> Diff: https://reviews.apache.org/r/2/diff/
> 
> 
> Testing
> ---
> 
> tested on my local system with ProcessId >= 0 filter VMs are syncing up 
> properly
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Review Request 24444: CLOUDSTACK-7277: Removed the Hyper-V Agent service dependency on english locale to sync VMs properly

2014-08-06 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-7277
https://issues.apache.org/jira/browse/CLOUDSTACK-7277


Repository: cloudstack-git


Description
---

For vmsync first VMs are listed and than their power state is determined.
To exclude hosted system we filter the result on Caption='Virtual Machine' but 
this string is locale dependent so it may not
not work properly for locales other than english. To overcome this now we 
started using ProcessId >= 0 filter


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 195a964 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
b2a7b45 

Diff: https://reviews.apache.org/r/2/diff/


Testing
---

tested on my local system with ProcessId >= 0 filter VMs are syncing up properly


Thanks,

Anshul Gangwar



Review Request 24226: CLOUDSTACK-7234: stop sending smb credentials to Hyper-V Agent

2014-08-03 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24226/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-7234
https://issues.apache.org/jira/browse/CLOUDSTACK-7234


Repository: cloudstack-git


Description
---

We no longer uses SMB credentials on Hyper-V Agent so we are stopping to send 
SMB credentials to Hyper-V


Diffs
-

  
engine/schema/src/org/apache/cloudstack/storage/datastore/db/StoragePoolVO.java 
1508ce0 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
 4516191 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
b40cb8f 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
 2671b20 

Diff: https://reviews.apache.org/r/24226/diff/


Testing
---

verified on Hyper-V agent that we are not receiving SMB credentials.


Thanks,

Anshul Gangwar



Re: Building of Hyper-V Agent seems broken in 4.4 branch

2014-08-01 Thread Erik Weber
Thanks all :-)

-- 
Erik


On Fri, Aug 1, 2014 at 12:40 PM, Devdeep Singh 
wrote:

> Applied the patch to 4.4 branch and pushed. Thanks Anshul.
>
> Regards,
> Devdeep
>
> > -Original Message-
> > From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
> > Sent: Friday, August 1, 2014 2:13 PM
> > To: dev
> > Subject: Re: Building of Hyper-V Agent seems broken in 4.4 branch
> >
> > Anshul, go ahead.
> >
> > On Fri, Aug 1, 2014 at 7:24 AM, Anshul Gangwar <
> anshul.gang...@citrix.com>
> > wrote:
> > > I have created the patch https://reviews.apache.org/r/24174/ to fix
> the
> > issue.
> > > Is it ok to go ahead and commit it into 4.4 branch?
> > >
> > > Regards,
> > > Anshul
> > >
> > > -Original Message-
> > > From: Anshul Gangwar [mailto:anshul.gang...@citrix.com]
> > > Sent: Friday, August 01, 2014 10:22 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
> > >
> > > The commits are not applied in correct order.
> > >
> > > This commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 is applied after
> > ef0cec938165fdf3531f92dc8f4c2930ff95fa5e. The later commit has resolve
> > conflicts in cherry-picking. It was not resolved correctly which
> introduces this
> > build failure.
> > >
> > > Regards,
> > > Anshul
> > >
> > > -Original Message-
> > > From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> > > Sent: Friday, August 01, 2014 10:01 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
> > >
> > > Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was
> missed.
> > >
> > > Regards,
> > > Devdeep
> > >
> > >> -Original Message-
> > >> From: Erik Weber [mailto:terbol...@gmail.com]
> > >> Sent: Thursday, July 31, 2014 9:18 PM
> > >> To: dev
> > >> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
> > >>
> > >> 4.4.0 tag is working correctly, as is master branch.
> > >>
> > >> Any fix or advice appreciated.
> > >>
> > >>
> > >> Erik
> > >>
> > >> -- compile output 
> > >>
> > >>  Target CoreCompile:
> > >> Tool
> > >> C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
> > >> execution started with arguments: /noconfig /debug:full /debug+
> > >> /optimize- /out:obj\Debug\HypervResource.dll CloudStackTypes.cs
> > >> IWmiCallsV2.cs WmiCallsV2.cs Properties\AssemblyInfo.cs
> > >> HypervResourceController.cs Utils.cs /target:library
> > /define:"DEBUG;TRACE"
> > >> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> > >> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> > >> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
> > >>
> > /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
> > >> dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Confi
> > >> g
> > >> ura
> > >> tion.dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Manag
> > >> e
> > >> m
> > >> ent.dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >>
> > frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
> > >> dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.d
> > >> l
> > >> l
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.H
> > >> t
> > >> tp
> > >> .dll
> > >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> > >>
> > frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Sy

RE: Building of Hyper-V Agent seems broken in 4.4 branch

2014-08-01 Thread Devdeep Singh
Applied the patch to 4.4 branch and pushed. Thanks Anshul.

Regards,
Devdeep

> -Original Message-
> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
> Sent: Friday, August 1, 2014 2:13 PM
> To: dev
> Subject: Re: Building of Hyper-V Agent seems broken in 4.4 branch
> 
> Anshul, go ahead.
> 
> On Fri, Aug 1, 2014 at 7:24 AM, Anshul Gangwar 
> wrote:
> > I have created the patch https://reviews.apache.org/r/24174/ to fix the
> issue.
> > Is it ok to go ahead and commit it into 4.4 branch?
> >
> > Regards,
> > Anshul
> >
> > -Original Message-
> > From: Anshul Gangwar [mailto:anshul.gang...@citrix.com]
> > Sent: Friday, August 01, 2014 10:22 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
> >
> > The commits are not applied in correct order.
> >
> > This commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 is applied after
> ef0cec938165fdf3531f92dc8f4c2930ff95fa5e. The later commit has resolve
> conflicts in cherry-picking. It was not resolved correctly which introduces 
> this
> build failure.
> >
> > Regards,
> > Anshul
> >
> > -Original Message-
> > From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> > Sent: Friday, August 01, 2014 10:01 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
> >
> > Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was missed.
> >
> > Regards,
> > Devdeep
> >
> >> -Original Message-
> >> From: Erik Weber [mailto:terbol...@gmail.com]
> >> Sent: Thursday, July 31, 2014 9:18 PM
> >> To: dev
> >> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
> >>
> >> 4.4.0 tag is working correctly, as is master branch.
> >>
> >> Any fix or advice appreciated.
> >>
> >>
> >> Erik
> >>
> >> -- compile output 
> >>
> >>  Target CoreCompile:
> >> Tool
> >> C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
> >> execution started with arguments: /noconfig /debug:full /debug+
> >> /optimize- /out:obj\Debug\HypervResource.dll CloudStackTypes.cs
> >> IWmiCallsV2.cs WmiCallsV2.cs Properties\AssemblyInfo.cs
> >> HypervResourceController.cs Utils.cs /target:library
> /define:"DEBUG;TRACE"
> >> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> >> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> >> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
> >>
> /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
> >> dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Confi
> >> g
> >> ura
> >> tion.dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Manag
> >> e
> >> m
> >> ent.dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >>
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
> >> dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.d
> >> l
> >> l
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.H
> >> t
> >> tp
> >> .dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >>
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.
> >> dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.
> >> D
> >> ata
> >> SetExtensions.dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >>
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.
> >> dll
> >> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> >> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.
> >> d
> >> ll
> >> /reference:C:\P

Re: Review Request 24174: CLOUDSTACK-7220: fixed hyper-v agent broken in 4.4 branch

2014-08-01 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24174/#review49336
---

Ship it!


Ship It!

- Devdeep Singh


On Aug. 1, 2014, 5:21 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24174/
> ---
> 
> (Updated Aug. 1, 2014, 5:21 a.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Devdeep Singh.
> 
> 
> Bugs: CLOUDSTACK-7220
> https://issues.apache.org/jira/browse/CLOUDSTACK-7220
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> the commits were not applied in correct order while cherry picking from 
> 4.4-forward to 4.4
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0ad95b8 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 2f404ff 
> 
> Diff: https://reviews.apache.org/r/24174/diff/
> 
> 
> Testing
> ---
> 
> verified building on my local setup
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 24174: CLOUDSTACK-7220: fixed hyper-v agent broken in 4.4 branch

2014-08-01 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24174/#review49335
---


Commit cda088470b069b4361e87e12e96f2769305e96d9 in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cda0884 ]

CLOUDSTACK-7220: fixed building hyper-v agent is broken, commits were not 
applied in correct order while cherry picking from 4.4-forward to 4.4


- ASF Subversion and Git Services


On Aug. 1, 2014, 5:21 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24174/
> ---
> 
> (Updated Aug. 1, 2014, 5:21 a.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Devdeep Singh.
> 
> 
> Bugs: CLOUDSTACK-7220
> https://issues.apache.org/jira/browse/CLOUDSTACK-7220
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> the commits were not applied in correct order while cherry picking from 
> 4.4-forward to 4.4
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0ad95b8 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 2f404ff 
> 
> Diff: https://reviews.apache.org/r/24174/diff/
> 
> 
> Testing
> ---
> 
> verified building on my local setup
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Building of Hyper-V Agent seems broken in 4.4 branch

2014-08-01 Thread Daan Hoogland
Anshul, go ahead.

On Fri, Aug 1, 2014 at 7:24 AM, Anshul Gangwar
 wrote:
> I have created the patch https://reviews.apache.org/r/24174/ to fix the issue.
> Is it ok to go ahead and commit it into 4.4 branch?
>
> Regards,
> Anshul
>
> -Original Message-
> From: Anshul Gangwar [mailto:anshul.gang...@citrix.com]
> Sent: Friday, August 01, 2014 10:22 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
>
> The commits are not applied in correct order.
>
> This commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 is applied after 
> ef0cec938165fdf3531f92dc8f4c2930ff95fa5e. The later commit has resolve 
> conflicts in cherry-picking. It was not resolved correctly which introduces 
> this build failure.
>
> Regards,
> Anshul
>
> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: Friday, August 01, 2014 10:01 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch
>
> Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was missed.
>
> Regards,
> Devdeep
>
>> -Original Message-
>> From: Erik Weber [mailto:terbol...@gmail.com]
>> Sent: Thursday, July 31, 2014 9:18 PM
>> To: dev
>> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
>>
>> 4.4.0 tag is working correctly, as is master branch.
>>
>> Any fix or advice appreciated.
>>
>>
>> Erik
>>
>> -- compile output 
>>
>>  Target CoreCompile:
>> Tool
>> C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
>> execution started with arguments: /noconfig /debug:full /debug+
>> /optimize- /out:obj\Debug\HypervResource.dll CloudStackTypes.cs
>> IWmiCallsV2.cs WmiCallsV2.cs Properties\AssemblyInfo.cs
>> HypervResourceController.cs Utils.cs /target:library /define:"DEBUG;TRACE"
>> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
>> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
>> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
>> /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
>> dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Config
>> ura
>> tion.dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Manage
>> m
>> ent.dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
>> dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.dl
>> l
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.Ht
>> tp
>> .dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.
>> dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.D
>> ata
>> SetExtensions.dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.
>> dll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.d
>> ll
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.dl
>> l
>> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
>> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Core.d
>> ll
>> /reference:C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\Serv
>> e rResource\WmiWrappers\bin\Debug\\WmiWrappers.dll
>> /warn:4
>> WmiCallsV2.cs(336,27): error CS0117: `HypervResource.Utils' does not
>> contain a definition for `ConnectToRemote'
>> Utils.cs(32,18): (Location of the
>> symbol related to previous
>> error)
>> WmiCallsV2.cs(2448,69): error CS0103: The name `jobObj' does not exist
>> in the current context
>> HypervResourceControlle

RE: Building of Hyper-V Agent seems broken in 4.4 branch

2014-07-31 Thread Anshul Gangwar
I have created the patch https://reviews.apache.org/r/24174/ to fix the issue.
Is it ok to go ahead and commit it into 4.4 branch?

Regards,
Anshul

-Original Message-
From: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 
Sent: Friday, August 01, 2014 10:22 AM
To: dev@cloudstack.apache.org
Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch

The commits are not applied in correct order.

This commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 is applied after 
ef0cec938165fdf3531f92dc8f4c2930ff95fa5e. The later commit has resolve 
conflicts in cherry-picking. It was not resolved correctly which introduces 
this build failure.

Regards,
Anshul 

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: Friday, August 01, 2014 10:01 AM
To: dev@cloudstack.apache.org
Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch

Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was missed.

Regards,
Devdeep

> -Original Message-
> From: Erik Weber [mailto:terbol...@gmail.com]
> Sent: Thursday, July 31, 2014 9:18 PM
> To: dev
> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
> 
> 4.4.0 tag is working correctly, as is master branch.
> 
> Any fix or advice appreciated.
> 
> 
> Erik
> 
> -- compile output 
> 
>  Target CoreCompile:
> Tool
> C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
> execution started with arguments: /noconfig /debug:full /debug+
> /optimize- /out:obj\Debug\HypervResource.dll CloudStackTypes.cs 
> IWmiCallsV2.cs WmiCallsV2.cs Properties\AssemblyInfo.cs 
> HypervResourceController.cs Utils.cs /target:library /define:"DEBUG;TRACE"
> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
> /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Config
> ura
> tion.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Manage
> m
> ent.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.dl
> l
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.Ht
> tp
> .dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.D
> ata
> SetExtensions.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.d
> ll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.dl
> l
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Core.d
> ll
> /reference:C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\Serv
> e rResource\WmiWrappers\bin\Debug\\WmiWrappers.dll
> /warn:4
> WmiCallsV2.cs(336,27): error CS0117: `HypervResource.Utils' does not 
> contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> WmiCallsV2.cs(2448,69): error CS0103: The name `jobObj' does not exist 
> in the current context
> HypervResourceController.cs(239,31): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> HypervResourceController.cs(250,35): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> HypervResourceController.cs(992,27): error CS0117: `Hyperv

Review Request 24174: CLOUDSTACK-7220: fixed hyper-v agent broken in 4.4 branch

2014-07-31 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24174/
---

Review request for cloudstack, daan Hoogland and Devdeep Singh.


Bugs: CLOUDSTACK-7220
https://issues.apache.org/jira/browse/CLOUDSTACK-7220


Repository: cloudstack-git


Description
---

the commits were not applied in correct order while cherry picking from 
4.4-forward to 4.4


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 0ad95b8 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
2f404ff 

Diff: https://reviews.apache.org/r/24174/diff/


Testing
---

verified building on my local setup


Thanks,

Anshul Gangwar



RE: Building of Hyper-V Agent seems broken in 4.4 branch

2014-07-31 Thread Anshul Gangwar
The commits are not applied in correct order.

This commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 is applied after 
ef0cec938165fdf3531f92dc8f4c2930ff95fa5e. The later commit has resolve 
conflicts in cherry-picking. It was not resolved correctly which introduces 
this build failure.

Regards,
Anshul 

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com] 
Sent: Friday, August 01, 2014 10:01 AM
To: dev@cloudstack.apache.org
Subject: RE: Building of Hyper-V Agent seems broken in 4.4 branch

Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was missed.

Regards,
Devdeep

> -Original Message-
> From: Erik Weber [mailto:terbol...@gmail.com]
> Sent: Thursday, July 31, 2014 9:18 PM
> To: dev
> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
> 
> 4.4.0 tag is working correctly, as is master branch.
> 
> Any fix or advice appreciated.
> 
> 
> Erik
> 
> -- compile output 
> 
>  Target CoreCompile:
> Tool 
> C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
> execution started with arguments: /noconfig /debug:full /debug+ 
> /optimize- /out:obj\Debug\HypervResource.dll CloudStackTypes.cs 
> IWmiCallsV2.cs WmiCallsV2.cs Properties\AssemblyInfo.cs 
> HypervResourceController.cs Utils.cs /target:library /define:"DEBUG;TRACE"
> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
> /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Config
> ura
> tion.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Manage
> m
> ent.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.dl
> l
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.Ht
> tp
> .dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.D
> ata
> SetExtensions.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.d
> ll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.dl
> l
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Core.d
> ll 
> /reference:C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\Serv
> e rResource\WmiWrappers\bin\Debug\\WmiWrappers.dll
> /warn:4
> WmiCallsV2.cs(336,27): error CS0117: `HypervResource.Utils' does not 
> contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> WmiCallsV2.cs(2448,69): error CS0103: The name `jobObj' does not exist 
> in the current context
> HypervResourceController.cs(239,31): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> HypervResourceController.cs(250,35): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> HypervResourceController.cs(992,27): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the 
> symbol related to previous
> error)
> HypervResourceController.cs(1284,31): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'

RE: Building of Hyper-V Agent seems broken in 4.4 branch

2014-07-31 Thread Devdeep Singh
Taking a look at it. Maybe a cherry-pick from 4.4-forward to 4.4 was missed.

Regards,
Devdeep

> -Original Message-
> From: Erik Weber [mailto:terbol...@gmail.com]
> Sent: Thursday, July 31, 2014 9:18 PM
> To: dev
> Subject: Building of Hyper-V Agent seems broken in 4.4 branch
> 
> 4.4.0 tag is working correctly, as is master branch.
> 
> Any fix or advice appreciated.
> 
> 
> Erik
> 
> -- compile output 
> 
>  Target CoreCompile:
> Tool C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
> execution started with arguments: /noconfig /debug:full /debug+ /optimize-
> /out:obj\Debug\HypervResource.dll CloudStackTypes.cs IWmiCallsV2.cs
> WmiCallsV2.cs Properties\AssemblyInfo.cs HypervResourceController.cs
> Utils.cs /target:library /define:"DEBUG;TRACE"
> /reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
> /reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
> /reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
> /reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Configura
> tion.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Managem
> ent.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.Http
> .dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.Data
> SetExtensions.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.
> dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.dll
> /reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-
> frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Core.dll
> /reference:C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\Serve
> rResource\WmiWrappers\bin\Debug\\WmiWrappers.dll
> /warn:4
> WmiCallsV2.cs(336,27): error CS0117: `HypervResource.Utils' does not
> contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> WmiCallsV2.cs(2448,69): error CS0103: The name `jobObj' does not exist in
> the current context
> HypervResourceController.cs(239,31): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> HypervResourceController.cs(250,35): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> HypervResourceController.cs(992,27): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> HypervResourceController.cs(1284,31): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> HypervResourceController.cs(1560,39): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 
> related to previous
> error)
> HypervResourceController.cs(1567,35): error CS0117: `HypervResource.Utils'
> does not contain a definition for `ConnectToRemote'
> Utils.cs(32,18): (Location of the symbol 

Building of Hyper-V Agent seems broken in 4.4 branch

2014-07-31 Thread Erik Weber
4.4.0 tag is working correctly, as is master branch.

Any fix or advice appreciated.


Erik

-- compile output 

 Target CoreCompile:
Tool C:\PROGRA~2\MONO-3~1.3\bin\mcs.bat
execution started with arguments: /noconfig /debug:full /debug+ /optimize-
/out:obj\Debug\HypervResource.dll CloudStackTypes.cs IWmiCallsV2.cs
WmiCallsV2.cs Properties\AssemblyInfo.cs HypervResourceController.cs
Utils.cs /target:library /define:"DEBUG;TRACE"
/reference:..\packages\AWSSDK.1.5.23.0\lib\AWSSDK.dll
/reference:..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll
/reference:..\packages\log4net.2.0.0\lib\net40-full\log4net.dll
/reference:..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Configuration.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Management.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Net.Http.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Web.Http.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.Linq.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.DataSetExtensions.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\Microsoft.CSharp.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Data.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Xml.dll
/reference:C:\PROGRA~2\MONO-3~1.3\lib\mono\4.5\..\xbuild-frameworks\.NETFramework\v4.5\RedistList\..\..\..\..\4.5\System.Core.dll
/reference:C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\bin\Debug\\WmiWrappers.dll
/warn:4
WmiCallsV2.cs(336,27): error CS0117: `HypervResource.Utils' does not
contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
WmiCallsV2.cs(2448,69): error CS0103: The name `jobObj' does not exist in
the current context
HypervResourceController.cs(239,31): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
HypervResourceController.cs(250,35): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
HypervResourceController.cs(992,27): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
HypervResourceController.cs(1284,31): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
HypervResourceController.cs(1560,39): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
HypervResourceController.cs(1567,35): error CS0117: `HypervResource.Utils'
does not contain a definition for `ConnectToRemote'
Utils.cs(32,18): (Location of the symbol
related to previous error)
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project
"C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj".--
FAILED
Done building project
"C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj".--
FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project
"C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln".--
FAILED
Done building project
"C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln".--
FAILED

Build FAILED.
Errors:

C:\source\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
(default t

Re: Review Request 20701: CLOUDSTACK-6504: removed the warnings coming in building hyper-v agent code

2014-07-28 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20701/#review48855
---


Commit 8fb89cdc8e2dff60d49fecd3e51a9bf997061035 in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8fb89cd ]

CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code

(cherry picked from commit 66f8e0e1b5c81cbfde926c0c65c4d5969767cab9)

Conflicts:

plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs

plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs


- ASF Subversion and Git Services


On April 25, 2014, 6:14 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20701/
> ---
> 
> (Updated April 25, 2014, 6:14 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6504
> https://issues.apache.org/jira/browse/CLOUDSTACK-6504
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>  removed the warnings coming in building hyper-v agent code. One warning 
> related to System.Net.Http dependency is still there. All other warnings have 
> been removed.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
>  c222102 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0f084db 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> d0d3d83 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
> 
> Diff: https://reviews.apache.org/r/20701/diff/
> 
> 
> Testing
> ---
> 
> tested by creating the fresh setup after the removal of warnings.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-07-28 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/#review48854
---


Commit 48f9453a74c0dea9e3c57ab61515e29121c4d2d7 in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=48f9453 ]

CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to 
shutdown it gracefully before turning it off forcefully

(cherry picked from commit 4a85e2226436c62e781db3449d262cb385b977c1)

Conflicts:

plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs


- ASF Subversion and Git Services


On April 25, 2014, 8:28 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20651/
> ---
> 
> (Updated April 25, 2014, 8:28 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6470
> https://issues.apache.org/jira/browse/CLOUDSTACK-6470
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
> turn off. Even if the integration services are installed in hyper-v. Directly 
> turning of VM may result in corruption of disk. This patch fixes this issue. 
> I have used new management class ShutdownComponent to achieve this.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
>  PRE-CREATION 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  70ae8e8 
> 
> Diff: https://reviews.apache.org/r/20651/diff/
> 
> 
> Testing
> ---
> 
> verified on my local setup by looking into the console of VM. When stopping 
> the VM it shows that the shutdown process is initiated.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20701: CLOUDSTACK-6504: removed the warnings coming in building hyper-v agent code

2014-04-25 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20701/#review41456
---

Ship it!


Ship It!

- Devdeep Singh


On April 25, 2014, 6:14 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20701/
> ---
> 
> (Updated April 25, 2014, 6:14 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6504
> https://issues.apache.org/jira/browse/CLOUDSTACK-6504
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>  removed the warnings coming in building hyper-v agent code. One warning 
> related to System.Net.Http dependency is still there. All other warnings have 
> been removed.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
>  c222102 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0f084db 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> d0d3d83 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
> 
> Diff: https://reviews.apache.org/r/20701/diff/
> 
> 
> Testing
> ---
> 
> tested by creating the fresh setup after the removal of warnings.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-25 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/#review41455
---

Ship it!


Ship It!

- Devdeep Singh


On April 25, 2014, 8:28 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20651/
> ---
> 
> (Updated April 25, 2014, 8:28 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6470
> https://issues.apache.org/jira/browse/CLOUDSTACK-6470
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
> turn off. Even if the integration services are installed in hyper-v. Directly 
> turning of VM may result in corruption of disk. This patch fixes this issue. 
> I have used new management class ShutdownComponent to achieve this.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
>  PRE-CREATION 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  70ae8e8 
> 
> Diff: https://reviews.apache.org/r/20651/diff/
> 
> 
> Testing
> ---
> 
> verified on my local setup by looking into the console of VM. When stopping 
> the VM it shows that the shutdown process is initiated.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-25 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/#review41450
---


Commit 1dc76a2743ae972642498f94d6f6a7ffd8067bf8 in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1dc76a2 ]

CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to 
shutdown it gracefully before turning it off forcefully


- ASF Subversion and Git Services


On April 25, 2014, 8:28 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20651/
> ---
> 
> (Updated April 25, 2014, 8:28 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6470
> https://issues.apache.org/jira/browse/CLOUDSTACK-6470
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
> turn off. Even if the integration services are installed in hyper-v. Directly 
> turning of VM may result in corruption of disk. This patch fixes this issue. 
> I have used new management class ShutdownComponent to achieve this.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
>  PRE-CREATION 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  70ae8e8 
> 
> Diff: https://reviews.apache.org/r/20651/diff/
> 
> 
> Testing
> ---
> 
> verified on my local setup by looking into the console of VM. When stopping 
> the VM it shows that the shutdown process is initiated.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20701: CLOUDSTACK-6504: removed the warnings coming in building hyper-v agent code

2014-04-25 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20701/#review41451
---


Commit 6511b96088af75b7e37a5f8b0cce609b006021fb in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6511b96 ]

CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code


- ASF Subversion and Git Services


On April 25, 2014, 6:14 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20701/
> ---
> 
> (Updated April 25, 2014, 6:14 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6504
> https://issues.apache.org/jira/browse/CLOUDSTACK-6504
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>  removed the warnings coming in building hyper-v agent code. One warning 
> related to System.Net.Http dependency is still there. All other warnings have 
> been removed.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
>  c222102 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0f084db 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> d0d3d83 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
> 
> Diff: https://reviews.apache.org/r/20701/diff/
> 
> 
> Testing
> ---
> 
> tested by creating the fresh setup after the removal of warnings.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-25 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/#review41447
---


Commit 4a85e2226436c62e781db3449d262cb385b977c1 in cloudstack's branch 
refs/heads/4.4-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4a85e22 ]

CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to 
shutdown it gracefully before turning it off forcefully


- ASF Subversion and Git Services


On April 25, 2014, 8:28 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20651/
> ---
> 
> (Updated April 25, 2014, 8:28 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6470
> https://issues.apache.org/jira/browse/CLOUDSTACK-6470
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
> turn off. Even if the integration services are installed in hyper-v. Directly 
> turning of VM may result in corruption of disk. This patch fixes this issue. 
> I have used new management class ShutdownComponent to achieve this.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
>  PRE-CREATION 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  70ae8e8 
> 
> Diff: https://reviews.apache.org/r/20651/diff/
> 
> 
> Testing
> ---
> 
> verified on my local setup by looking into the console of VM. When stopping 
> the VM it shows that the shutdown process is initiated.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20701: CLOUDSTACK-6504: removed the warnings coming in building hyper-v agent code

2014-04-25 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20701/#review41448
---


Commit 66f8e0e1b5c81cbfde926c0c65c4d5969767cab9 in cloudstack's branch 
refs/heads/4.4-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=66f8e0e ]

CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code


- ASF Subversion and Git Services


On April 25, 2014, 6:14 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20701/
> ---
> 
> (Updated April 25, 2014, 6:14 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6504
> https://issues.apache.org/jira/browse/CLOUDSTACK-6504
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>  removed the warnings coming in building hyper-v agent code. One warning 
> related to System.Net.Http dependency is still there. All other warnings have 
> been removed.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
>  c222102 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  0f084db 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> d0d3d83 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 4795073 
> 
> Diff: https://reviews.apache.org/r/20701/diff/
> 
> 
> Testing
> ---
> 
> tested by creating the fresh setup after the removal of warnings.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-25 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/
---

(Updated April 25, 2014, 8:28 a.m.)


Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Changes
---

updated the diff with some minor changes


Bugs: CLOUDSTACK-6470
https://issues.apache.org/jira/browse/CLOUDSTACK-6470


Repository: cloudstack-git


Description
---

When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
turn off. Even if the integration services are installed in hyper-v. Directly 
turning of VM may result in corruption of disk. This patch fixes this issue. I 
have used new management class ShutdownComponent to achieve this.


Diffs (updated)
-

  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
4795073 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
 PRE-CREATION 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj 
70ae8e8 

Diff: https://reviews.apache.org/r/20651/diff/


Testing
---

verified on my local setup by looking into the console of VM. When stopping the 
VM it shows that the shutdown process is initiated.


Thanks,

Anshul Gangwar



Review Request 20701: CLOUDSTACK-6504: removed the warnings coming in building hyper-v agent code

2014-04-24 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20701/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-6504
https://issues.apache.org/jira/browse/CLOUDSTACK-6504


Repository: cloudstack-git


Description
---

 removed the warnings coming in building hyper-v agent code. One warning 
related to System.Net.Http dependency is still there. All other warnings have 
been removed.


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs
 c222102 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 0f084db 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
d0d3d83 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
4795073 

Diff: https://reviews.apache.org/r/20701/diff/


Testing
---

tested by creating the fresh setup after the removal of warnings.


Thanks,

Anshul Gangwar



Re: Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-24 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/
---

(Updated April 24, 2014, 11:07 a.m.)


Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Changes
---

added the license header in newly created file


Bugs: CLOUDSTACK-6470
https://issues.apache.org/jira/browse/CLOUDSTACK-6470


Repository: cloudstack-git


Description
---

When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
turn off. Even if the integration services are installed in hyper-v. Directly 
turning of VM may result in corruption of disk. This patch fixes this issue. I 
have used new management class ShutdownComponent to achieve this.


Diffs (updated)
-

  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
4795073 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
 PRE-CREATION 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj 
70ae8e8 

Diff: https://reviews.apache.org/r/20651/diff/


Testing
---

verified on my local setup by looking into the console of VM. When stopping the 
VM it shows that the shutdown process is initiated.


Thanks,

Anshul Gangwar



Review Request 20651: CLOUDSTACK-6470: fixed while stopping vm hyper-v agent, vm is now gracefully shutting down

2014-04-23 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20651/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-6470
https://issues.apache.org/jira/browse/CLOUDSTACK-6470


Repository: cloudstack-git


Description
---

When we stop VM in case of hyper-v, then it is always force shut downed i.e. 
turn off. Even if the integration services are installed in hyper-v. Directly 
turning of VM may result in corruption of disk. This patch fixes this issue. I 
have used new management class ShutdownComponent to achieve this.


Diffs
-

  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
4795073 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_ShutdownComponent.cs
 PRE-CREATION 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj 
70ae8e8 

Diff: https://reviews.apache.org/r/20651/diff/


Testing
---

verified on my local setup by looking into the console of VM. When stopping the 
VM it shows that the shutdown process is initiated.


Thanks,

Anshul Gangwar



Re: Review Request 20315: CLOUDSTACK-6401: [hyper-v] fixed correct host state in cloudstack if the hyper-v agent is down

2014-04-15 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20315/#review40372
---

Ship it!


Ship It!

- Devdeep Singh


On April 15, 2014, 5:12 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20315/
> ---
> 
> (Updated April 15, 2014, 5:12 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6401
> https://issues.apache.org/jira/browse/CLOUDSTACK-6401
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> fixed correct host state in cloudstack if the hyper-v agent is down. Added 
> heartbeat file to monitor whether host is actually down or not
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  ec44568 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  4f4c14e 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 5ddcbef 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/heartbeat.bat 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20315/diff/
> 
> 
> Testing
> ---
> 
> verified various scenarios
> 
> 1. agent is down but host is up
> 2. both are down
> 3. both are up
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20315: CLOUDSTACK-6401: [hyper-v] fixed correct host state in cloudstack if the hyper-v agent is down

2014-04-15 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20315/#review40369
---


Commit 55f53e13e82179c2cbde3f667869495ec944f496 in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=55f53e1 ]

CLOUDSTACK-6401: [hyper-v] fixed correct host state, if host is up and hyper-v 
agent is down then the host state will be shown as up(actual host state) in 
cloudstack


- ASF Subversion and Git Services


On April 15, 2014, 5:12 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20315/
> ---
> 
> (Updated April 15, 2014, 5:12 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6401
> https://issues.apache.org/jira/browse/CLOUDSTACK-6401
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> fixed correct host state in cloudstack if the hyper-v agent is down. Added 
> heartbeat file to monitor whether host is actually down or not
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  ec44568 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  4f4c14e 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 5ddcbef 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/heartbeat.bat 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20315/diff/
> 
> 
> Testing
> ---
> 
> verified various scenarios
> 
> 1. agent is down but host is up
> 2. both are down
> 3. both are up
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20315: CLOUDSTACK-6401: [hyper-v] fixed correct host state in cloudstack if the hyper-v agent is down

2014-04-15 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20315/#review40359
---


Commit b78aee8f117f9e89a533afba86b3ff91da19744e in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b78aee8 ]

CLOUDSTACK-6401: [hyper-v] fixed correct host state, if host is up and hyper-v 
agent is down then the host state will be shown as up(actual host state) in 
cloudstack


- ASF Subversion and Git Services


On April 15, 2014, 5:12 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20315/
> ---
> 
> (Updated April 15, 2014, 5:12 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6401
> https://issues.apache.org/jira/browse/CLOUDSTACK-6401
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> fixed correct host state in cloudstack if the hyper-v agent is down. Added 
> heartbeat file to monitor whether host is actually down or not
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  ec44568 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  4f4c14e 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 5ddcbef 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/heartbeat.bat 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20315/diff/
> 
> 
> Testing
> ---
> 
> verified various scenarios
> 
> 1. agent is down but host is up
> 2. both are down
> 3. both are up
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 20315: CLOUDSTACK-6401: [hyper-v] fixed correct host state in cloudstack if the hyper-v agent is down

2014-04-14 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20315/
---

(Updated April 15, 2014, 5:12 a.m.)


Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Changes
---

added the license header to newly added file


Bugs: CLOUDSTACK-6401
https://issues.apache.org/jira/browse/CLOUDSTACK-6401


Repository: cloudstack-git


Description
---

fixed correct host state in cloudstack if the hyper-v agent is down. Added 
heartbeat file to monitor whether host is actually down or not


Diffs (updated)
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
 ec44568 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 4f4c14e 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
5ddcbef 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/heartbeat.bat 
PRE-CREATION 

Diff: https://reviews.apache.org/r/20315/diff/


Testing
---

verified various scenarios

1. agent is down but host is up
2. both are down
3. both are up


Thanks,

Anshul Gangwar



Review Request 20315: CLOUDSTACK-6401: [hyper-v] fixed correct host state in cloudstack if the hyper-v agent is down

2014-04-14 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20315/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-6401
https://issues.apache.org/jira/browse/CLOUDSTACK-6401


Repository: cloudstack-git


Description
---

fixed correct host state in cloudstack if the hyper-v agent is down. Added 
heartbeat file to monitor whether host is actually down or not


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
 ec44568 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 4f4c14e 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
5ddcbef 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/heartbeat.bat 
PRE-CREATION 

Diff: https://reviews.apache.org/r/20315/diff/


Testing
---

verified various scenarios

1. agent is down but host is up
2. both are down
3. both are up


Thanks,

Anshul Gangwar



Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39785
---


Commit e644ac165316b74885eba2629b5f8eb1a029481c in cloudstack's branch 
refs/heads/marvin from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e644ac1 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19907/
> ---
> 
> (Updated April 2, 2014, 8:45 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6325
> https://issues.apache.org/jira/browse/CLOUDSTACK-6325
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>   Fixed cleaning of bin and obj directories when building hyper-v agent with 
> mono ,they were not cleaning up and resulting  in use of stale dlls in some 
> cases.
> 
>   Building with mono may fail if visual studio is open.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
> a4c6b1f 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  a2dc323 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
>  eec595e 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  b4bf04b 
> 
> Diff: https://reviews.apache.org/r/19907/diff/
> 
> 
> Testing
> ---
> 
> tested by building with mono and verifying each dll is getting generated all 
> the time. It is building fine with visual studio also.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39784
---


Commit f40e8a835cd4561b08f36bbb7d52449140202cd0 in cloudstack's branch 
refs/heads/marvin from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f40e8a8 ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19913/
> ---
> 
> (Updated April 3, 2014, 8:30 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6326
> https://issues.apache.org/jira/browse/CLOUDSTACK-6326
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Fixed password visible in plain text in some of commands in Hyper-v Agent logs
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  66b9828 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 6ebc5bf 
> 
> Diff: https://reviews.apache.org/r/19913/diff/
> 
> 
> Testing
> ---
> 
> verified by seeing the logs for some commands
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39771
---


Commit e644ac165316b74885eba2629b5f8eb1a029481c in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e644ac1 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19907/
> ---
> 
> (Updated April 2, 2014, 8:45 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6325
> https://issues.apache.org/jira/browse/CLOUDSTACK-6325
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>   Fixed cleaning of bin and obj directories when building hyper-v agent with 
> mono ,they were not cleaning up and resulting  in use of stale dlls in some 
> cases.
> 
>   Building with mono may fail if visual studio is open.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
> a4c6b1f 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  a2dc323 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
>  eec595e 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  b4bf04b 
> 
> Diff: https://reviews.apache.org/r/19907/diff/
> 
> 
> Testing
> ---
> 
> tested by building with mono and verifying each dll is getting generated all 
> the time. It is building fine with visual studio also.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39770
---


Commit f40e8a835cd4561b08f36bbb7d52449140202cd0 in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f40e8a8 ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19913/
> ---
> 
> (Updated April 3, 2014, 8:30 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6326
> https://issues.apache.org/jira/browse/CLOUDSTACK-6326
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Fixed password visible in plain text in some of commands in Hyper-v Agent logs
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  66b9828 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 6ebc5bf 
> 
> Diff: https://reviews.apache.org/r/19913/diff/
> 
> 
> Testing
> ---
> 
> verified by seeing the logs for some commands
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39769
---


Commit 9bc19bc241a55f92bc423681b3457b4decca9863 in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9bc19bc ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19913/
> ---
> 
> (Updated April 3, 2014, 8:30 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6326
> https://issues.apache.org/jira/browse/CLOUDSTACK-6326
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Fixed password visible in plain text in some of commands in Hyper-v Agent logs
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  66b9828 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 6ebc5bf 
> 
> Diff: https://reviews.apache.org/r/19913/diff/
> 
> 
> Testing
> ---
> 
> verified by seeing the logs for some commands
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39768
---


Commit 3f84cc6c60cb7c5fd985b54932a708869c9f in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3f84cc6 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19907/
> ---
> 
> (Updated April 2, 2014, 8:45 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6325
> https://issues.apache.org/jira/browse/CLOUDSTACK-6325
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>   Fixed cleaning of bin and obj directories when building hyper-v agent with 
> mono ,they were not cleaning up and resulting  in use of stale dlls in some 
> cases.
> 
>   Building with mono may fail if visual studio is open.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
> a4c6b1f 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  a2dc323 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
>  eec595e 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  b4bf04b 
> 
> Diff: https://reviews.apache.org/r/19907/diff/
> 
> 
> Testing
> ---
> 
> tested by building with mono and verifying each dll is getting generated all 
> the time. It is building fine with visual studio also.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39766
---


Commit d042a8183760d85b0f05432267bef4a8b5e2e2d0 in cloudstack's branch 
refs/heads/4.3-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d042a81 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19907/
> ---
> 
> (Updated April 2, 2014, 8:45 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6325
> https://issues.apache.org/jira/browse/CLOUDSTACK-6325
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
>   Fixed cleaning of bin and obj directories when building hyper-v agent with 
> mono ,they were not cleaning up and resulting  in use of stale dlls in some 
> cases.
> 
>   Building with mono may fail if visual studio is open.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
> a4c6b1f 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
>  a2dc323 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
>  eec595e 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
>  b4bf04b 
> 
> Diff: https://reviews.apache.org/r/19907/diff/
> 
> 
> Testing
> ---
> 
> tested by building with mono and verifying each dll is getting generated all 
> the time. It is building fine with visual studio also.
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39767
---


Commit 53724bcbf51a1751bc0df9f0642eead2c28edb21 in cloudstack's branch 
refs/heads/4.3-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53724bc ]

CLOUDSTACK-6326: Fixed password visible in plain text in some of commands
in Hyper-v Agent logs.

Signed-off-by: Devdeep Singh 


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19913/
> ---
> 
> (Updated April 3, 2014, 8:30 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6326
> https://issues.apache.org/jira/browse/CLOUDSTACK-6326
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Fixed password visible in plain text in some of commands in Hyper-v Agent logs
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
>  66b9828 
>   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
> 6ebc5bf 
> 
> Diff: https://reviews.apache.org/r/19913/diff/
> 
> 
> Testing
> ---
> 
> verified by seeing the logs for some commands
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-03 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-6326
https://issues.apache.org/jira/browse/CLOUDSTACK-6326


Repository: cloudstack-git


Description
---

Fixed password visible in plain text in some of commands in Hyper-v Agent logs


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 66b9828 
  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
6ebc5bf 

Diff: https://reviews.apache.org/r/19913/diff/


Testing
---

verified by seeing the logs for some commands


Thanks,

Anshul Gangwar



Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-02 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/
---

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


Bugs: CLOUDSTACK-6325
https://issues.apache.org/jira/browse/CLOUDSTACK-6325


Repository: cloudstack-git


Description
---

  Fixed cleaning of bin and obj directories when building hyper-v agent with 
mono ,they were not cleaning up and resulting  in use of stale dlls in some 
cases.

  Building with mono may fail if visual studio is open.


Diffs
-

  plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
a4c6b1f 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
 a2dc323 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
 eec595e 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj 
b4bf04b 

Diff: https://reviews.apache.org/r/19907/diff/


Testing
---

tested by building with mono and verifying each dll is getting generated all 
the time. It is building fine with visual studio also.


Thanks,

Anshul Gangwar



RE: Hyper-V agent

2014-01-09 Thread Rajesh Battala
Hi Paul, 
I had a quick look at the log, found that url for the localstorage is wrongly 
appended. 
Can you use SMB as primary store in the meanwhile.
I will test this local storage and get back with result. 

Thanks
Rajesh Battala 

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: Friday, January 10, 2014 2:41 AM
To: dev@cloudstack.apache.org
Subject: RE: Hyper-V agent

Agent log:
http://pastebin.com/40Tan8UG

mgmt log:
http://pastebin.com/ZATWt7Nb


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 18:36
To: dev@cloudstack.apache.org
Subject: RE: Hyper-V agent

Can you post the agent log and mgmt. server log.
Look like agent is trying to clone the template disk to create root volumes for 
the VM's and failing to clone/copy.

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 11:15 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Rajesh,

Yes I'm using SMB for the secondary storage,  the system vm image gets copied 
over to the local storage (2.6GB routing-9.vhd ) this gets copied to as 
ROOT-1.vhd then deployment fails, then it creates ROOT-2.vhd and fails, then 
creates ROOT-3.vhd and fails etc...



Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 17:33
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Are you using SMB as secondary store? Is the secondary store is reachable and 
has necessary permission for the Host to access the storage.

Thanks
Rajesh battala


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 9:56 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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" star

RE: Hyper-V agent

2014-01-09 Thread Paul Angus
Agent log:
http://pastebin.com/40Tan8UG

mgmt log:
http://pastebin.com/ZATWt7Nb


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 18:36
To: dev@cloudstack.apache.org
Subject: RE: Hyper-V agent

Can you post the agent log and mgmt. server log.
Look like agent is trying to clone the template disk to create root volumes for 
the VM's and failing to clone/copy.

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 11:15 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Rajesh,

Yes I'm using SMB for the secondary storage,  the system vm image gets copied 
over to the local storage (2.6GB routing-9.vhd ) this gets copied to as 
ROOT-1.vhd then deployment fails, then it creates ROOT-2.vhd and fails, then 
creates ROOT-3.vhd and fails etc...



Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 17:33
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Are you using SMB as secondary store? Is the secondary store is reachable and 
has necessary permission for the Host to access the storage.

Thanks
Rajesh battala


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 9:56 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original M

RE: Hyper-V agent

2014-01-09 Thread Rajesh Battala
Can you post the agent log and mgmt. server log.
Look like agent is trying to clone the template disk to create root volumes for 
the VM's and failing to clone/copy. 

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: Thursday, January 9, 2014 11:15 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Rajesh,

Yes I'm using SMB for the secondary storage,  the system vm image gets copied 
over to the local storage (2.6GB routing-9.vhd ) this gets copied to as 
ROOT-1.vhd then deployment fails, then it creates ROOT-2.vhd and fails, then 
creates ROOT-3.vhd and fails etc...



Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 17:33
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Are you using SMB as secondary store? Is the secondary store is reachable and 
has necessary permission for the Host to access the storage.

Thanks
Rajesh battala


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 9:56 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
computerna

RE: Hyper-V agent

2014-01-09 Thread Paul Angus
Hi Rajesh,

Yes I'm using SMB for the secondary storage,  the system vm image gets copied 
over to the local storage (2.6GB routing-9.vhd ) this gets copied to as 
ROOT-1.vhd then deployment fails, then it creates ROOT-2.vhd and fails, then 
creates ROOT-3.vhd and fails etc...



Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 17:33
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Are you using SMB as secondary store? Is the secondary store is reachable and 
has necessary permission for the Host to access the storage.

Thanks
Rajesh battala


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 9, 2014 9:56 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
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 1

RE: Hyper-V agent

2014-01-09 Thread Rajesh Battala
Hi Paul, 
Are you using SMB as secondary store? Is the secondary store is reachable and 
has necessary permission for the Host to access the storage.

Thanks
Rajesh battala


-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: Thursday, January 9, 2014 9:56 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
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 [(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 [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Stopping and uninstalling CloudStack Hyper-V Agent
2014-01-08 17:58:53,621 [1] DEBUG CloudSt

RE: Hyper-V agent

2014-01-09 Thread Rajesh Battala
Hi Daan, 
The hyperv systemvm is generated from the jenkisn.buildacloud.org. 
Vhd generated with name tag xenserver is used for hyperv as xenserver and 
hyperv supports vhd. 

The uploaded template to download.cloud.com is generated from Jenkins only. 
After testing it, it got zipped pushed. 


Thanks
Rajesh Battala

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
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 process 
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 
> Here is the url for the same.: 
> 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.an...@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= 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.an...@shapeblue.com
>
> -Original Message-
> From: Paul Angus [mailto:paul.an...@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 
> netdom 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 
> [(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 
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - Stopping and uninstalling CloudStack Hyper-V Agent
> 2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program 
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - Installing and running CloudStack Hyper-V Agent
> 2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - 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.an...@shapeblue.com
>
> -Original Message-
> From: Alex Hitchins [mailto:alex.hitch...@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 '.'

Re: Hyper-V agent

2014-01-09 Thread Hugo Trippaers
Daan,

It is build using the jenkins jobs, however at the moment they are not 
archived. See http://markmail.org/message/hyknsi5udiirdd7p

Cheers,

Hugo


On 9 jan. 2014, at 17:28, Daan Hoogland  wrote:

> H Rajesh,
> 
> How is the hyperv template build? And can it be build in the jenkins
> process 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
>> Here is the url for the same.: 
>> 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.an...@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= 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.an...@shapeblue.com
>> 
>> -Original Message-
>> From: Paul Angus [mailto:paul.an...@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 
>> netdom 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 
>> [(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 
>> [(null)] - CloudStack Hyper-V Agent arg is
>> 2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program 
>> [(null)] - Stopping and uninstalling CloudStack Hyper-V Agent
>> 2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program 
>> [(null)] - CloudStack Hyper-V Agent arg is
>> 2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program 
>> [(null)] - Installing and running CloudStack Hyper-V Agent
>> 2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program 
>> [(null)] - 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.an...@shapeblue.com
>> 
>> -Original Message-
>> From: Alex Hitchins [mailto:alex.hitch...@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 wor

Re: Hyper-V agent

2014-01-09 Thread Daan Hoogland
H Rajesh,

How is the hyperv template build? And can it be build in the jenkins
process 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
> Here is the url for the same.: 
> 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.an...@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= 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.an...@shapeblue.com
>
> -Original Message-
> From: Paul Angus [mailto:paul.an...@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 netdom 
> 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 
> [(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 
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - Stopping and uninstalling CloudStack Hyper-V Agent
> 2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program 
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - Installing and running CloudStack Hyper-V Agent
> 2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program 
> [(null)] - 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.an...@shapeblue.com
>
> -Original Message-
> From: Alex Hitchins [mailto:alex.hitch...@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.si...@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 

RE: Hyper-V agent

2014-01-09 Thread Paul Angus
CloudStack can't start hyper-v system vms with the following error:

2014-01-09 15:56:09,840 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6e3c7871), no need 
to delete from object in store ref table
2014-01-09 15:56:09,844 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-da5fc066) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,842 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] 
(secstorage-1:ctx-eb8b09af) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5e408d6e), no need 
to delete from object in store ref table
2014-01-09 15:56:09,845 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(secstorage-1:ctx-eb8b09af) releasing lock for VMTemplateStoragePool 1
2014-01-09 15:56:09,846 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-da5fc066) Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
2014-01-09 15:56:09,847 INFO  [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-da5fc066) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[2|vm=2|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, Error getting value from 'UncPath' on 
'HypervResource.PrimaryDataStoreTO'.
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)

the disk image gets copied to the local storage directory (2.6GB routing-9.vhd 
and ROOT-1.vhd, ROOT-2.vhd ROOT-3.vhd etc)





Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 09 January 2014 14:17
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Hi Paul,
Systemvm template for HyperV is already pushed to download.cloud.com Here is 
the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
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 [(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 [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Stopping and uninstalling CloudStack Hyper-V Agent
2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent running as Windows Service
2014-01-08 17:58:54,042 [1] INFO  CloudStack.Pl

RE: Hyper-V agent

2014-01-09 Thread Rajesh Battala
Hi Paul, 
Systemvm template for HyperV is already pushed to download.cloud.com 
Here is the url for the same.: 
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.an...@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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
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 [(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 [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Stopping and uninstalling CloudStack Hyper-V Agent
2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- 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.an...@shapeblue.com

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@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.si...@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.an...@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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog
Installing service CloudStack Hyper-V Agent...
Service CloudStack 

RE: Hyper-V agent

2014-01-09 Thread Paul Angus
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= 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.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@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 netdom 
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 [(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 [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Stopping and uninstalling CloudStack Hyper-V Agent
2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- 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.an...@shapeblue.com

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@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.si...@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.an...@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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.I

RE: Hyper-V agent

2014-01-08 Thread Paul Angus
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
netdom 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 [(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 [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:51,683 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Stopping and uninstalling CloudStack Hyper-V Agent
2014-01-08 17:58:53,621 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-08 17:58:53,652 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-08 17:58:53,995 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- 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.an...@shapeblue.com

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@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.si...@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.an...@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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(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 
paul.an...@shapeblue.com

From: Paul Angus [mailto:paul.an...@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

RE: Hyper-V agent

2014-01-06 Thread Donal Lafferty
What's in the .config file?  (Be sure not to publish sensitive IPs and keys ;)

> -Original Message-
> From: Alex Hitchins [mailto:alex.hitch...@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.si...@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.an...@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
> warnings) http://pastebin.com/ahz5yJw2
> 
> I copy it to my hyper-v box and it bombs out immediately
> http://imgur.com/NMan0S2
> 
> Install log says:
> 
> Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
> Affected parameters are:
>assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
>logfile = 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 =
>    assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
>logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog
> 
> agent log says:
> 
> 2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program
> [(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
> paul.an...@shapeblue.com
> 
> From: Paul Angus [mailto:paul.an...@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\Serve
> rResource\ServerResource.sln (default targets) -> (Build target) ->
> C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\Serve
> rResource\WmiWrappers\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:
> warning : Reference 'AWSSDK' not resolved
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:
> warning : Reference 'Ionic.Zip' not resolved
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:
> warning : Reference 'log4net' not resolved
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:
> warning : Reference 'Newtonsoft.Json' not resolved
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:
> warning : Reference 'NSubstitute' not resolved
> C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:
> warning : Reference 'xunit' not resolved
> 
> Errors:
> 
> C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\

RE: Hyper-V agent

2014-01-06 Thread Alex Hitchins
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.si...@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.an...@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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(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 
paul.an...@shapeblue.com

From: Paul Angus [mailto:paul.an...@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\ServerResource\ServerResource.sln
 (default targets) -> (Build target) -> 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) -> (Build target) -> 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) -> 
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cl

RE: Hyper-V agent

2014-01-06 Thread Devdeep Singh
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.an...@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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(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 
paul.an...@shapeblue.com

From: Paul Angus [mailto:paul.an...@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\ServerResource\ServerResource.sln
 (default targets) -> (Build target) -> 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) -> (Build target) -> 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) -> 
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 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.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>; 
Anshul Gangwar
Subject: 

RE: Hyper-V agent

2014-01-03 Thread Donal Lafferty
Can you check the web.config?  I've a feeling that the installer didn't set it 
up properly.

By reading the settings name you should get the gist of what each does.

Also, could you add some Jira issues:  one for the build error you saw and 
another for the installer?

Thanks,

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 17:49
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 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(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
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 16:35
To: Donal Lafferty; 
dev@cloudstack.apache.org<mailto: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\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 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.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>; 
Anshul Gangw

RE: Hyper-V agent

2014-01-03 Thread Paul Angus
So... updating .net 4.5.1 and a reboot and CloudAgent builds (with 19 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = 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 =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(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
paul.an...@shapeblue.com

From: Paul Angus [mailto:paul.an...@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\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 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.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org<mailto: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 agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org<mailto: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) 
rather than needing to build a windows development environment to buil

RE: Hyper-V agent

2014-01-03 Thread Donal Lafferty
Hi Paul,

I looks like the code to download the NuGet packages did not get triggered.

The code to download is in NuGet.targets (see 
https://github.com/lafferty/cshv3/blob/master/plugins/hypervisors/hyperv/DotNet/ServerResource/.nuget/NuGet.targets)

It is supposed to use a conditional 'BuildWithMono' as a special conditional, 
which is inserted by buildagent.sh (see 
https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/hyperv/buildagent.sh)

One possibility is that the wget for NuGet.exe failed.  Can you check that this 
.exe has been downloaded?

Thanks,

DL



From: Paul Angus [mailto:paul.an...@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\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 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.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org<mailto: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 agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org<mailto: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) 
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 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: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/>
08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
13-17 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.c

RE: Hyper-V agent

2014-01-03 Thread Paul Angus
When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\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:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\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=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 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.an...@shapeblue.com

From: Donal Lafferty [mailto:donal.laffe...@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 agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org<mailto: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) 
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 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: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/>
08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
13-17 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
20-24 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>

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 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended 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 you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria 

RE: Hyper-V agent

2014-01-02 Thread Donal Lafferty
I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@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) 
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 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: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/>
08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
13-17 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
20-24 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>

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 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended 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 you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
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 trademark.


Hyper-V agent

2014-01-02 Thread Paul Angus
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 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: +447711418784 | 
T: @CloudyAngus
paul.an...@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 
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 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended 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 you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
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 trademark.