I'd guess that the a dodgy URL for primary storage:

"url": 
"NetworkFilesystem://10.0.1.27//hypervPri/stor?user=hyperv&password=hyperv13!&domain=angusnet.local/?ROLE=Primary&STOREUUID=2bcff176-e5f3-350e-936a-7ee19a0e8658"

Can you raise a JIRA issue with the log sample below?  I'd do so myself, but I 
expect the fixer's gonna want to double check how you input the primary store 
data to rule out a GUI issue.


DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 14 January 2014 15:49
To: dev@cloudstack.apache.org
Cc: Donal Lafferty; Rajesh Battala; Anshul Gangwar
Subject: Hyper-V

Guys,

Primary storage local or shared is still giving me grief...

See the error below from the agent log when trying to create a system VM... the 
final error is
'org.apache.cloudstack.storage.command.CopyCommand failed on exception, net use 
of share 
\\\\10.0.1.27/hypervPri/storfailed<file:///\\\10.0.1.27\hypervPri\storfailed> 
with Error: Unknown, 1219",'
The share is \\10.0.1.27\hypervPri\stor<file:///\\10.0.1.27\hypervPri\stor> in 
UNC notation.


2014-01-14 15:40:12,566 [6] INFO  HypervResource.HypervResourceController 
[cc482c9e-0d97-4be8-9dc8-2e546bdb00c1] - 
org.apache.cloudstack.storage.command.CopyCommand{
  "srcTO": {
    "org.apache.cloudstack.storage.to.TemplateObjectTO": {
      "path": "template/tmpl/1/9/",
      "origUrl": 
"http://download.cloud.com/templates/4.3/systemvm64template-2013-12-23-hyperv.vhd.bz2";,
      "uuid": "18767718-7d1b-11e3-b742-0050568b4d4c",
      "id": 9,
      "format": "VHD",
      "accountId": 1,
      "checksum": "5df45ee6ebe1b703a8805f4e1f4d0818",
      "hvm": false,
      "displayText": "SystemVM Template (HyperV)",
      "imageDataStore": {
        "com.cloud.agent.api.to.NfsTO": {
         "_url": 
"cifs://10.0.100.5/stor_Cloud/Secondary/ACS43?user=hyperv&password=hyperv&domain=angusnet",
          "_role": "Image"
        }
      },
      "name": "routing-9",
      "hypervisorType": "Hyperv"
    }
  },
  "destTO": {
    "org.apache.cloudstack.storage.to.TemplateObjectTO": {
      "origUrl": 
"http://download.cloud.com/templates/4.3/systemvm64template-2013-12-23-hyperv.vhd.bz2";,
      "uuid": "18767718-7d1b-11e3-b742-0050568b4d4c",
      "id": 9,
      "format": "VHD",
      "accountId": 1,
      "checksum": "5df45ee6ebe1b703a8805f4e1f4d0818",
      "hvm": false,
      "displayText": "SystemVM Template (HyperV)",
      "imageDataStore": {
        "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
          "uuid": "2bcff176-e5f3-350e-936a-7ee19a0e8658",
          "id": 2,
          "poolType": "NetworkFilesystem",
          "host": "10.0.1.27",
          "path": 
"/hypervPri/stor?user=hyperv&password=hyperv13!&domain=angusnet.local",
          "port": 445,
          "url": 
"NetworkFilesystem://10.0.1.27//hypervPri/stor?user=hyperv&password=hyperv13!&domain=angusnet.local/?ROLE=Primary&STOREUUID=2bcff176-e5f3-350e-936a-7ee19a0e8658"
        }
      },
      "name": "routing-9",
      "hypervisorType": "Hyperv"
    }
  },
  "executeInSequence": false,
  "options": {},
  "contextMap": {},
  "wait": 10800
}
2014-01-14 15:40:12,581 [6] ERROR HypervResource.HypervResourceController 
[cc482c9e-0d97-4be8-9dc8-2e546bdb00c1] - 
org.apache.cloudstack.storage.command.CopyCommand failed on exception, net use 
of share 
\\10.0.1.27/hypervPri/storfailed<file:///\\10.0.1.27\hypervPri\storfailed> with 
Error: Unknown, 1219
System.ArgumentException: net use of share 
\\10.0.1.27/hypervPri/storfailed<file:///\\10.0.1.27\hypervPri\storfailed> with 
Error: Unknown, 1219
   at HypervResource.Utils.ConnectToRemote(String remoteUNC, String domain, 
String username, String password)
   at HypervResource.HypervResourceController.CopyCommand(Object cmd)
2014-01-14 15:40:12,581 [6] INFO  HypervResource.HypervResourceController 
[cc482c9e-0d97-4be8-9dc8-2e546bdb00c1] - {
  "org.apache.cloudstack.storage.command.CopyCmdAnswer": {
    "result": false,
    "details": "org.apache.cloudstack.storage.command.CopyCommand failed on 
exception, net use of share 
\\\\10.0.1.27/hypervPri/storfailed<file:///\\\10.0.1.27\hypervPri\storfailed> 
with Error: Unknown, 1219",
    "newData": null,
    "contextMap": {}
  }
}

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.an...@shapeblue.com<mailto:paul.an...@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.

Reply via email to