cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Angus <paul.an...@shapeblue.com>
Subject RE: Hyper-V agent
Date Thu, 09 Jan 2014 21:10:32 GMT
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.angus@shapeblue.com

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@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.angus@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.angus@shapeblue.com

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@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.angus@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.angus@shapeblue.com

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@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.angus@shapeblue.com]
Sent: Thursday, January 9, 2014 7:37 PM
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

I've added my hyper-v server into CloudStack (after dropping firewall and discovering I need
to set the service to start automatically - sc config "CloudStack Hyper-V Agent" start= automatic).

Now I can't find the hyper-v system vm template.  I've found a ticket which says it's built
by Jenkins, but I can't find it.
https://issues.apache.org/jira/browse/CLOUDSTACK-3385
http://jenkins.buildacloud.org/job/build-systemvm64-master/


Regards,

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

-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 08 January 2014 18:05
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

OK so

ipconfig /all returned:

Host Name:  WIN-G23HSIAIU40
And
Primary dns suffix: BLANK

I ran:

netdom computername hostname.domain.com /add:newhostname.newdomain.com 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.angus@shapeblue.com

-----Original Message-----
From: Alex Hitchins [mailto:alex.hitchins@shapeblue.com]
Sent: 06 January 2014 09:02
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Just noticed in the error log that it's trying to start on computer '.' - while I know the
. works in SQL Server etc, could it not be working here? Or have you set a custom hosts file?

--
Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer
'.'.



Alex Hitchins
+44 7788 423 969

-----Original Message-----
From: Devdeep Singh [mailto:devdeep.singh@citrix.com]
Sent: 06 January 2014 08:40
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

Error seems to be in starting the service. Can you check under services (services.msc) if
a service is present by the name "CloudStack Hyper-V Agent"? To debug the service start issue,
can you open up the 8250 port (or try disable firewall) and check if the service starts up.

Regards,
Devdeep

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

So... updating .net 4.5.1 and a reboot and CloudAgent builds (with 19 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.angus@shapeblue.com

From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 03 January 2014 16:35
To: Donal Lafferty; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\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.angus@shapeblue.com<mailto:paul.angus@shapeblue.com>

From: Donal Lafferty [mailto:donal.lafferty@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.angus@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<tel:+442036030540> | M: +4<tel:+447968161581>47711418784 |
T: @CloudyAngus paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com> | www.shapeblue.com<htp://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.
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.
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.
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.
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.
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.
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.
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.
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.

Mime
View raw message