I've got the System VMs creating, but not starting now...

Error seems to be:
POST response 
is[{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud.agent.api.StartCommand
 fail on exceptionObject reference not set to an instance of an object

Agent log:
http://pastebin.com/zhfXia9v

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

Regards,

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

-----Original Message-----
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 15 January 2014 02:57
To: dev@cloudstack.apache.org
Cc: Donal Lafferty; Rajesh Battala; Anshul Gangwar
Subject: RE: Hyper-V

Hi Paul,

I have put in a fix for the issue with local storage that you reported earlier 
[1]. Please pull the latest changes and try. It should work now. I'll look into 
the error you are facing with shared and let you know once it is fixed.

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-5869

Regards,
Devdeep

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Tuesday, January 14, 2014 9:19 PM
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 with Error: 
Unknown, 1219",'
The share is \\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 with Error: Unknown, 1219
System.ArgumentException: net use of share \\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 with Error: 
Unknown, 1219",
    "newData": null,
    "contextMap": {}
  }
}

Regards

Paul Angus
Senior Consultant / Cloud Architect



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.
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